nelsco
04-16-2006, 04:00 AM
I have a oscommerce site am working on almost finished but stuck with one thing and can't get help any where tried oscommerce forums but no luck.
Here it is under the categorie menu i have
link 1
link 2
link 3
link 4
link 5
i want link 2 togo to the same page as say link 4 can this be done and how.
Please help with this.
concretemonkey
04-16-2006, 06:44 AM
I suppose it all depends on what coding you are using. Are you designing in PHP or are you using just HTML.
For just HTML the use the <a href="pagename.ext">link 4</a> command. If you are using SQL to extract from a database and list the results as links, then it will be a different story.
nelsco
04-16-2006, 07:39 AM
It's php can you help me out please.
etechsupport2
04-18-2006, 09:13 AM
Do you have tried this; http://oscommerce.info/ alternatively if you post it in relevant section on this board, possibly some one can help you.
Christopher Lee
04-18-2006, 10:40 AM
Odds are, you are going to have to have this extensively recoded.
I'm guessing, since I can't see definitively what you are doing. I imagine you are using the class category_tree to build it. This pulls from 2 tables, categories and categories_description. The nature of how this system works (using the id to define what category you are in) really won't allow you to do what you want with the category menu.
An alternative is to customize a menu that will replace the category menu, and swap out the code. This will make maintenance harder, as you will no longer be able to dynamically generate the code from the database.
Another alternative is to assign a product to both link 2 and link 4. Its been such a long time since I've used a clean install of osCommerce that I can't remember the details of how to do it, or if it requires a bit of hacking. But I imagine this alternative would be saner than messing with the category_tree class.
jimmykarumalil
04-20-2006, 03:38 AM
By the way, Packt Publishing has two titles related to osCommerce, beginners as well as Professional editions