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)
-   -   Help needed -> moving category pictures (https://forum.x-cart.com/showthread.php?t=42121)

mlowrey 09-02-2008 04:11 AM

Help needed -> moving category pictures
 
1 Attachment(s)
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

Victor D 09-02-2008 06:36 AM

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}


mlowrey 09-09-2008 09:22 AM

Re: Help needed -> moving category pictures
 
Thx so far, when i do this, then the category text is missing........

??

Victor D 09-09-2008 11:49 PM

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%"'}



All times are GMT -8. The time now is 05:31 PM.

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