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

Help needed -> moving category pictures

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 09-02-2008, 04:11 AM
 
mlowrey mlowrey is offline
 

Member
  
Join Date: Mar 2005
Posts: 28
 

Default Help needed -> moving category pictures

Dear,

I would like to move my category images and the cat name to the top of the page.

Please look at my attached picture. !

Can someone help me how to do that ?

Thx
Attached Thumbnails
Click image for larger version

Name:	example.JPG
Views:	140
Size:	83.4 KB
ID:	1109  
__________________
4.0.16 stable and testing 4.10 rc4 - ALL THE QUESTIONS ARE FOR 4.1
Reply With Quote
  #2  
Old 09-02-2008, 06:36 AM
  Victor D's Avatar 
Victor D Victor D is offline
 

X-Adept
  
Join Date: Aug 2008
Posts: 643
 

Default Re: Help needed -> moving category pictures

Edit your skin1/customer/subcategories.tpl
search for line
HTML Code:
{if ($navigation_page eq "")||($navigation_page eq "1")}{$current_category.description}<p />{/if}
cut it and paste before lines
HTML Code:
{if $total_pages gt 2} <br /> { include file="customer/main/navigation.tpl" } {/if} <hr size="1" width="100%" /> {include file="customer/main/products.tpl" products=$products} {/if}
__________________
Regards,
Victor Dubiniuk

X-Cart Skins Store
- twenty two different skins for 4.1.x and 4.2.x;
- 4.3.x compatible versions are available;
- refresh you store now!

Smart menu X-Cart add-on for 4.1.8 - 4.3.x
Featured Products Slide Show X-Cart add-on for 4.1.8 - 4.3.x
Reply With Quote
  #3  
Old 09-09-2008, 09:22 AM
 
mlowrey mlowrey is offline
 

Member
  
Join Date: Mar 2005
Posts: 28
 

Default Re: Help needed -> moving category pictures

Thx so far, when i do this, then the category text is missing........

??
__________________
4.0.16 stable and testing 4.10 rc4 - ALL THE QUESTIONS ARE FOR 4.1
Reply With Quote
  #4  
Old 09-09-2008, 11:49 PM
  Victor D's Avatar 
Victor D Victor D is offline
 

X-Adept
  
Join Date: Aug 2008
Posts: 643
 

Default Re: Help needed -> moving category pictures

I'm sorry, the template which i looked thru to give this advice was slightly customized...

As I see from original tpl listing you should paste this line right after
HTML Code:
{/capture} {include file="dialog.tpl" title=$current_category.category content=$smarty.capture.dialog extra='width="100%"'}
__________________
Regards,
Victor Dubiniuk

X-Cart Skins Store
- twenty two different skins for 4.1.x and 4.2.x;
- 4.3.x compatible versions are available;
- refresh you store now!

Smart menu X-Cart add-on for 4.1.8 - 4.3.x
Featured Products Slide Show X-Cart add-on for 4.1.8 - 4.3.x
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design


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 04:27 AM.

   

 
X-Cart forums © 2001-2020