X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   what is skin1.conf [] global (https://forum.x-cart.com/showthread.php?t=37694)

MarketAide Services, Inc. 02-19-2008 02:21 PM

what is skin1.conf [] global
 
Is it a dumping ground for all global variables?

MarketAide Services, Inc. 02-19-2008 02:40 PM

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?

cflsystems 02-19-2008 05:04 PM

Re: what is skin1.conf [] global
 
smarty.php in your root folder I think


All times are GMT -8. The time now is 11:22 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.