toyzonline Posted December 29, 2008 Share Posted December 29, 2008 HI there, In manufacturer.php there is the option to show the box as a list or ads a drop drop down menu, how do i choose which it uses? LIke the subtitle says i am using a template so maybe different but at least if i can find out what files i should be looking at i can have a look and post here if need be Complete Newbie On The Learn - Not A Programmer But Learning As I Go Link to comment Share on other sites More sharing options...
toyzonline Posted December 29, 2008 Author Share Posted December 29, 2008 ANy one? Complete Newbie On The Learn - Not A Programmer But Learning As I Go Link to comment Share on other sites More sharing options...
burt Posted December 29, 2008 Share Posted December 29, 2008 it's a setting in your dmin section read the knowledgebase http://www.oscommerce.info/kb/osCommerce/A...nfiguration/157 Link to comment Share on other sites More sharing options...
toyzonline Posted December 29, 2008 Author Share Posted December 29, 2008 it's a setting in your dmin sectionread the knowledgebase http://www.oscommerce.info/kb/osCommerce/A...nfiguration/157 Ok then this is a template problem, cause i have tried this and I still get the template look. If there is anyone that can help, what code do i need to show here for reference? Complete Newbie On The Learn - Not A Programmer But Learning As I Go Link to comment Share on other sites More sharing options...
burt Posted December 29, 2008 Share Posted December 29, 2008 Ask the template provider Link to comment Share on other sites More sharing options...
toyzonline Posted December 29, 2008 Author Share Posted December 29, 2008 Ask the template provider Well that is an option, however was hoping someone here may be able to help as it would be a lot quicker and probably more help friendly Complete Newbie On The Learn - Not A Programmer But Learning As I Go Link to comment Share on other sites More sharing options...
Jack_mcs Posted December 29, 2008 Share Posted December 29, 2008 Template makers routinely cut out, or change, pieces of standard oscommerce code. That make's it very difficult for anyone here to help with it since the problem is specific to your shop. But if you ask the template maker, they probably won't do anything for you unless you pay to have it changed. It is one of the downsides to using such a template. Jack Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
toyzonline Posted December 29, 2008 Author Share Posted December 29, 2008 Thanks Jack I appreciate that it is hard with a template. Problem i have is that not 100% sure who they are, but some of the coding would suggest they are german. How many files could effect the manufacturers list? I have looked at and replaced the following with the original OSC ones manufacturers.php manufacturers_info.php column_left.php Complete Newbie On The Learn - Not A Programmer But Learning As I Go Link to comment Share on other sites More sharing options...
toyzonline Posted December 29, 2008 Author Share Posted December 29, 2008 I looked at the problem again and realised that the left menu's are the only place to include a particular image, so i have searched thru files and found this, which i believe relates to the problem i have..... <? // ---- MANUFACTURERS STRING OUTPUT $manufacturers_query = tep_db_query("select manufacturers_id, manufacturers_name from " . TABLE_MANUFACTURERS . " order by manufacturers_name"); if ($number_of_rows = tep_db_num_rows($manufacturers_query)) { $manufacturers_array = array(); while ($manufacturers = tep_db_fetch_array($manufacturers_query)) { $output .= $output ? '<tr><td height=1></td></tr>' : ''; $output .= '<tr><td><img src=images/m12.gif width=19 height=19></td><td bgcolor=#E7DCCB width=220 height=19 class=ch5><a class=ml2 href='; $manufacturers_name = ((strlen($manufacturers['manufacturers_name']) > MAX_DISPLAY_MANUFACTURER_NAME_LEN) ? substr($manufacturers['manufacturers_name'], 0, MAX_DISPLAY_MANUFACTURER_NAME_LEN) . '..' : $manufacturers['manufacturers_name']); $output .= tep_href_link('index.php', 'manufacturers_id='.$manufacturers['manufacturers_id']). '>'.$manufacturers_name; $output .= '</a></td></tr>'; } echo $output; } ?> I have looked the original header.php (where I found the code) but cant see anything similar to swap it with Complete Newbie On The Learn - Not A Programmer But Learning As I Go Link to comment Share on other sites More sharing options...
toyzonline Posted December 29, 2008 Author Share Posted December 29, 2008 I have deleted this section from the header.php and it certainly loses the menu in question, what would I replace it with to insert the basic manufacturers dropdown? Complete Newbie On The Learn - Not A Programmer But Learning As I Go Link to comment Share on other sites More sharing options...
toyzonline Posted December 29, 2008 Author Share Posted December 29, 2008 When i deleted the code it removed the entire menu with its header in place. So its just the a bit of code i need to pop in there to bring the drop down menu in. I tried inserting the code from the manufacturer.php and although it messed the table setting up slightly and the drop down menu only had please selct in it, it was there. Any php dudes that could help me out i would be much appreciated Complete Newbie On The Learn - Not A Programmer But Learning As I Go Link to comment Share on other sites More sharing options...
toyzonline Posted December 29, 2008 Author Share Posted December 29, 2008 well off to bed and still not got this soved........ Heres hopin the fairies (or some php guru) will have left something for me when i woke up...lol Nite All Complete Newbie On The Learn - Not A Programmer But Learning As I Go Link to comment Share on other sites More sharing options...
toyzonline Posted December 30, 2008 Author Share Posted December 30, 2008 anyone? Complete Newbie On The Learn - Not A Programmer But Learning As I Go Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.