Search found 3479 matches

by velden
Thu Jun 15, 2023 3:15 pm
Forum: Modules/Add-Ons
Topic: Running UDT with Javascript
Replies: 1
Views: 914

Re: Running UDT with Javascript

Simple solution would be to create a hidden page, put the UDT tag in the default content and then use ajax to call the page with (extra) query parameter: showtemplate=false You probably will have to take care of the mime type which is used to return the data. That should be possible from within the ...
by velden
Wed May 10, 2023 2:49 pm
Forum: Modules/Add-Ons
Topic: LISE subcategories
Replies: 6
Views: 1204

Re: LISE subcategories

The subcategories are display correctly, but clicking on it shows no results.
Could you paste such a link here (preferably one linking to a public version of the site)
by velden
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: 726

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>{...
by velden
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: 726

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...
by velden
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: 726

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="...
by velden
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: 680

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?
by velden
Fri Mar 31, 2023 2:48 pm
Forum: Dutch - Nederlands
Topic: Metatags - Pagina specifieke metadata - CMS Made Simple - Copyright
Replies: 3
Views: 4134

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
by velden
Thu Mar 16, 2023 7:49 pm
Forum: Layout and Design (CSS & HTML)
Topic: Create template/layout from UDT.
Replies: 2
Views: 4039

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.
by velden
Thu Mar 09, 2023 4:38 pm
Forum: Modules/Add-Ons
Topic: formbuilder error 500
Replies: 5
Views: 984

Re: formbuilder error 500

Be aware that uninstalling a module will also remove all its data (the forms in this case).
by velden
Wed Mar 08, 2023 3:17 pm
Forum: CMSMS Core
Topic: make "none" the default for parent pages for Editors group
Replies: 1
Views: 768

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...
by velden
Tue Feb 07, 2023 9:50 pm
Forum: The Lounge
Topic: Endless scrolling breaks self links
Replies: 1
Views: 8629

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.
by velden
Tue Feb 07, 2023 9:45 pm
Forum: Modules/Add-Ons
Topic: ReviewManager Support Page (CGFeedback fork)
Replies: 10
Views: 2556

Re: ReviewManager Support Page (CGFeedback fork)

First guess: ModSecurity on your server is preventing this. Try disabling it or add an exception
by velden
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: 3948

Re: Make module Image Compressor work again in CMSMS 2.2.x?

manuel 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?
Better use the fork SmartImage now as CGSmartImage is abandonware

Go to advanced search