Smarty Forum Index Smarty
The discussions here are for Smarty, a template engine for the PHP programming language.

Search found 7 matches
Smarty Forum Index
Author Message
  Topic: jQuery and Smarty3 - "Enqueue" Scripts - Best Prac
dbj

Replies: 7
Views: 2737

PostForum: General   Posted: Thu Jan 18, 2018 8:33 pm   Subject: jQuery and Smarty3 - "Enqueue" Scripts - Best Prac
Read the documentation already. And leave a space between "{" and the following JavaScript code.
No need for a space. Just use {literal}, as the documentation says (maybe just read it).

...
  Topic: SmartyValidate: a simple yet powerful form validation plugin
dbj

Replies: 268
Views: 488971

PostForum: Add-ons   Posted: Thu Jan 18, 2018 8:29 pm   Subject: SmartyValidate: a simple yet powerful form validation plugin
Sorry, I don't want anyone to do anything for me.

Let me rephrase my question: Is someone who reads this using SmartyValidate and if yes, with success or with minor/major problems? (and on which Sm ...
  Topic: SmartyValidate: a simple yet powerful form validation plugin
dbj

Replies: 268
Views: 488971

PostForum: Add-ons   Posted: Thu Jan 18, 2018 1:53 pm   Subject: SmartyValidate: a simple yet powerful form validation plugin
I'm currently evaluating options and have not tried SmartyValidate yet.

That's why I'm asking where the plugin stands in 2018, with the last update released 7 years ago.

Maybe it's working so go ...
  Topic: SmartyValidate: a simple yet powerful form validation plugin
dbj

Replies: 268
Views: 488971

PostForum: Add-ons   Posted: Tue Jan 16, 2018 1:50 pm   Subject: SmartyValidate: a simple yet powerful form validation plugin
Is this plugin still compatible with the latest Smarty 3 version?

Can and shoul it stell be used, are there any known bugs? Are there actually any alternatives?
  Topic: jQuery and Smarty3 - "Enqueue" Scripts - Best Prac
dbj

Replies: 7
Views: 2737

PostForum: General   Posted: Thu Nov 16, 2017 8:56 pm   Subject: jQuery and Smarty3 - "Enqueue" Scripts - Best Prac
It looks like `{block name="..." append}` would be the perfect solution?
  Topic: jQuery and Smarty3 - "Enqueue" Scripts - Best Prac
dbj

Replies: 7
Views: 2737

PostForum: General   Posted: Thu Nov 16, 2017 8:05 pm   Subject: jQuery and Smarty3 - "Enqueue" Scripts - Best Prac
I think you may have misunderstood me.

The current situation (kind of pseudo code):

index.tpl:

<html>
<head>
<script src="jquery.js">
</head>
<body> ...
  Topic: jQuery and Smarty3 - "Enqueue" Scripts - Best Prac
dbj

Replies: 7
Views: 2737

PostForum: General   Posted: Thu Nov 16, 2017 11:04 am   Subject: jQuery and Smarty3 - "Enqueue" Scripts - Best Prac
Hi,

I'm using jQuery on my website. For performance reasons, I would like to load jQuery just before the </body>-Tag. My sub-templates, which are included in the main template, access the jQu ...
 
Page 1 of 1
All times are GMT
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP