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)
-   -   The hardest one ever!!! (https://forum.x-cart.com/showthread.php?t=2159)

John7 04-04-2003 11:57 AM

The hardest one ever!!!
 
The hardest one ever!!!


I need to completely remove the bread crumbs navigation and the dialog name from every page and still have everything else work right.

How can I do this?

Is this the hardest challange yet?

B00MER 04-04-2003 12:04 PM

remove location.tpl or comment out its contents.
restore original if you need it back from skin1_original/

funkydunk 04-04-2003 12:23 PM

may be easier to just blank out the location.tpl file replacing it with an empty template and to alter the dialog.tpl by changing from:

Code:

<TABLE border=0 cellPadding=2 cellSpacing=0 {$extra}>
<TR>
<TD height="20" class=DialogTitle background="{$ImagesDir}/dialog_bg.gif" valign=bottom>{$title}</TD>
</TR>
<TR><TD class=DialogBorder><TABLE border=0 cellPadding=10 cellSpacing=0 width="100%">
<TR><TD class=DialogBox>{$content}

</TD></TR>
</TABLE></TD></TR>
</TABLE>

to
Code:

<TABLE border=0 cellPadding=2 cellSpacing=0 {$extra}>
<TR>
<TD height="20" class=DialogTitle background="{$ImagesDir}/dialog_bg.gif" valign=bottom></TD>
</TR>
<TR><TD class=DialogBorder><TABLE border=0 cellPadding=10 cellSpacing=0 width="100%">
<TR><TD class=DialogBox>{$content}

</TD></TR>
</TABLE></TD></TR>
</TABLE>

easy :wink:

John7 04-04-2003 12:35 PM

Thats right along the line I was thinking.
 
Thats right along the line I was thinking.

I commented out the areas you deleted.

Here is what my code ended up looking like for the dialog.tpl


Code:

{* $Id: dialog.tpl,v 1.14 2002/10/22 10:27:05 olga Exp $ *}
<TABLE border=0 cellPadding=2 cellSpacing=0 {$extra}>
{*<TR> *}
{*<TD height="20" class="contents-blue" valign=bottom>{$title}</TD> *}
{*</TR> *}
<TR><TD class="contents-blue"><TABLE border=0 cellPadding=10 cellSpacing=0 width="100%">
<TR><TD class="contents-blue">{$content}
</TD></TR></TABLE></TD></TR></TABLE>


Why did this seem like such a hard ting to do?
It wasnt hard at all.

Thanks for your inspiration.

JOhn


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

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