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

Manufacturers Drop Down

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 01-14-2005, 04:41 AM
 
johnwhdavies johnwhdavies is offline
 

Member
  
Join Date: Dec 2004
Posts: 20
 

Default Manufacturers Drop Down

Could anyone please point me to a topic for this subject please! I have found the sub-categories but am unable to find code for the manufacturers.

What I want is a drop down box instead of a huge list in the 'other manufacturers' page. At present I have nearly 100 of them thus causing a huge page scroll.

Many Thanks
__________________
John Davies

X-Cart version 4.0.9
X-AOM: 4.0.9
X_RMA: 4.0.9
PHP 4.3.10
MySQL server 4.0.18
Operation system Linux

http://www.predeploy.com
Reply With Quote
  #2  
Old 01-14-2005, 01:30 PM
 
Bella Forma Bella Forma is offline
 

Senior Member
  
Join Date: Nov 2004
Location: Australia
Posts: 150
 

Default

http://forum.x-cart.com/viewtopic.php?t=7167

There is some code in there by PhilJ for maunufacturer drop down, haven't tried it yet, it's on my huge pile of 'thing to do'!!
__________________
X-Cart Gold 4.0.12
X-AOM, X-RMA, X-FancyCat
Apache/Linux Server
PHP 4.3.8
Reply With Quote
  #3  
Old 01-14-2005, 04:02 PM
 
johnwhdavies johnwhdavies is offline
 

Member
  
Join Date: Dec 2004
Posts: 20
 

Default

Cheers for that, but it seems as though the code is for a search drop down, what I was looking for was some code for a drop down for the other manufacturers page.
__________________
John Davies

X-Cart version 4.0.9
X-AOM: 4.0.9
X_RMA: 4.0.9
PHP 4.3.10
MySQL server 4.0.18
Operation system Linux

http://www.predeploy.com
Reply With Quote
  #4  
Old 01-14-2005, 04:07 PM
 
Lingerieblowout Lingerieblowout is offline
 

X-Adept
  
Join Date: Sep 2003
Location: Annapolis, MD
Posts: 415
 

Default Like this?

Are you looking for something like on my site:

http://www.lingerieblowout.com
__________________
http://www.lingerieblowout.com
Version 4.1.10

http://www.topnichewebsites.com
Version 4.4.5

Michael
Reply With Quote
  #5  
Old 01-15-2005, 02:21 AM
 
cotc2001 cotc2001 is offline
 

X-Man
  
Join Date: Feb 2003
Location: Shrewsbury, UK
Posts: 2,351
 

Default

Yeah i've got the same on my site (but i renamed it ranges - but it's still the manufacturer)

http://www.justhom.com

this is the code that i've got in
modules/Manufacturers/menu_manufacturers.tpl

Code:
<form name="form_manuf" method="get" action="manufacturers.php" style="margin-bottom:0;"> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="90%" align="right" valign="middle">[img]{$ImagesDir}/3reddots.gif[/img]</td> <td width="0" align="right"><select name="manufacturerid" onChange="document.form_manuf.submit()"> <option value="0" selected>Choose a Range</option> {section name=mid loop=$manufacturers_menu} <option value="{$manufacturers_menu[mid].manufacturerid}" {if $manufacturerid==$manufacturers_menu[mid].manufacturerid} selected {/if}>{$manufacturers_menu[mid].manufacturer}</option> {/section} </select> </td> </tr> </table> </form>
__________________
x-cart 4.0.5 (live and heavily modded)
Server: freebsd
Reply With Quote
  #6  
Old 01-16-2005, 09:36 PM
 
johnwhdavies johnwhdavies is offline
 

Member
  
Join Date: Dec 2004
Posts: 20
 

Default Cheers

I will give that a try,

John
__________________
John Davies

X-Cart version 4.0.9
X-AOM: 4.0.9
X_RMA: 4.0.9
PHP 4.3.10
MySQL server 4.0.18
Operation system Linux

http://www.predeploy.com
Reply With Quote
  #7  
Old 01-17-2005, 02:20 PM
 
TonyD TonyD is offline
 

eXpert
  
Join Date: Mar 2004
Location: Okc
Posts: 288
 

Default Re: Like this?

Quote:
Originally Posted by Lingerieblowout
Are you looking for something like on my site:

http://www.lingerieblowout.com

i am would like to see the code you used for this...

Thanks,

Tony
__________________
X-Cart v 4.7.8(live)
Reply With Quote
  #8  
Old 01-17-2005, 02:24 PM
 
Lingerieblowout Lingerieblowout is offline
 

X-Adept
  
Join Date: Sep 2003
Location: Annapolis, MD
Posts: 415
 

Default I take a look

Give me a bit to look... this was a mod that I paid Funkydunk to write.
__________________
http://www.lingerieblowout.com
Version 4.1.10

http://www.topnichewebsites.com
Version 4.4.5

Michael
Reply With Quote
  #9  
Old 01-17-2005, 02:30 PM
 
markwhoo markwhoo is offline
 

X-Adept
  
Join Date: Nov 2003
Posts: 799
 

Default Re: I take a look

Quote:
Originally Posted by Lingerieblowout
Give me a bit to look... this was a mod that I paid Funkydunk to write.

Funky may not like sharing the code you had to pay for to someone for free, may want to ask permission prior and avoid upsetting someone.
__________________
vs 4.1.12
Reply With Quote
  #10  
Old 01-17-2005, 02:40 PM
 
Lingerieblowout Lingerieblowout is offline
 

X-Adept
  
Join Date: Sep 2003
Location: Annapolis, MD
Posts: 415
 

Default Maybe

good point.... let me see!!!

Maybe I can sell it to you via him
__________________
http://www.lingerieblowout.com
Version 4.1.10

http://www.topnichewebsites.com
Version 4.4.5

Michael
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 01:07 AM.

   

 
X-Cart forums © 2001-2020