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

Categories in dropdown list for vs 4.3.1

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 03-19-2010, 12:02 PM
 
sparker2 sparker2 is offline
 

eXpert
  
Join Date: Feb 2007
Posts: 290
 

Default Categories in dropdown list for vs 4.3.1

I have a dropdown categories list for my products that was originally created and working in version 4.1.10 which also works in version 4.3 but I need help placing it where I want it on my page since this new version does not use tables, the placement is different. I have no idea how to edit my CSS to control the placement. I would like my dropdown list to be placed in the upper far right-hand side just like the mini cart and searchbox. The code for my dropdown categories list is below. Thank you very much for your help.
----------------------------------------------------------------------------------------------------
{*
$Id: categories.tpl,v 1.35 2009/05/12 07:37:15 max Exp $
vim: set ts=2 sw=2 sts=2 et:
*}
{capture name=menu}
{if $active_modules.Fancy_Categories ne ""}
{include file="modules/Fancy_Categories/categories.tpl"}
{assign var="fc_cellpadding" value="0"}
{else}
{if $config.General.root_categories eq "Y"}
<select name="listCategories" onchange="window.location=this.options[selectedIndex].value">
<option value=""><font class="VertMenuItems">Select A Design Category</font></option>
{foreach from=$categories item=c}
{if $c.order_by < 899 && $c.product_count ne 0}
<option value="home.php?cat={$c.categoryid}"><font class="VertMenuItems">{$c.category}</font></option>
{/if}
{/foreach}
</select>
{else} {foreach from=$subcategories item=c key=catid}
<font class="CategoriesList"><a href="home.php?cat={$catid}" class="VertMenuItems">{$c.category}</a></font><br />
{/foreach}
{/if}
{/if}
</form>
__________________
Shareen
sparker2@cox.net
http://www.stitches4u.com
X-Cart Version 4.5.0 with Smart Template vs 4.4.x
Reply With Quote
  #2  
Old 03-19-2010, 12:29 PM
 
Shamun Shamun is offline
 

X-Adept
  
Join Date: Jun 2009
Location: North Carolina
Posts: 841
 

Default Re: Categories in dropdown list for vs 4.3.1

I don't see any divs for that, but you'll be going with a css layout. That needs divs.

Don't think you'll be able to get much help on it, since you don't say where its included (header, footer, main, home etc) and again, no divs or live testing.
__________________
- Shane Munroe
Reply With Quote
  #3  
Old 03-19-2010, 04:26 PM
 
sparker2 sparker2 is offline
 

eXpert
  
Join Date: Feb 2007
Posts: 290
 

Default Re: Categories in dropdown list for vs 4.3.1

That's just it, I do not know anything about adding divs. I Have know idea about how to use this new version of x-cart. Everything seems to be controlled by css and I do not know how to add code to my css to make this dropdown menu appear in the div header on line2. I am using template light and lucid 3 column. Please if any one can be so kind to help I will be eternally grateful. TIA
__________________
Shareen
sparker2@cox.net
http://www.stitches4u.com
X-Cart Version 4.5.0 with Smart Template vs 4.4.x
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 08:37 PM.

   

 
X-Cart forums © 2001-2020