Smarty Forum Index Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon.

Search found 22 matches
Smarty Forum Index
Author Message
  Topic: <script language> help
idle0ne

Replies: 0
Views: 3405

PostForum: General   Posted: Sun May 02, 2004 1:08 am   Subject: <script language> help
i am trying to use javascript in my tpl files however i have my menu setup exactly as opencube says to do so and it wont work in my smarty template. it works in normal html files however.

here is ...
  Topic: Base Path
idle0ne

Replies: 16
Views: 79747

PostForum: Smarty Development   Posted: Sun Oct 26, 2003 8:56 pm   Subject: Base Path
Wow,

thanks for that bit of code, i am not sure i understand it 100% buyt i am gonna analyze it and try Smile
  Topic: Base Path
idle0ne

Replies: 16
Views: 79747

PostForum: Smarty Development   Posted: Fri Oct 17, 2003 12:22 pm   Subject: Base Path
Hello Everyone,

i am trying to use smarty and i need to be able to dynamically get the base path for a site. Here is my directory structure

/index.php
/includes/global.php
/includes/all cl ...
  Topic: Curiosity: Anyone tried to modify phpBB to use Smarty?
idle0ne

Replies: 18
Views: 49079

PostForum: Smarty Development   Posted: Fri Oct 17, 2003 3:12 am   Subject: Curiosity: Anyone tried to modify phpBB to use Smarty?
can't seem to get your bb to install

i installed the files to mybb/
and when i call localhost/mybb/install.php it says can't find the file, yet the file is there Smile

not sure how i can use this ...
  Topic: Comercial Use
idle0ne

Replies: 6
Views: 14472

PostForum: Smarty Development   Posted: Fri Oct 17, 2003 1:35 am   Subject: Comercial Use
well i am going to start out by offering them for free and once i have A LOT of time invested and a lot of features i may go comercial with them and at that time i will get a lawyer to read over smart ...
  Topic: Including Other TPL Files
idle0ne

Replies: 15
Views: 37319

PostForum: Smarty Development   Posted: Fri Oct 17, 2003 1:29 am   Subject: Including Other TPL Files
WOOOOHOOOOO I got it to work FINALLY

thanks for all the help Smile
  Topic: Including Other TPL Files
idle0ne

Replies: 15
Views: 37319

PostForum: Smarty Development   Posted: Fri Oct 17, 2003 1:24 am   Subject: Including Other TPL Files
ok here is how i have it set now and it sorta works

$this->_smarty->template_dir = $this->_site->_settings->_site_root."/theme/".$this->_site->_user->_theme;

that echo's ...
  Topic: Including Other TPL Files
idle0ne

Replies: 15
Views: 37319

PostForum: Smarty Development   Posted: Thu Oct 16, 2003 11:06 pm   Subject: Including Other TPL Files
exactly but i can't seem to get it to work lol
  Topic: Including Other TPL Files
idle0ne

Replies: 15
Views: 37319

PostForum: Smarty Development   Posted: Thu Oct 16, 2003 10:55 pm   Subject: Including Other TPL Files
i qm confused lol here's my dir structure

base/
base/theme/
base/theme/default/
base/smarty/

and i have smarty's template var pointing to base/theme/default, do i not???

i am confused as t ...
  Topic: Including Other TPL Files
idle0ne

Replies: 15
Views: 37319

PostForum: Smarty Development   Posted: Thu Oct 16, 2003 10:27 pm   Subject: Including Other TPL Files
wait i already have that set Smile

$this->_smarty->template_dir = $site->_settings->theme;

$site->_settings->theme = themes/default/
  Topic: Including Other TPL Files
idle0ne

Replies: 15
Views: 37319

PostForum: Smarty Development   Posted: Thu Oct 16, 2003 10:27 pm   Subject: Including Other TPL Files
is it searching /smarty/templates/

??

if so how can i change that to make it search /themes/default/
  Topic: Comercial Use
idle0ne

Replies: 6
Views: 14472

PostForum: Smarty Development   Posted: Thu Oct 16, 2003 10:26 pm   Subject: Comercial Use
thanks i will await and see if monty posts at all, but i thank you cause when i read that LGPL i didn't understand a word of it LOL
  Topic: Smarty class/function reference is here
idle0ne

Replies: 13
Views: 33579

PostForum: Smarty Development   Posted: Thu Oct 16, 2003 10:09 pm   Subject: Smarty class/function reference is here
looks very usefull thanks
  Topic: Curiosity: Anyone tried to modify phpBB to use Smarty?
idle0ne

Replies: 18
Views: 49079

PostForum: Smarty Development   Posted: Thu Oct 16, 2003 10:06 pm   Subject: Curiosity: Anyone tried to modify phpBB to use Smarty?
yeah i saw that afterwards Smile
  Topic: Including Other TPL Files
idle0ne

Replies: 15
Views: 37319

PostForum: Smarty Development   Posted: Thu Oct 16, 2003 10:06 pm   Subject: Including Other TPL Files
right now the way they are being called is like so

$theme_dir = themes/default/

so it is calling like this when evaluated

{include file="themes/default/navmenu.tpl"}

but for some odd reaso ...
 
Page 1 of 2 Goto page 1, 2  Next
All times are GMT
Jump to:  


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