Author |
Message |
Topic: How to assign associated array inside the template? |
epnb
Replies: 1
Views: 9835
|
Forum: Smarty Development Posted: Wed Sep 24, 2014 12:03 pm Subject: How to assign associated array inside the template? |
Hello,
Sorry for resurfacing this deeply buried topic, but I found it, unresolved, and then I found the answer here :
http://stackoverflow.com/questions/8929140/create-an-array-in-smarty-template |
Topic: Weekdays from date |
epnb
Replies: 1
Views: 4157
|
Forum: General Posted: Wed Sep 24, 2014 10:24 am Subject: Weekdays from date |
The best is to invoke a PHP method that will do the job.
Smarty is best at rendering, not at functionnal performing
Here are samples :
www.smarty.net/docsv2/en/language.modifiers.tpl |
Topic: Defer parsing scripts |
epnb
Replies: 1
Views: 6106
|
Forum: General Posted: Wed Sep 24, 2014 10:22 am Subject: Defer parsing scripts |
Take a look at :
http://www.feedthebot.com/pagespeed/defer-loading-javascript.html
you will need {literal}{/literal} from part to part of the inline javascript. |
Topic: YouTube VideoID |
epnb
Replies: 1
Views: 4523
|
Forum: General Posted: Wed Sep 24, 2014 10:20 am Subject: YouTube VideoID |
Your message is missing some crucial information.
Which YouTube Video ID ?
It looks like you are not building your application from scrach and may use a PHP CMS that is using smarty ?
Basica ... |
Topic: Javascript function availability |
epnb
Replies: 1
Views: 4494
|
Forum: General Posted: Wed Sep 24, 2014 10:18 am Subject: Javascript function availability |
Hello Klintistwood,
This behaviour is perfectly expected. The document ready method register the "click" method only at first load of the page before any ajax call.
You need to invoke ... |
Topic: Submitting Selection problem |
epnb
Replies: 1
Views: 4020
|
Forum: General Posted: Wed Sep 24, 2014 10:16 am Subject: Re: Submitting Selection problem |
I have selected some options from
<selection name=A
Why A[] and B[] ?
What language are you using on server side ?
What does your form markups look like ? |
Topic: Debug Smarty on PrestaShop |
epnb
Replies: 4
Views: 12902
|
Forum: General Posted: Wed Sep 24, 2014 10:10 am Subject: Debug Smarty on PrestaShop |
There is probably an error in your template source code. Can you post it ?
Take also a look to :
http://www.smarty.net/forums/viewtopic.php?t=18990 |
Topic: Howto enable debug in Prestashop ? |
epnb
Replies: 4
Views: 30202
|
Forum: General Posted: Wed Sep 24, 2014 10:09 am Subject: Howto enable debug in Prestashop ? |
I found this post while searching for the same debug option.
you can also add "?SMARTY_DEBUG" in the URL if debugging_ctrl is set to URL, which is the default behaviour in Prestashop 1.4
... |
|