Search found 3475 matches

by velden
Fri Sep 22, 2023 6:53 am
Forum: Modules/Add-Ons
Topic: Translating LISE item detail view
Replies: 8
Views: 1224

Re: Translating LISE item detail view

If those LISE details urls are the only urls ending in the two character language string then you can generalize the rule.

RewriteRule ^([^/]+)/(.*?)-((en|nl|fr|de))$ /$1/$2?lang=$3 [QSA,L]

Or come up with a detail url format you know will be unique.
by velden
Thu Sep 21, 2023 9:28 pm
Forum: Modules/Add-Ons
Topic: Translating LISE item detail view
Replies: 8
Views: 1224

Re: Translating LISE item detail view

Don't redirect but rewrite.

.htaccess rewrite rule can translate your pretty url to the ugly one ending with ?lang=en while hiding that from the user.
by velden
Thu Sep 21, 2023 1:18 pm
Forum: Modules/Add-Ons
Topic: Translating LISE item detail view
Replies: 8
Views: 1224

Re: Translating LISE item detail view

Another suggestion (thx DIGI3):

Why don't you use the detailpage parameter of LISE to let it generate urls to a language-specific detail page.

E.g. {LISEwhatever detailpage=resource-detail-$lang ...}

You could then keep the detail pages inside the Mle hierarchy.
by velden
Wed Sep 20, 2023 2:52 pm
Forum: Modules/Add-Ons
Topic: Translating LISE item detail view
Replies: 8
Views: 1224

Re: Translating LISE item detail view

So, to summarize, you want a visitor who lands on the resource's detail page in language A to be able to browse to the same resource's detail page in language B? I'm no SEO expert but I think it doesn't make sense to SE's when it finds different content (language) at the same url. Further you may ne...
by velden
Wed Sep 20, 2023 11:30 am
Forum: Modules/Add-Ons
Topic: LISE hide categories with items ran out of date
Replies: 3
Views: 611

Re: LISE hide categories with items ran out of date

Another suggestion which might work well for your case A category template: <!-- categories --> <ul> {foreach from=$categories item=cat} {LISEtest include_items=','|implode:$cat->items assign=out} {if $out != ''} <li class="category-{$cat->alias}"> <a class="category-name" href=&...
by velden
Thu Sep 14, 2023 6:17 pm
Forum: Modules/Add-Ons
Topic: Formbuilder not sending and receiving mail
Replies: 13
Views: 1183

Re: Formbuilder not sending and receiving mail

If you send a test message, it will use the configured From Address configured on that page. However, FormBuilder offers you to send emails (depends on chosen fields and their configuration) to send as if from another email address (typically the address of the visitor filling the form). Many hostin...
by velden
Thu Sep 14, 2023 5:40 pm
Forum: Modules/Add-Ons
Topic: LISE display 1st item in detail mode
Replies: 4
Views: 670

Re: LISE display 1st item in detail mode

Why don't you use the summary action with a pagelimit of 1?
by velden
Mon Aug 21, 2023 11:11 am
Forum: Modules/Add-Ons
Topic: LISE - Very slow template/output
Replies: 5
Views: 1260

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...
by velden
Fri Jul 28, 2023 8:34 pm
Forum: Modules/Add-Ons
Topic: Products modules auto ignore video tag
Replies: 9
Views: 1892

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.
by velden
Fri Jul 28, 2023 2:49 pm
Forum: Modules/Add-Ons
Topic: Products modules auto ignore video tag
Replies: 9
Views: 1892

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...
by velden
Thu Jul 27, 2023 1:03 pm
Forum: Modules/Add-Ons
Topic: Products modules auto ignore video tag
Replies: 9
Views: 1892

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.
by velden
Thu Jun 15, 2023 3:15 pm
Forum: Modules/Add-Ons
Topic: Running UDT with Javascript
Replies: 1
Views: 801

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

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)

Go to advanced search