View Single Post
  #2  
Old 02-19-2008, 02:40 PM
 
MarketAide Services, Inc. MarketAide Services, Inc. is offline
 

Newbie
  
Join Date: Oct 2007
Posts: 9
 

Default Re: what is skin1.conf [] global

More details why Im asking :

On my home.php (entry point) page, using webmaster mode, there is a reference to main/include_js.tpl. In the file main/include_js.tpl, there is a variable called $template_dir. My goal is to find out where $template_dir is defined. (Yes I know, why bother. I just gotta know how this all works. =) ) So we have this line in main/include_js.tpl :

{include_php file="`$template_dir`/`$src`"}

So I go back to webmaster mode and notice include_js.tpl is included by meta.tpl. Maybe $template_dir is passed from there? Sso I open up meta.tpl and look. I find :

{include file="main/include_js.tpl" src="common.js"}

I think this is where $src is defined, but I cant fint a reference to template_dir here, so I look higher.

Its not in home.tpl, presets_js.tpl, or skin1.conf.

So, where is $template_dir defined?
__________________
X-Cart Pro 4.1.8
Windows 2003 Server, IIS6, PHP5.2.4 MySQL5.0.45
Reply With Quote