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

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


Joined: 04 Sep 2013
Posts: 3

PostPosted: Wed Sep 04, 2013 1:00 pm    Post subject: Smarty Custom directories? Reply with quote

I'm making a forum, and using Smarty as the template engine. Is it possible to use custom directories? I added it to the init.php file which I include in every page.

I'm using
styles/
styles_c/
inc/
cache/

The code for init.php: https://github.com/XAOS-Interactive/IceBB/blob/master/inc/init.php

Will Smarty work with the way I have it setup? Is there a way to set a plugins directory for Smarty?
Back to top
View user's profile Send private message
mohrt
Administrator


Joined: 16 Apr 2003
Posts: 7276
Location: Lincoln Nebraska, USA

PostPosted: Wed Sep 04, 2013 2:33 pm    Post subject: Reply with quote

Yes, this is all explained in the installation section of the documentation.
Back to top
View user's profile Send private message Visit poster's website
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