Search found 411 matches

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: 1618

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: 1036

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...
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: 1048

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: 5169

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: 5169

$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: 4607

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: 4607

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: 1127

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: 4493

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: 4493

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: 4493

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 "AddGroup...
by rotezecke
Wed Apr 28, 2021 2:32 am
Forum: Modules/Add-Ons
Topic: LISE categories and pagination
Replies: 2
Views: 1127

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_...
by rotezecke
Mon Apr 26, 2021 4:38 am
Forum: Modules/Add-Ons
Topic: cms_module_hint vs xt_module_hint
Replies: 1
Views: 786

cms_module_hint vs xt_module_hint

I just installed MAMS which then also installed CMSMSExt (and SmartyExt). The MAMS help refers to {xt_module_hint} which I believe comes with CMSMSExt. However, {cms_module_hint} ships with the core and seems to do the same job? I suppose I could have asked this years ago when i first spotted {cge_m...
by rotezecke
Sun Mar 28, 2021 10:08 pm
Forum: Developers Discussion
Topic: GetArray with $inputarr
Replies: 4
Views: 9559

Re: GetArray with $inputarr

Thanks, so each element in my argument array stands for a ? in the SQL? So there will only ever be one result set. That is different to what I assumed it to be. Thanks for clearing this up.

Go to advanced search