Jump to content

  • You cannot start a new topic
  • You cannot reply to this topic

Categorys Image Rate Topic   - - - - -

 
  • terje
  • Member
  • Members
  • Join Date: 04-Nov 05
  • 58 posts

Posted 07 March 2006 - 08:01 AM #1

Hi

Trying to put a image in Manage categories - to get it on the top I run into a problem. First it is not possible to only ad a image - you must have description text to get it working. The text is on the top of the picture. As I se it the picture is align to the left - so I want the text align on the right side of the picture. Have lookt in some category.tpl files but can not figure this out. It should also be possible only with a picture and no text.

Thanks

 
  • hostandname
  • Senior Member
  • Members
  • Join Date: 05-Jan 06
  • 196 posts

Posted 08 March 2006 - 04:03 PM #2

I will add this to our upcomign feature list, however the desc is required for Valid Markup on the software.

Host & Name Ltd - your reliable & trustworthy media provider (www.hostandname.co.uk)
Approved CS-Cart Developers and Official CS-Cart Licensing Supplier
Web Hosting | Cloud Hosting | Dedicated Servers | VPS | Domains | Emails | Design | Development | Marketing | Management


 
  • rcaubin
  • Junior Member
  • Members
  • Join Date: 11-Jul 08
  • 10 posts

Posted 01 October 2008 - 01:20 AM #3

... to get it on the top I run into a problem....


Are you attempting to move the category image from the bottom of the description so that it is displayed directly to the left of the description?

I would also like help with this. The image appears lost down there

 
  • orangegirl
  • Support engineer
  • CS-Cart Support
  • Join Date: 08-Jan 08
  • 589 posts

Posted 01 October 2008 - 10:27 AM #4

Please try replacing this part of the code:
{if $category_data.description && $category_data.description != ''}
<div class="category-description">{$category_data.description}</div>
{/if}
<div class="wrapper">
	<div class="categories-image">
		{include file="common_templates/image.tpl" show_detailed='Y' images=$category_data.main_pair object_type="category" no_ids=true}
	</div>
with this one:
<div class="wrapper">
	<div class="categories-image">
		{include file="common_templates/image.tpl" show_detailed='Y' images=$category_data.main_pair object_type="category" no_ids=true}
	</div>
{if $category_data.description && $category_data.description != ''}
<div class="category-description">{$category_data.description}</div>
{/if}
in the "categories.tpl" file located in the "skins/[CUSTOMER_ACTIVE_SKIN]/customer/categories_pages" directory of your CS-Cart.