Search found 1929 matches

by Jo Morg
Sat May 11, 2024 11:11 am
Forum: CMSMS Core
Topic: update to 2.2.20 systeminfo mysql with red x (error)
Replies: 4
Views: 130

Re: update to 2.2.20 systeminfo mysql with red x (error)

For the moment you can safely disregard that particular red mark. Typically we make the choice to limit as both minimum and recommended the most recent stable versions of the branches we tested. That is the safest assessment not necessarily the lower nor upper limit of the versions that may work wit...
by Jo Morg
Sat May 11, 2024 10:10 am
Forum: CMSMS Core
Topic: Blog posts disappeared?
Replies: 5
Views: 139

Re: Blog posts disappeared?

So I think... This is not "it looks like a bug related to a fix for newer php versions", - but rather a lack of serious testing and insufficient verification. - The release of this version despite the fact that numerous problems had been reported and not corrected prior to this release. Y...
by Jo Morg
Fri May 03, 2024 2:55 pm
Forum: CMSMS Core
Topic: only {content} tag support from v2.2.0?
Replies: 9
Views: 346

Re: only {content} tag support from v2.2.0?

creopard wrote: Fri May 03, 2024 2:52 pmI guess there might be an issue with the "global" scope?
Possibly, thanks for sharing! We'll dig a bit more in the meantime.
Thx again!
by Jo Morg
Fri May 03, 2024 1:56 pm
Forum: CMSMS Core
Topic: only {content} tag support from v2.2.0?
Replies: 9
Views: 346

Re: only {content} tag support from v2.2.0?

If you have any possibility send me (via PM if you will) a test case. I'll try to reproduce it, thx.
by Jo Morg
Fri May 03, 2024 12:13 pm
Forum: CMSMS Core
Topic: only {content} tag support from v2.2.0?
Replies: 9
Views: 346

Re: only {content} tag support from v2.2.0?

Do you have any errors or warnings in either PHP error log or even admin log of CMSMS? There has been some reports of a different behavior of the {content ...} block with inherited templates and we are investigating the issue. It looks like a Smarty change but it may also be at the CMSMS parser leve...
by Jo Morg
Tue Apr 30, 2024 12:26 pm
Forum: CMSMS Core
Topic: Smarty Updates
Replies: 6
Views: 4281

Re: Smarty Updates

It looks non disruptive enough to warrant a replacement, I'll probably do it if nothing else breaks. Thanks for the heads up.
by Jo Morg
Fri Apr 26, 2024 2:15 pm
Forum: Modules/Add-Ons
Topic: LISE Smarty tag in an UDT
Replies: 4
Views: 689

Re: LISE Smarty tag in an UDT

I suspect that's the apache access log, not the php error log
by Jo Morg
Fri Apr 26, 2024 1:51 pm
Forum: Modules/Add-Ons
Topic: LISE Smarty tag in an UDT
Replies: 4
Views: 689

Re: LISE Smarty tag in an UDT

I have an UDT which gets data from one LISE Instance while presave to another LISE Instance, but it's not working (Server Error 500) [...] Maybe an UDT with a LISE instance presaving to another LISE instance is not possible? First of all check your PHP error log, a Server Error 500 is a PHP issue a...
by Jo Morg
Wed Apr 03, 2024 12:26 pm
Forum: CMSMS Core
Topic: Plugin 'smarty_cms_function_cms_action_url' not callable
Replies: 4
Views: 371

Re: Plugin 'smarty_cms_function_cms_action_url' not callable

The only reason I can think of for that error to be triggered is for the <site_root>lib/plugins/function.cms_action_url.php to be missing or corrupted. Please check if that file is there or do a site checksum on the core files.
by Jo Morg
Wed Mar 20, 2024 11:24 pm
Forum: Modules/Add-Ons
Topic: Passing Default values to FormBuilder Multiselect
Replies: 7
Views: 43422

Re: Passing Default values to FormBuilder Multiselect

if you move away from the form samples (which are there more as generic all purpose templates to make sure the module can be used out of the box) you can do whatever you need, the mantra being to use pure HTML and the provided variables, so that a text input would be something like: <input type=&quo...
by Jo Morg
Wed Jan 17, 2024 11:16 am
Forum: Modules/Add-Ons
Topic: LISE & UDT - Get previous item's id
Replies: 7
Views: 998

Re: LISE & UDT - Get previous item's id

Absolutely, go with what works for you and your client. Babysit it for a while to see if there are any drawbacks, but if not, it's golden.
And you are welcome! 8)
by Jo Morg
Tue Jan 16, 2024 3:52 pm
Forum: Modules/Add-Ons
Topic: Cannot update FormBuilder to versio 1.2
Replies: 2
Views: 468

Re: Cannot update FormBuilder to versio 1.2

It's a bug in the XML generator used to create that installation file. I'll be solved in next release but for now, you can grab the archive from the forge and extract the files overwriting the already installed FormBuilder. The missing files should be there from that point on.
by Jo Morg
Tue Jan 16, 2024 12:47 pm
Forum: Modules/Add-Ons
Topic: LISE & UDT - Get previous item's id
Replies: 7
Views: 998

Re: LISE & UDT - Get previous item's id

Well, usually everything depends on the job requirements and the reliability of an algorithm. Databases don't usually recreate ids based on whether you delete a record or not for a number of reasons: 1 - the counter auto-increments in a way that reliably generates UNIQUE ids; 2 - it's totally agnost...
by Jo Morg
Fri Jan 12, 2024 11:51 am
Forum: Modules/Add-Ons
Topic: LISE & UDT - Get previous item's id
Replies: 7
Views: 998

Re: LISE & UDT - Get previous item's id

Code: Select all


    # $db = \cms_utils::get_db(); // may or may not be needed...
  
    $query = 'SELECT MAX(item_id) FROM '
             . \cms_db_prefix()
             . 'module_' . $mod->_GetModuleAlias() . '_item';
    
    $last_id = (int)$db->GetOne($query);

That should work. Have fun!
by Jo Morg
Wed Jan 10, 2024 1:40 pm
Forum: Modules/Add-Ons
Topic: UDT Display Child Pages
Replies: 4
Views: 604

Re: UDT Display Child Pages

Glad you figured it out. Thanks for posting it back to the community. 8)

Go to advanced search