Mooby Posted October 14, 2002 Posted October 14, 2002 I have been playing with oscommerce for a while now. I am currently installing it onto 3 different sites :o) I have been following the forums and most of my problems in the past have been solved by searching the archives or playing with the code but....... I cant seem to figure his one out!!! How do i get the text in boxes/categories.php to use .headerNavigation rather than the .infoBox style I assumed it would be easy but I cant seem to figure it out. I want all of the other boxes to remain as are but just the categories box to change anyone have any ideas?? thanks Matt
Guest Posted October 14, 2002 Posted October 14, 2002 Matt- I didn't go look at the code but, in there somewhere you should be able to change <class=infoBox> to <class=headerNavigation>
burt Posted October 14, 2002 Posted October 14, 2002 Matt- I didn't go look at the code but, in there somewhere you should be able to change <class=infoBox> to <class=headerNavigation> that would change all of the infoboxes which is (i think) what Matt is not wanting ? to make one infobox have a different style to all the rest, I would either; make a new class in includes/classes/boxes.php and then assign the new class to the infobox. sounds complicated but quite easy really or rewrite the class code to accept an additional parameter passed through from the boxes code to tell it which CSS to use the one in bold would be better as it would be more scalable than the other...
Mooby Posted October 14, 2002 Author Posted October 14, 2002 >that would change all of the infoboxes which is (i think) what Matt is not wanting ? CORRECT!!! >rewrite the class code to accept an additional parameter passed through from the boxes code to tell it which CSS to use Ok, if i were you i would do that too, but i am not that good at php!! Cud ya give me a starter or an idea on which file or an easy hack??? Maybe this would be something to address as a suggestion?? Am i seriously the only one that wants the categories a different style to all of the other infoboxes??? Maybe i am as "unique" as i thought thanks Matt p.s. big thanks to everyone behind oscommerce, it really is very impressive!
burt Posted October 14, 2002 Posted October 14, 2002 Am i seriously the only one that wants the categories a different style to all of the other infoboxes???Maybe i am as "unique" as i thought no, I've already done it on one of my sites (but i did it quick n dirty). its pretty late now and 6 feet under/the office is about to start so i'll knock up a contribution for you tomorrow (unless of course anyone wants to do it in the meantime) ;)
Mooby Posted October 14, 2002 Author Posted October 14, 2002 burt? thanks very much, really appreciated. Look forward to finally finding out the solution!!!! thanks again Matt
Recommended Posts
Archived
This topic is now archived and is closed to further replies.