Search found 3476 matches
- Mon May 01, 2023 7:14 am
- Forum: CMSMS Core
- Topic: how to use the accesskey
- Replies: 2
- Views: 3003
Re: how to use the accesskey
May this helps: https://www.w3schools.com/tags/att_global_accesskey.asp
- Wed Apr 19, 2023 5:54 pm
- Forum: Modules/Add-Ons
- Topic: Lise sort elements by year and by date and show year
- Replies: 5
- Views: 704
Re: Lise sort elements by year and by date and show year
If the items are sorted by date (so also by year) this should work I think (untested): {$year=''} {foreach from=$items item=item} {if $year != $item->fielddefs.datepubli->value|date_format:"%Y"} {$year == $item->fielddefs.datepubli->value|date_format:"%Y"} {if !$item@first}</ul>{...
- Wed Apr 19, 2023 5:00 pm
- Forum: Modules/Add-Ons
- Topic: Lise sort elements by year and by date and show year
- Replies: 5
- Views: 704
Re: Lise sort elements by year and by date and show year
BTW: You may want to check this LISE help: (optional) orderby = item_position - You can order by any of the following columns: item_id, item_title, item_position, item_created, category_id, category_name, category_position, category_hierarchy, rand and also by custom fields with custom_* (* would be...
- Wed Apr 19, 2023 4:43 pm
- Forum: Modules/Add-Ons
- Topic: Lise sort elements by year and by date and show year
- Replies: 5
- Views: 704
Re: Lise sort elements by year and by date and show year
In this scenario (and I think it doesn't really sort by the whole date, just the year) you will need to use a little more logic: {for $tostart=$yet;$tostart>=$mylast;$tostart--} {$foundItem=false} {foreach from=$items item=item} {if $item->fielddefs.uploadsbrak!= ''} {if !$foundItem} <h4 class="...
- Wed Apr 19, 2023 4:34 pm
- Forum: Modules/Add-Ons
- Topic: Lise add custom field value to url template or alias template
- Replies: 4
- Views: 655
Re: Lise add custom field value to url template or alias template
Wouldn't it be possible to do it using some UDT logic and an event?
- Fri Mar 31, 2023 2:48 pm
- Forum: Dutch - Nederlands
- Topic: Metatags - Pagina specifieke metadata - CMS Made Simple - Copyright
- Replies: 3
- Views: 3222
Re: Metatags - Pagina specifieke metadata - CMS Made Simple - Copyright
De tag {metadata} in page templates zorgt ervoor dat de betreffende metadata per pagina én de globale worden meegenomen.
In sommige gevallen wil je showbase parameter gebruiken.
https://docs.cmsmadesimple.org/tags/cms ... tadata-tag
In sommige gevallen wil je showbase parameter gebruiken.
https://docs.cmsmadesimple.org/tags/cms ... tadata-tag
- Thu Mar 16, 2023 7:49 pm
- Forum: Layout and Design (CSS & HTML)
- Topic: Create template/layout from UDT.
- Replies: 2
- Views: 3141
Re: Create template/layout from UDT.
I don't know why you want to do this but it's more complex than the old GCBs.
You could have a look at modules\DesignManager\action.admin_edit_template.php
It may give you some hints as where to start with your code.
You could have a look at modules\DesignManager\action.admin_edit_template.php
It may give you some hints as where to start with your code.
- Thu Mar 09, 2023 4:38 pm
- Forum: Modules/Add-Ons
- Topic: formbuilder error 500
- Replies: 5
- Views: 924
Re: formbuilder error 500
Be aware that uninstalling a module will also remove all its data (the forms in this case).
- Wed Mar 08, 2023 3:17 pm
- Forum: CMSMS Core
- Topic: make "none" the default for parent pages for Editors group
- Replies: 1
- Views: 744
Re: make "none" the default for parent pages for Editors group
Briefly discussed: A workaround could be to create a Section Header in the root and add the appropriate users/groups. Move all your content one level up (under the new Section Header). Change Navigator parameters and possibly templates accordingly (start_level and such). Caveat: if your templates or...
- Tue Feb 07, 2023 9:50 pm
- Forum: The Lounge
- Topic: Endless scrolling breaks self links
- Replies: 1
- Views: 6924
Re: Endless scrolling breaks self links
Realize that the scroll solution is based on javascript en cms_selflink is Smarty/PHP.
It should be possible to work with cms_selflinks.
But, a link to the problem site would be very helpful.
It should be possible to work with cms_selflinks.
But, a link to the problem site would be very helpful.
- Tue Feb 07, 2023 9:45 pm
- Forum: Modules/Add-Ons
- Topic: ReviewManager Support Page (CGFeedback fork)
- Replies: 10
- Views: 2430
Re: ReviewManager Support Page (CGFeedback fork)
First guess: ModSecurity on your server is preventing this. Try disabling it or add an exception
- Tue Feb 07, 2023 1:14 pm
- Forum: Modules/Add-Ons
- Topic: Make module Image Compressor work again in CMSMS 2.2.x?
- Replies: 5
- Views: 3870
Re: Make module Image Compressor work again in CMSMS 2.2.x?
Better use the fork SmartImage now as CGSmartImage is abandonwaremanuel wrote: ↑Tue Feb 07, 2023 12:52 pm Don't know about fixing it but for processing images I use CGSmartImage
Maybe you can use it as an alternative solution?
- Wed Feb 01, 2023 6:13 pm
- Forum: CMSMS Core
- Topic: Code highlight using Event Manager
- Replies: 5
- Views: 905
Re: Code highlight using Event Manager
It now works because you save your result to the $params['content'] (via the referring $html variable).
The UDT should not return anything in this case. So should not be needed
The Event Manager passes a reference to the content (via $params['content']).
The UDT should not return anything in this case. So
Code: Select all
return $html;
The Event Manager passes a reference to the content (via $params['content']).
- Wed Feb 01, 2023 1:54 pm
- Forum: CMSMS Core
- Topic: Code highlight using Event Manager
- Replies: 5
- Views: 905
Re: Code highlight using Event Manager
I suppose you don't want to return the value but save it to $param['content'];
- Fri Jan 27, 2023 11:56 am
- Forum: Modules/Add-Ons
- Topic: Module Manager Page missing after update
- Replies: 2
- Views: 1069
Re: Module Manager Page missing after update
Probably one of the modules is causing this behavior. I suspect a CG module You can try to rename the module folders (on the filesystem) E.g. an underscore. _CGBlog _CGExtensions _CGSimpleSmarty _JQueryTools _MenuManager _ThemeManager That will disable the module and probably give you access to the ...