Search found 3483 matches

by velden
Tue May 21, 2024 9:20 am
Forum: Modules/Add-Ons
Topic: SmartForms and Mailchimp API
Replies: 14
Views: 184

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: 184

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: 184

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: 184

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: 12
Views: 496

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: 12
Views: 496

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: 12
Views: 496

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: 21475

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: 376

Re: Module Multidomains

Consider using the admin search to find the template:

Extensions > Admin Search
by velden
Tue Mar 19, 2024 3:56 pm
Forum: CMSMS Core
Topic: Save in the DB edited Content without Admin-Panel
Replies: 1
Views: 372

Re: Save in the DB edited Content without Admin-Panel

I don't think it's good practice to do what you do for multiple reasons.
Consider leveraging the existing API's (which I don't know if they exist for your use case). Else walk through the code and check what happens when page content is updated by an admin.
by velden
Tue Mar 19, 2024 2:48 pm
Forum: Modules/Add-Ons
Topic: LISE template / or general question
Replies: 3
Views: 43222

Re: LISE template / or general question

Cool

Maybe you could even move the initial assign outside the loop (again untested):

Code: Select all

{$highdate=0}
{foreach original loop - no extra looping now…
{if ($item->modified_time > $highdate)}{assign highdate value=$item->modified_time}{/if}
{/foreach}
by velden
Tue Mar 19, 2024 12:14 pm
Forum: Modules/Add-Ons
Topic: LISE template / or general question
Replies: 3
Views: 43222

Re: LISE template / or general question

I'd expect the modified_time can already be compared without coverting it to a string. Converting it to a string probably is the reason why you can't use {$highdate|date_format:'%d.%m.%Y'} I wanted to write a "last updated on" (German date, which is bad to sort by) at the very end of the L...
by velden
Mon Mar 11, 2024 1:51 pm
Forum: Modules/Add-Ons
Topic: LISE Custom Search Template
Replies: 2
Views: 43988

Re: LISE Custom Search Template

I would try to save the actionid to a custom variable at the very start of your template.
I expect the actionid to be overwritten when you call LISE from inside your template.
by velden
Thu Feb 01, 2024 8:37 am
Forum: General Discussion
Topic: [Solved] Private messages BUG
Replies: 16
Views: 2799

Re: Private messages BUG

Thanks for reporting back.
by velden
Thu Feb 01, 2024 8:04 am
Forum: General Discussion
Topic: [Solved] Private messages BUG
Replies: 16
Views: 2799

Re: Private messages BUG

Done.
Could you please try again and report back whether it solved your problem?

Thx

Go to advanced search