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

Login in Category Description

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 03-14-2011, 08:41 AM
  mizNRG's Avatar 
mizNRG mizNRG is offline
 

Senior Member
  
Join Date: Jun 2010
Posts: 157
 

Default Login in Category Description

Does anyone know how I can include the login boxes within a category description?
__________________
X-Cart 4.4.4 Gold
Reply With Quote
  #2  
Old 05-05-2011, 02:35 AM
  DrQuietus's Avatar 
DrQuietus DrQuietus is offline
 

Advanced Member
  
Join Date: Dec 2005
Posts: 81
 

Default Re: Login in Category Description

on /common_files/customer/main/subcategories.tpl change
Code:
{if $current_category.description ne ""} <div class="subcategory-descr"> {$current_category.description|amp} </div> {/if}
to:
Code:
{if $current_category.description ne ""} <div class="subcategory-descr"> {$current_category.description|amp} </div> {include file="customer/main/login_link.tpl"} {/if}

Styling it different shouldn't be hard either. Just include the parent div class on your style sheet. for example

.subcategory-descr a.whatever {

}
__________________
Dave Jones
dave@industrialwebworks.net
Mostly 4.7.2 - 4.7.5
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 07:22 PM.

   

 
X-Cart forums © 2001-2020