Search found 398 matches

by rotezecke
Thu Sep 16, 2021 12:38 am
Forum: Modules/Add-Ons
Topic: SmartImage - not working for me
Replies: 16
Views: 392

Re: SmartImage - not working for me

Could you elaborate on "Explicitly set the memory limit in the config file" please?
I am having the same experience, no output, no error. thats a straight conversion from CGSmartImage to SmartImage. The former works fine, the latter does not (regardless of path). Thanks
by rotezecke
Wed Sep 15, 2021 5:40 am
Forum: Modules/Add-Ons
Topic: SmartImage - not working for me
Replies: 16
Views: 392

Re: SmartImage - not working for me

Same issue here. Nothing in PHP error log (PHP 7.4.xx). Admin log shows: Could not find a file at: uploads/images/DSC_0011.JPG Edit: actually, there's also a notice in PHP error log: Could not find a file at: uploads/images/DSC_0011.JPG in /var/www/public_html/modules/SmartImage/action.default.php o...
by rotezecke
Mon Aug 30, 2021 1:26 am
Forum: Modules/Add-Ons
Topic: MAMS - some users need to log in regularly
Replies: 0
Views: 175

MAMS - some users need to log in regularly

I use MAMS for company employees and it works well for all those who sit at a desk all day. however, some are actually moving around (in vehicles) and they regularly get logged out. i can see in the logs repeated and consecutive logins (without a logout, over a few minutes) from our mobile users. I ...
by rotezecke
Thu Aug 26, 2021 2:22 pm
Forum: CMSMS Core
Topic: Error if article text is longer than 4000 words - News Module
Replies: 1
Views: 349

Re: Error if article text is longer than 4000 words - News Module

I think the column type is "text" which has a maximum length of 65,535 bytes. https://stackoverflow.com/questions/6766781/maximum-length-for-mysql-type-text if you are familiar with SQL, you could modify the column. i would expect that future module updates will not change this back. it is however a...
by rotezecke
Fri Aug 13, 2021 8:15 am
Forum: CMSMS Core
Topic: Odd issue with CSS in CMSMS 2.2.8
Replies: 2
Views: 429

Re: Odd issue with CSS in CMSMS 2.2.8

maybe the stylesheet was too long, and cropped on save? which would explain why it still wouldnt work when you removed the newly added lines again.
by rotezecke
Thu May 20, 2021 11:41 pm
Forum: Developers Discussion
Topic: $content_obj->ValidateData() returns error when it should not
Replies: 2
Views: 1000

Re: $content_obj->ValidateData() returns error when it should not

Thanks velden. my debugging did not go so well, but resulted in a funny twist. while trying to figure out why the get_content_blocks would fail, I discovered ! CheckAliasError(); $contentops = cmsms()->GetContentOperations(); if(! $contentops->CheckAliasError($newfieldname)) { ...create page } also ...
by rotezecke
Fri May 14, 2021 11:15 pm
Forum: Developers Discussion
Topic: $content_obj->ValidateData() returns error when it should not
Replies: 2
Views: 1000

$content_obj->ValidateData() returns error when it should not

my plugin that creates pages on the fly is coming along but it has at least one flaw. The code to create the page is pretty much a clone from the admin page. However, I am setting the alias ... $content_obj->SetAlias($newfieldname); $newfieldname is a MAMS property, just been tested whether or not i...
by rotezecke
Sun May 09, 2021 5:22 am
Forum: Developers Discussion
Topic: CmsContentManagerUtils from frontend plugin
Replies: 3
Views: 567

Re: CmsContentManagerUtils from frontend plugin

still dont know how to call CmsContentManagerUtils but this works:

Code: Select all

$cntMgr = \cms_utils::get_module('CMSContentManager');
$tmp = $cntMgr->GetPreference('page_prefs');
if( $tmp ) $pagedefaults = unserialize($tmp);
by rotezecke
Thu May 06, 2021 11:24 pm
Forum: Developers Discussion
Topic: CmsContentManagerUtils from frontend plugin
Replies: 3
Views: 567

CmsContentManagerUtils from frontend plugin

I am working on a plugin (used in a content page, with limited access by a MAMS group) that is supposed to create a content page on the fly. $contentops = cmsms()->GetContentOperations(); //this line does not work: $pagedefaults = CmsContentManagerUtils::get_pagedefaults(); $content_obj = $contentop...
by rotezecke
Wed May 05, 2021 11:31 pm
Forum: Modules/Add-Ons
Topic: LISE categories and pagination
Replies: 2
Views: 515

Re: LISE categories and pagination

Thanks for your response. I'm afraid, pretty URLs are a requirement. i have since settled for what I have, pagination is on without category filter, or pagination is off with category filter. Which is exactly what I had with CGBlog, I just hoped I could have taken LISE further, but it was not a requ...
by rotezecke
Mon May 03, 2021 4:45 am
Forum: Developers Discussion
Topic: MAMS SetUserPropertyFull
Replies: 2
Views: 535

Re: MAMS SetUserPropertyFull

found it. i added

Code: Select all

$mod->ClearPropertyCache();
$mod->_cache_propertydefns();
and now it creates the empty fields.
by rotezecke
Mon May 03, 2021 4:36 am
Forum: Developers Discussion
Topic: MAMS SetUserPropertyFull
Replies: 2
Views: 535

Re: MAMS SetUserPropertyFull

I think the difference is in the GetPropertyDefns() method. The SetUserPropertyFull() checks the existance of the property via GetPropertyDefns(). In FEU3, that check is a database query. In MAMS, it checks the cache. As I have just created that property, it is not cached, and then fails. Can I add ...
by rotezecke
Mon May 03, 2021 4:25 am
Forum: Developers Discussion
Topic: MAMS SetUserPropertyFull
Replies: 2
Views: 535

MAMS SetUserPropertyFull

I just rolled back from FEU 3.2.2 on a CMSMS 2.2.15 to MAMS 1.0. on PHP7.4 I have one frontend form where a member of an FEU user group could add properties to another FEU user group and instantly fill that property with an empty value for ALL users of that group. I managed to fix the "AddGroupPrope...
by rotezecke
Wed Apr 28, 2021 2:32 am
Forum: Modules/Add-Ons
Topic: LISE categories and pagination
Replies: 2
Views: 515

LISE categories and pagination

Trying to build my old blog in LISE. I call my categories {LISEcgblog action="category" orderby="category_id"} which prints an <ul> in a side div. <ul class="nopane"> <li>{cms_selflink class="{if empty({$category->category_id})}current{/if}" page="{$page_alias}" title="All Categories" text="<span>Al...

Go to advanced search