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)
-   -   rectangle_top_cust.tpl vs head.tpl (https://forum.x-cart.com/showthread.php?t=16993)

STORed 09-30-2005 09:13 AM

rectangle_top_cust.tpl vs head.tpl
 
Why do is there another header file besides skin1/head.tpl called rectangle_top_cust.tpl ?

I am trying to have only one include and use only one header throughout the site. For some reason I was able to include my header into head.tpl but am having difficulties achieving the same result when trying to tweak rectangle_top_cust.tpl... 8O

STORed 09-30-2005 09:21 AM

Can someone tell me what does this code do and would I be able to survive without it?

Code:

{ include file="common_js.tpl"}
{if $config.Adaptives.isJS eq '' && $adaptives_action ne ''}
<FORM action="{$adaptives_action}" method="post" name="adaptiveform">
<INPUT type="hidden" name="{$XCARTSESSNAME}" value="{$XCARTSESSID}">
<INPUT type="hidden" name="send_isJS" value="Y">
<INPUT type="hidden" name="send_browser" id="send_browser" value="">
</FORM>
<SCRIPT type="text/javascript" language="JavaScript 1.2">
{include file="browser_identificator_js.tpl"}
document.getElementById('send_browser').value = browser_identificator();
document.adaptiveform.submit();
</SCRIPT>
{/if}


STORed 10-04-2005 12:09 PM

I'm trying to include one header throughout the site. I stripped my head.tpl to look like this:

Code:

{ include file="/incl/header.php" }

Works great, but now I see there's a bunch of pages that use rectangle_top_cust.tpl

Now, no matter what i do with that page, my head does not display. By the way I keep whatever hidden fields with the form and JS snippet.

Any suggestions? :?


All times are GMT -8. The time now is 08:52 AM.

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