Search found 3479 matches

by velden
Tue May 07, 2024 1:20 pm
Forum: Modules/Add-Ons
Topic: NEWS MODULE - different output based on category
Replies: 7
Views: 106

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: 7
Views: 106

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: 7
Views: 106

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

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

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

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

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

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

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

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

Re: Private messages BUG

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

Thx
by velden
Wed Jan 31, 2024 1:14 pm
Forum: Modules/Add-Ons
Topic: individual image size for each subgallery
Replies: 2
Views: 25129

Re: individual image size for each subgallery

I guess that's where SmartImage comes into play http://dev.cmsmadesimple.org/projects/smartimage
by velden
Tue Jan 30, 2024 10:58 am
Forum: General Discussion
Topic: [Solved] Private messages BUG
Replies: 16
Views: 2678

Re: Private messages BUG

Yes, I understand.

I have the possibility to empty your outbox. But I want you to confirm that's ok.
Perhaps it will solve the problem for you (no guarantee).
by velden
Fri Jan 26, 2024 11:27 am
Forum: General Discussion
Topic: [Solved] Private messages BUG
Replies: 16
Views: 2678

Re: Private messages BUG

I can empty your outbox. Is that OK?
by velden
Thu Jan 25, 2024 9:13 pm
Forum: General Discussion
Topic: [Solved] Private messages BUG
Replies: 16
Views: 2678

Re: Private messages BUG

Could you please try again.

Feel free to drop me an email if things still don't work.

Go to advanced search