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

Where does the Category content reside

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 07-13-2009, 05:16 AM
 
Justin B Justin B is offline
 

Member
  
Join Date: Mar 2009
Posts: 21
 

Default Where does the Category content reside

Hi There,

I have spent about 3 hrs looking for how to move content on my category pages.

Here is the page: http://www.designerdogwear.com/summer-dog-clothes/



I have just added the text via the Modify Category in the admin.

I want the text to appear below the banner which I found in the template 'dialog.tpl'

Can anyone give me a hint on on how to do this?

Thanks
Justin
Attached Thumbnails
Click image for larger version

Name:	Cateogry text change.jpg
Views:	171
Size:	161.2 KB
ID:	1587  
__________________
jbryce
www.designerdogwear.com
v4.1.8 but looking to upgrade to 4.2
Reply With Quote
  #2  
Old 07-13-2009, 05:39 AM
  pauldodman's Avatar 
pauldodman pauldodman is offline
 

X-Guru
  
Join Date: Jul 2003
Location: Spain / UK
Posts: 3,062
 

Default Re: Where does the Category content reside

You actually need to edit skin1/customer/main/subcategories.tpl

And swap these 2 lines around:
{if ($navigation_page eq "")||($navigation_page eq "1")}{$current_category.description}<p />{/if}
{capture name=dialog}

so that it says:
{capture name=dialog}
{if ($navigation_page eq "")||($navigation_page eq "1")}{$current_category.description}<p />{/if}

That way, the description will appear below the title - ie inside dialog.tpl
__________________
Paul Dodman
e-business & m-commerce consultant
w: www.luminointernet.com
e: xcart@luminointernet.com

Professional X-Cart help, advice, support and services, specialists in Mobile X-Cart.
Reply With Quote
  #3  
Old 07-13-2009, 01:26 PM
 
Justin B Justin B is offline
 

Member
  
Join Date: Mar 2009
Posts: 21
 

Default Re: Where does the Category content reside

Thankyou very much Paul.

That worked!

Cheers
Justin
__________________
jbryce
www.designerdogwear.com
v4.1.8 but looking to upgrade to 4.2
Reply With Quote
  #4  
Old 11-03-2009, 09:33 PM
 
lash lash is offline
 

Senior Member
  
Join Date: Oct 2006
Posts: 138
 

Default Re: Where does the Category content reside

Why does not this work for me? I also need to move my category description. See attached file. I got to look a bit more, but any guidance is highly appreciated
Attached Thumbnails
Click image for larger version

Name:	category-description.jpg
Views:	163
Size:	246.7 KB
ID:	1706  
__________________
4.1.9
www.lash.se
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



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 03:18 PM.

   

 
X-Cart forums © 2001-2020