Search found 3489 matches

by velden
Sat Sep 28, 2024 10:04 am
Forum: Modules/Add-Ons
Topic: Getting field values from LISE and use in an UDT
Replies: 3
Views: 6562

Re: Getting field values from LISE and use in an UDT

LISE has a very useful api by its own. So you don't need to fiddle around with Smarty templates and calls The sample code below will return all items but of course you change it to do what you need. $mod = cmsms()->GetModuleInstance('LISEyourinstancename'); $parms['pagelimit'] = 1000; $parms['showal...
by velden
Thu Sep 12, 2024 7:19 am
Forum: Modules/Add-Ons
Topic: Count LISE Items
Replies: 5
Views: 2827

Re: Count LISE Items

I think you shouldn't be using a mysqli function on this result.

Check whether this works: https://adodb.org/dokuwiki/doku.php?id= ... ecordcount
by velden
Mon Sep 09, 2024 9:00 am
Forum: Modules/Add-Ons
Topic: canonical tag and google
Replies: 2
Views: 2214

Re: canonical tag and google

Have a look here:
https://cmscanbesimple.org/blog/base-cm ... d-metatags

But also read a little about the use of canonical URLs to understand if the solution suits your/Google's needs.
by velden
Tue Jul 16, 2024 4:06 pm
Forum: Help Wanted (commercial)
Topic: Help with Navigator
Replies: 8
Views: 12862

Re: Help with Navigator

Did you get some offers already? Many users should be able to help you with this as Navigator is the to-go module for a long time now.
by velden
Tue Jun 04, 2024 3:28 pm
Forum: Modules/Add-Ons
Topic: LISE - can't select detail page if its a sub-page
Replies: 8
Views: 4360

Re: LISE - can't select detail page if its a sub-page

You first have to select a parent page, then a new dropdown will appear for the child page (and repeat if necessary)
by velden
Tue May 21, 2024 9:20 am
Forum: Modules/Add-Ons
Topic: SmartForms and Mailchimp API
Replies: 14
Views: 5087

Re: SmartForms and Mailchimp API

Well, if you make sure your Smarty code doesn't output anything on success, other dispositions will continue. PLUS, as stated in the description, the final 'disposition' will be done anyway. I think that makes it possible to show the 'thank you message' regardless of the outcome of the earlier dispo...
by velden
Tue May 21, 2024 9:11 am
Forum: Modules/Add-Ons
Topic: SmartForms and Mailchimp API
Replies: 14
Views: 5087

Re: SmartForms and Mailchimp API

I think you should have a good understanding of the module to use it. Have a look at the help, the Validation tab and the available Handlers. Note that there's a 'POST form results to a URL/WebHook' handler, a 'Stop processing dispositions based on a condition' (it allows Smarty) and a 'Validate via...
by velden
Mon May 20, 2024 2:52 pm
Forum: Modules/Add-Ons
Topic: SmartForms and Mailchimp API
Replies: 14
Views: 5087

Re: SmartForms and Mailchimp API

I don't understand why to use the hidden field. Could you explain it?
by velden
Mon May 20, 2024 12:31 pm
Forum: Modules/Add-Ons
Topic: SmartForms and Mailchimp API
Replies: 14
Views: 5087

Re: SmartForms and Mailchimp API

IIRC you can use a handler with smarty, hence calling a UDT (or plugin) and passing parameters
by velden
Tue May 07, 2024 1:20 pm
Forum: Modules/Add-Ons
Topic: NEWS MODULE - different output based on category
Replies: 15
Views: 12465

Re: NEWS MODULE - different output based on category

Code: Select all

{if $entry->category == 'PressLeft'} ... {else} ... {/if}
by velden
Tue May 07, 2024 10:46 am
Forum: Modules/Add-Ons
Topic: NEWS MODULE - different output based on category
Replies: 15
Views: 12465

Re: NEWS MODULE - different output based on category

Yes, I think easiest is to do all in one template. You can not have multiple templates in one action. However, I think it's possible to include templates. But you would only benefit if re-using those templates in other places. I'm not an layout expert but I guess often some css is used to push/pull ...
by velden
Tue May 07, 2024 7:57 am
Forum: Modules/Add-Ons
Topic: NEWS MODULE - different output based on category
Replies: 15
Views: 12465

Re: NEWS MODULE - different output based on category

Are you sure you want to connect it to a category?
Or better to just switch layout one after the other (left, right, left, right, etc...)?
by velden
Wed Apr 24, 2024 12:27 pm
Forum: Modules/Add-Ons
Topic: Limit amout of submissions in formbuilder
Replies: 2
Views: 22903

Re: Limit amout of submissions in formbuilder

I think that needs a little more clarification.
by velden
Tue Mar 26, 2024 1:47 pm
Forum: Modules/Add-Ons
Topic: Module Multidomains
Replies: 2
Views: 1191

Re: Module Multidomains

Consider using the admin search to find the template:

Extensions > Admin Search

Go to advanced search