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

A question

 
Post new topic   Reply to topic    Smarty Forum Index -> General
View previous topic :: View next topic  
Author Message
StevenShelby
Smarty n00b


Joined: 16 Jul 2020
Posts: 1

PostPosted: Thu Jul 16, 2020 8:10 am    Post subject: A question Reply with quote

I want to use an editable grid but am having difficulty understanding how to implement it. I am very new to smarty and am a bit of a hack developer (personal applications ONLY). Must I declare my javascript functions in the template or in the _head?
Back to top
View user's profile Send private message
AnrDaemon
Administrator


Joined: 03 Dec 2012
Posts: 1646

PostPosted: Fri Jul 17, 2020 2:51 pm    Post subject: Reply with quote

Your question really not related to Smarty.
Write your page as it should work, then split it into templates.
For Smarty (and PHP to that extent) all your HTML/JS is merely a stream of bytes.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Smarty Forum Index -> General All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


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