Search found 3484 matches
- Thu Sep 14, 2023 5:40 pm
- Forum: Modules/Add-Ons
- Topic: LISE display 1st item in detail mode
- Replies: 4
- Views: 708
Re: LISE display 1st item in detail mode
Why don't you use the summary action with a pagelimit of 1?
- Mon Aug 21, 2023 11:11 am
- Forum: Modules/Add-Ons
- Topic: LISE - Very slow template/output
- Replies: 5
- Views: 1312
Re: LISE - Very slow template/output
Several solutions/work-arounds come to my mind - Direct SQL. Perhaps not best-practive but using a Smarty template engine for this logic isn't either. - Not sure if the LISE query class could help out here - Using a back reference in the Project items. E.g. a UDT that on the Post-Save event (Event M...
- Fri Jul 28, 2023 8:34 pm
- Forum: Modules/Add-Ons
- Topic: Products modules auto ignore video tag
- Replies: 9
- Views: 2550
Re: Products modules auto ignore video tag
Eval shouldn't be of any help in this case. That's for Smarty, not for disappearing html.
- Fri Jul 28, 2023 2:49 pm
- Forum: Modules/Add-Ons
- Topic: Products modules auto ignore video tag
- Replies: 9
- Views: 2550
Re: Products modules auto ignore video tag
I think I should have started with a warning: the Products module is abandoned bij it's developer. Consider this if starting with this module. Flexibility could be added by using two 'details' fields; one before an optional video and one after. Another option would be to create a UDT (user-defined t...
- Thu Jul 27, 2023 1:03 pm
- Forum: Modules/Add-Ons
- Topic: Products modules auto ignore video tag
- Replies: 9
- Views: 2550
Re: Products modules auto ignore video tag
What about adding a custom field for the Youtube video ID and creating the needed html (iframe, embed, video) in the detail template.
You can make it conditionally (so only if the field has a value).
Think that would have multiple benefits. Like you can change that templated html-code in the future.
You can make it conditionally (so only if the field has a value).
Think that would have multiple benefits. Like you can change that templated html-code in the future.
- Thu Jun 15, 2023 3:15 pm
- Forum: Modules/Add-Ons
- Topic: Running UDT with Javascript
- Replies: 1
- Views: 917
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 ...
- Wed May 10, 2023 2:49 pm
- Forum: Modules/Add-Ons
- Topic: LISE subcategories
- Replies: 6
- Views: 1217
Re: LISE subcategories
Could you paste such a link here (preferably one linking to a public version of the site)The subcategories are display correctly, but clicking on it shows no results.
- Tue May 09, 2023 7:27 pm
- Forum: Modules/Add-Ons
- Topic: LISE subcategories
- Replies: 6
- Views: 1217
- Mon May 01, 2023 7:14 am
- Forum: CMSMS Core
- Topic: how to use the accesskey
- Replies: 2
- Views: 3769
- 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: 731
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: 731
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: 731
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: 684
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: 4348
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: 4240
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.