![]() |
Size & number or right side menus
I input two new menu boxes in the right side. Unfortunately, this pushed the Authentication and News menus down & off the right side completely. It appears as if a blank Authentication menu is immediately below the Featured Products and is equally as wide. The News menu has disappeared completely.
I have assumed this is a wrap around issue. What file(s) do I adjust and what coding needs to be corrected? Thanks Chris |
Re: Size & number or right side menus
Hi Chris.
You don't say how you've added the new box. The way I've added a box to show my SSL is: Create new file skin1/secure.tpl Code:
{capture name=menu} Then edit skin1/customer/home.tpl Towards the bottom of the file, you'll find a line which includes Code:
<div id="right-bar"> I've added a call to the secure.tpl file here, below the authentication box: Code:
{include file="customer/menu_cart.tpl" } Steve. |
Re: Size & number or right side menus
Steve,
First, I created a file in skin1/modules for the new right side "SSL Seal" menu box. Then I included code in skin1/customer/home.tpl. Everything appeared ok so, I repeated this action for a "My Guarantee" menu box. This caused the lower menu boxes disappeared. To see if the extra box caused the problem, I commented out {* *} the "MY Guarantee" line of code in home.tpl and the lost boxes reappeared. I replace the guarantee coding and commented out the SSL coding and the lost boxes remained visable. Therefore, I assumed, my problem was not my coding. There must be a size adjustment contained in a file. I just can't find it. Would your approach result in the same problem? Chris |
Re: Size & number or right side menus
Hi Chris.
I've made 2 new boxes and added them to the right side. Also moved a couple of boxes from the left side to the right side, because my category list is quite long. None of the existing boxes disappeared. Post the code for one of your boxes and the segment of home.tpl where youve called up the box. Another thought, we're both running 4.2.1 with AOM and Special Offers. You're also running Magnifier. Try turning that off. Yet another thought, I've recently had a problem with a template that only showed up on IE7. Try you site using IE8 or FireFox or Opera. Are you using a default template or a 3rd party template? Steve. |
Re: Size & number or right side menus
Quote:
Steve, The center element was deprecated in HTML 4.01. http://www.w3schools.com/TAGS/tag_center.asp For a 4.2.x store, you should really be using CSS/XHTML You may have your reasons to use <center> - but just in case others are reading this, it's worth mentioning. Jeremy |
Re: Size & number or right side menus
Steve & Jeremy
I turned off MAGNIFIER and checked FF & IE7. The problem still exists. I created a file in skin1/modules/yoursecurity.tpl : {capture name=menu} <span id="siteseal"><script type="text/javascript" src="https://isp.com/getSeal?sealID=12345abcde"> </script><br /><a style="font-family:arial;font-size:9px" href=https://www.isp.com/ispshop/ssl/ssl_opensource.asp target="_blank"> SSL Cert</a></span></div> {/capture} {include file="customer/menu_dialog.tpl" title="Shopping Security" content=$smarty.capture.menu} I made modifications to skin1/customer/home.tpl : <div id="right-bar"> {if $active_modules.SnS_connector} {include file="modules/SnS_connector/button.tpl"} {/if} {if $active_modules.Feature_Comparison && $comparison_products ne ''} {include file="modules/Feature_Comparison/product_list.tpl" } {/if} {include file="customer/menu_cart.tpl" } {include file="modules/guarantee.tpl"} {include file="modules/yoursecurity.tpl"} {if $login eq "" } {include file="customer/auth.tpl" } {else} {include file="customer/authbox.tpl" } {/if} {include file="customer/news.tpl" } {if $active_modules.XAffiliate && $config.XAffiliate.partner_register eq 'Y'} {include file="partner/menu_affiliate.tpl" } {/if} As I said authentic box and news box disappeared. Chris |
Re: Size & number or right side menus
I'll defer to the experts here but the first thing that comes to mind is an error with the script loaded from isp.com
You have an unnecessary /div but that shouldn't cause any problem. Try moving: {include file="modules/guarantee.tpl"} {include file="modules/yoursecurity.tpl"} to: {if $login eq "" } {include file="customer/auth.tpl" } {else} {include file="customer/authbox.tpl" } {/if} {include file="modules/guarantee.tpl"} {include file="modules/yoursecurity.tpl"} {include file="customer/news.tpl" } Does the signin box reappear and is the news box still not appearing? Is it the yoursecurity box or the guarantee box that's causing the problem? In message #3, you indicated that removing the guarantee line from home.tpl solved the problem? If so, could you post the guarantee.tpl code? Steve. |
Re: Size & number or right side menus
Steve
I input your suggestion and moved the code. The Authentication box appeared above my guarantee and security box. I don't know why but it worked. Unfortunately, the news box remains hidden. I'll keep working on it I can't see how this small move could possibly make a difference. Thanks for your help. Chris |
Re: Size & number or right side menus
In message #3, you indicated that the problem seems to be related to your Guarantee box. Could you post the code for your Guarantee box here?
Steve. |
Re: Size & number or right side menus
Steve,
This is the code used to create the guarantee box: {* $Id: guarantee.tpl, 2009/07/14 created for guarantee logo in Rt sidebar *} {capture name=menu} <img src="{$ImagesDir}/30_day_money_back.gif" alt="30 Day No Quibble Guarantee" / > {/capture} {include file="customer/menu_dialog.tpl" title="Your Guarantee" content=$smarty.capture.menu} Also, I move the coding in skin1/customer/home.tpl for news {include file="customer/news.tpl" } to immediately before the guarantee coding. The "News" menu box does not appear. In Webmaster mode I can see a black line on the top of the guarantee box where news is supposed to be. I'll admit it, I'm lost. It must be something easy I'm missing. Thanks for the assist. Chris |
All times are GMT -8. The time now is 09:36 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.