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)
-   -   Day for losing things - Help Zone Box (https://forum.x-cart.com/showthread.php?t=30396)

Madhatterr 04-12-2007 01:40 PM

Day for losing things - Help Zone Box
 
Okay,

Two posts... one day. Clearly this one is longer than others. I'm gonna post this, walk away and hopefully later this will have a reply that makes me go *duh* :roll:

Store: http://www.hortonstores.com
Version: 4.0.19

I don't have a Help Zone box on this page. Not sure why or where it went (can't remember if it was not ever in the template or what) but I'd like to get it back so my custom pages can be seen.

Any clues where it may have gone to or how to get it back? Much love, respect, and all that goodness to anyone who can help! I'm gonna go get some caffine now. Break time. *sigh*

dfawdon 04-12-2007 01:44 PM

Re: Day for losing things - Help Zone Box
 
Look in skin1\customer\home.tpl for
Code:

{ include file="help.tpl" }

Madhatterr 04-13-2007 07:31 AM

Re: Day for losing things - Help Zone Box
 
Well, it's not in there. :( I assume either it was never there or at some point (perhaps when I first bought the template) I took it out for some reason?

I tried to add the code in there but all it does is put in the links (no box formating) and they are horizontally listed as opposed to vertically.

I'd like to put it below the Manufacturers in the white space that's there (see: http://www.hortonstores.com to view) Below I've put the code for you to see. Perhaps one of you know how I need to write this to include it properly? *crosses fingers*

Code:

{* $Id: home.tpl,v 1.67.2.10 2005/10/31 11:36:14 max Exp $ *}
{if $printable ne ''}
{include file="customer/home_printable.tpl"}
{else}
{config_load file="$skin_config"}
<HTML>
<HEAD>
<TITLE>
{if $config.SEO.page_title_format eq "A"}
{section name=position loop=$location}
{$location[position].0|escape}
{if not %position.last%} :: {/if}
{/section}
{else}
{section name=position loop=$location step=-1}
{$location[position].0|escape}
{if not %position.last%} :: {/if}
{/section}
{/if}
</TITLE>
{ include file="meta.tpl" }
<LINK rel="stylesheet" href="{$SkinDir}/{#CSSFile_c#}">
{if $js_enabled}
{include file="customer/main/swap_categories_js.tpl"}
{/if}
</HEAD>
<BODY leftmargin="0" topmargin="0" rightmargin="0" bottomargin="0" marginwidth="0" marginheight="0" {if $js_enabled}onLoad="{if $body_onload ne ''}{$body_onload};{/if}MM_preloadImages({section loop=8 name='cat_images'}'{$ImagesDir}/custom/cat_item{$smarty.section.cat_images.iteration}','{$ImagesDir}/custom/cat_itemon{$smarty.section.cat_images.iteration}'{if not $smarty.section.cat_images.last},{/if}{/section});"{/if}>
{assign var="fancy_left" value=9}
{assign var="fancy_width" value=140}
{assign var="fancy_ie_background_color" value="D9E9F5"}
{ include file="rectangle_top.tpl" }
{ include file="head.tpl" }
{if $active_modules.SnS_connector}
{include file="modules/SnS_connector/header.tpl"}
{/if}
<!-- main area -->
<TABLE border="0" width="100%" cellpadding="0" cellspacing="0" align="center">
<TR>
<TD width="6">&nbsp;</TD>
<TD width="165" valign="top">
{if $categories ne "" and ($active_modules.Fancy_Categories ne "" or $config.General.root_categories eq "Y" or $subcategories ne "")}
{ include file="customer/categories.tpl" }
{/if}
{if $active_modules.Bestsellers ne "" and $config.Modules.bestsellers_menu eq "Y"}
{ include file="modules/Bestsellers/menu_bestsellers.tpl" }
{/if}
{if $active_modules.Manufacturers ne "" and $config.Modules.manufacturers_menu eq "Y"}
{ include file="modules/Manufacturers/menu_manufacturers.tpl" }
{/if}
{include file="customer/menu_cart.tpl" }
{if $active_modules.Feature_Comparison ne "" && $comparison_products ne ''}
{ include file="modules/Feature_Comparison/product_list.tpl" }
{/if}
{if $active_modules.Users_online ne "" and $users_online}
{ include file="modules/Users_online/menu_users_online.tpl" }
{/if}
{include file="customer/special.tpl"}
{if $active_modules.Interneka ne ""}
{ include file="modules/Interneka/menu_interneka.tpl" }
{/if}
{include file="news.tpl"}
{if $active_modules.SnS_connector}
<BR>
<DIV align="center">
{include file="modules/SnS_connector/button.tpl"}
</DIV>
{/if}
{ include file="poweredby.tpl" }
<IMG src="{$ImagesDir}/spacer.gif" width="150" height="1" border="0">
</TD>
<TD width="20">&nbsp;</TD>
<TD valign="top">
<!-- central space -->
{if $main ne "catalog" or $current_category.category ne ""}{include file="location.tpl"}{/if}
{include file="dialog_message.tpl"}
{if $active_modules.Special_Offers ne ""}
{include file="modules/Special_Offers/customer/new_offers_message.tpl"}
{/if}
{include file="customer/home_main.tpl"}
<!-- /central space -->
&nbsp;
</TD>
<TD width="20">&nbsp;</TD>
</TR>
</TABLE>
{ include file="rectangle_bottom.tpl" }
</BODY>
</HTML>
{/if}



Thanks again in advance for all your help!

balinor 04-13-2007 07:34 AM

Re: Day for losing things - Help Zone Box
 
Restore the original help.tpl file, sounds like it was customized somehow.

Madhatterr 04-13-2007 08:07 AM

Re: Day for losing things - Help Zone Box
 
1 Attachment(s)
Okay I restored the help.tpl file.

I looked at the template's home file as well only to find that even in it's original and unedited form... no help box. That makes sense to me as I really don't recall ever having a need to edit it out for any reason.

After restoring the help.tpl I tried to put the code in and got the following (see attached screenshot.)

Sorry to be such a pain but I really don't know what the flip is up with this. :(

balinor 04-13-2007 08:10 AM

Re: Day for losing things - Help Zone Box
 
Looks like someone messed with your pages_menu.tpl file as well, as that is called in the help.tpl file. Post your restored help.tpl file.

Madhatterr 04-13-2007 08:19 AM

Re: Day for losing things - Help Zone Box
 
/help.tpl -

Code:

{* $Id: help.tpl,v 1.19 2004/06/04 12:52:38 svowl Exp $ *}
{if $usertype eq "C"}
<TABLE border="0" cellpadding="0" cellspacing="0">
<TR>
<TD align="center"><A href="help.php?section=Password_Recovery" class="Help">{$lng.lbl_recover_password}</A></TD>
<TD>&nbsp;&nbsp;&nbsp;<IMG src="{$ImagesDir}/custom/bluespacer.gif" width="1" height="10" alt="" border="0" align="absmiddle">&nbsp;&nbsp;&nbsp;</TD>
<TD align="center"><A href="help.php?section=contactus&mode=update" class="Help">{$lng.lbl_contact_us}</a></TD>
<TD>&nbsp;&nbsp;&nbsp;<IMG src="{$ImagesDir}/custom/bluespacer.gif" width="1" height="10" alt="" border="0" align="absmiddle">&nbsp;&nbsp;&nbsp;</TD>
<TD align="center"><A href="help.php?section=business" class="Help">{$lng.lbl_privacy_statement}</a></TD>
<TD>&nbsp;&nbsp;&nbsp;<IMG src="{$ImagesDir}/custom/bluespacer.gif" width="1" height="10" alt="" border="0" align="absmiddle">&nbsp;&nbsp;&nbsp;</TD>
<TD align="center"><A href="help.php?section=conditions" class="Help">{$lng.lbl_terms_n_conditions}</a></TD>
{include file="pages_menu.tpl"}
</TR>
</TABLE>
{else}
{capture name=menu}
<A href="help.php?section=contactus&mode=update" class="VertMenuItems">{$lng.lbl_contact_us}</A><BR>
<A href="help.php?section=business" class="VertMenuItems">{$lng.lbl_privacy_statement}</A><BR>
<A href="help.php?section=conditions" class="VertMenuItems">{$lng.lbl_terms_n_conditions}</A><BR>
{include file="pages_menu.tpl"}
{/capture}
{ include file="menu.tpl" dingbats="dingbats_help.gif" menu_title=$lng.lbl_help menu_content=$smarty.capture.menu link_href="help.php"}
{/if}



pages_menu.tpl -

Code:

{* $Id: pages_menu.tpl,v 1.4 2004/06/24 09:53:29 max Exp $ *}
{section name=pg loop=$pages_menu}
<A href="pages.php?pageid={$pages_menu[pg].pageid}" class="VertMenuItems">{$pages_menu[pg].title}</A><BR>
{/section}


balinor 04-13-2007 08:40 AM

Re: Day for losing things - Help Zone Box
 
Yea, that help template definitely won't work in the side menu. Try this one:

Code:

{* $Id: help.tpl,v 1.19 2004/06/04 12:52:38 svowl Exp $ *}
{capture name=menu}
<A href="help.php?section=contactus&mode=update" class="VertMenuItems">{$lng.lbl_contact_us}</A><BR>
<A href="help.php?section=business" class="VertMenuItems">{$lng.lbl_privacy_statement}</A><BR>
<A href="help.php?section=conditions" class="VertMenuItems">{$lng.lbl_terms_n_conditions}</A><BR>
{include file="pages_menu.tpl"}
{/capture}
{ include file="menu.tpl" dingbats="dingbats_help.gif" menu_title=$lng.lbl_help menu_content=$smarty.capture.menu link_href="help.php"}


Madhatterr 04-13-2007 09:05 AM

Re: Day for losing things - Help Zone Box
 
1 Attachment(s)
Closer... (see attached) but it made the box appear at the bottom of my page as opposed to the side bar.

Maybe I could just add the links to the special.tpl (named "more information" currently in my template?)

balinor 04-13-2007 09:25 AM

Re: Day for losing things - Help Zone Box
 
Wow, this just spirals into a disaster :( That would be menu.tpl that is controlling that. Have a look at your customer/categories.tpl file and see what template that calls (probably not menu.tpl) and then duplicate that in help.tpl.


All times are GMT -8. The time now is 07:10 AM.

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