Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls

DIY Tabbed Content Menu for Product Page

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions
 
Thread Tools Search this Thread
  #91  
Old 05-11-2005, 05:52 PM
 
taltos1 taltos1 is offline
 

Senior Member
  
Join Date: Mar 2005
Location: USA
Posts: 160
 

Default

Do I put that code in home.tpl? And does that replace some of the code or just add to it?

Thanks again
__________________
X-Cart Gold Version 4.0.18
EWDHosting.com is my Host
Unix Servers
Reply With Quote
  #92  
Old 05-11-2005, 07:04 PM
 
markwhoo markwhoo is offline
 

X-Adept
  
Join Date: Nov 2003
Posts: 799
 

Default

This is the code that you placed in the product.tpl for the tabs to appear.

What I showed you is the art you need to adjust to make the tabs themselves appear. Simply modify the names for what you want and ensure you change the layout of the remaining tabs in the lower part of the code to match.

Also the tab nubering is critical. It must match as well.
__________________
vs 4.1.12
Reply With Quote
  #93  
Old 05-21-2005, 04:56 PM
 
snorocket snorocket is offline
 

X-Adept
  
Join Date: Dec 2002
Posts: 403
 

Default impressive mod

How do you get the tabs to look like x-onlines here:

http://www.directav.com.au/product.php?productid=301&cat=0&page=1
Reply With Quote
  #94  
Old 05-21-2005, 06:18 PM
 
zardos zardos is offline
 

Senior Member
  
Join Date: Jun 2004
Location: UK England
Posts: 140
 

Default

Hi snorocket

Tabbed Product Menu at:

www.cart-lab.com
__________________
X-Cart V4.0.18
PHP 4.3.10
MySQL Server 4.0.22
Apache/1.3.33 (unix)
OS - Linux
Reply With Quote
  #95  
Old 05-21-2005, 11:38 PM
 
snorocket snorocket is offline
 

X-Adept
  
Join Date: Dec 2002
Posts: 403
 

Default This Thread

Hi Zardos, the topic of this thread is about the Tabbed Product Menu and best of all its FREE. I would just like to have the tabs look like the ones posted in the link above, its just a matter of formatting but can't get it to look quite the same, oh well, how it is works great as is, Thanks guys
Reply With Quote
  #96  
Old 05-31-2005, 04:50 AM
 
Maree Maree is offline
 

Advanced Member
  
Join Date: May 2005
Posts: 85
 

Default My Hair is falling out

I'm very tired.

I am running 4.0.13 and have modified tpls as per CopperB's instructions on p4 of this thread.

The following error message appears indicating problems in product.tpl.

I have been over the steps several times. Finally restored the original product.tpl and modified it following those steps again.


Fatal error: Smarty error: [in customer/main/product.tpl line 209]: syntax error: unclosed tag {else} (opened line 11). (Smarty_Compiler.class.php, line 30 in /www/clientweb/au/o/ozquilts.com.au/xcart/Smarty-2.6.3/Smarty.class.php on line 1082


Can someone please point me to a solution? I plan to learn Smarty php but am flat out like a lizard drinking getting the damn site to a point where it can go live as well as running the normal business (I'm having my own little pity party here.....will this website ever be live).

Maree

4.0.13
AOM, Fancy Cats, Easy Checkout, Easy Upsell
Neon Lights template
__________________
Maree
4.0.13
Reply With Quote
  #97  
Old 05-31-2005, 05:23 AM
 
longhorn180 longhorn180 is offline
 

Senior Member
  
Join Date: Apr 2004
Location: Richmond, Virginia
Posts: 187
 

Default

I believe this means that you're likely missing an {/if} tag somewhere, but without seeing the code I can't tell you for sure.
__________________
4.1.9 (Linux) Live Store
www.thecrackedbook.com
Find used books and out of print books.
Reply With Quote
  #98  
Old 06-01-2005, 04:26 AM
 
Maree Maree is offline
 

Advanced Member
  
Join Date: May 2005
Posts: 85
 

Default Thanks Longhorn

Thanks Longhorn
Yes you were right . I found the missing endif.

Now the appearance of my product.tpl page is thown out - I suspect it may be because I have the Neon Lights addon but I am not sure. Rather than back out of the modification I want to work this out because I would much prefer the compact layout of the tabbed menu than scrolling down a long page.

I appreciate the time you took to respond to my post - It was one of those X moments (rolleyes).

Ok..back to checking my code
__________________
Maree
4.0.13
Reply With Quote
  #99  
Old 06-01-2005, 05:36 AM
 
Maree Maree is offline
 

Advanced Member
  
Join Date: May 2005
Posts: 85
 

Default

I need some help please.

My website is http://www.ozquilts.com.au/xcart/home.php

I'm hoping to go live soon and still working on gifs in Photoshop.

I cannot get this mod working. My product.tpl looks like this -(EEEK!)
http://www.ozquilts.com.au/xcart/product.php?productid=16855&cat=0&page=1

The only difference I noted in this mod was in step 4 -
My customer.home.tpl has thin line

<LINK rel="stylesheet" href="{$SkinDir}/{#CSSFile_c#}">
<LINK rel="stylesheet" href="{$SkinDir}/tabs.css">

CssFile_c refers to my custom neon lights skin.


The code is not pulling up my skin for the product page though and I cannot see why not. I have the Smarty php manual and am goin thru that and have stepped thru the file pointers but am getting nowhere.

Can anyone give me some idea of the problem?
Thanks

Maree
4.0.13, Eazy Upsell, Easy Checkout, AOM, Fancy Cats, Neon Lights
__________________
Maree
4.0.13
Reply With Quote
  #100  
Old 06-01-2005, 06:59 AM
  TelaFirma's Avatar 
TelaFirma TelaFirma is offline
 

X-Adept
  
Join Date: Nov 2002
Location: North Carolina USA
Posts: 930
 

Default

You have a serious problem with your /customer/home.tpl file.

As best that I can tell you are calling the /customer/main/product.tpl file at the very begining of it. This causes all that extra code before you ever get to the <HEAD> tag....
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 01:43 AM.

   

 
X-Cart forums © 2001-2020