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

How to assign associated array inside the template?

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


Joined: 26 Sep 2010
Posts: 1

PostPosted: Sun Sep 26, 2010 2:39 pm    Post subject: How to assign associated array inside the template? Reply with quote

Hello everyone!
I want to assign associated array inside the template. How can i do this?
The aim is to fill <meta>, <link>, <title. and other tegs inside any template, which i will use. For ex. to make keywords fields just in any template. I hope smarty can do this...
P.S.: Sorry about my english)))
Back to top
View user's profile Send private message
epnb
Smarty Rookie


Joined: 24 Sep 2014
Posts: 8

PostPosted: Wed Sep 24, 2014 12:03 pm    Post subject: Reply with quote

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
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Smarty Forum Index -> Smarty Development 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