a4avaiz Posted October 9, 2006 Posted October 9, 2006 hello basically, i wanted two categories boxes on my OSC homepage, the default right one in english (included in column_right.php) and a category box on the left in a foreign language (included in column_left.php). i have linked the left catergory box to a different product and product description table(TABLE_OTHER_CATEGORIES)and (TABLE_OTHER_CATEGORIES_DESCRIPTION). I have also referred these databases in database_tables.php. when i first did this, i got an error with tep_show_category stating that the function cannot be defined again so i renamed that function. now i cant get the left category box to get displayed. the strange part is when i comment out include(DIR_WS_BOXES . 'categories.php') from column_right.php the left category box gets displayed!. how can i display both the category boxes? thanks in advance.
XCCreations Posted October 9, 2006 Posted October 9, 2006 You should do what i did made my own system check it out its at the top of the page: http://xccreations.com
a4avaiz Posted October 10, 2006 Author Posted October 10, 2006 hay XCC.. so you are suggesting i have the products scroll? i actaully want them as a category box. thank you
XCCreations Posted October 10, 2006 Posted October 10, 2006 My categries dont scroll there at the top of the page hahah ok but if ou want a forien language one i would just set it up so theres a link in the catagorie box convert site to german or something like that.
a4avaiz Posted October 10, 2006 Author Posted October 10, 2006 hmm, thanks XCC! but i was wondering if there any possibility for having two unique catergory boxes?
XCCreations Posted October 10, 2006 Posted October 10, 2006 Well it could be possible but here wha tyou would have to do: Add the Catagorie codeing to english.php name the box say Catagories_German. Then insert the german copy the catagorie box from the german files then re-name it Categories_German.php and upload might workj thata a guess though.
ComicWisdom Posted October 10, 2006 Posted October 10, 2006 Well it could be possible but here wha tyou would have to do: Add the Catagorie codeing to english.php name the box say Catagories_German. Then insert the german copy the catagorie box from the german files then re-name it Categories_German.php and upload might workj thata a guess though. You could do this with the category box, but you would have to hard code the default language code into the box. This really wouldn't be much help, because when someone clicked on the German menu, they would get an English page unless you reitterated the function to change the default language. Remember, the default language is built into and read in each module by "\$language" Just between us, remember there are only 10 kinds of people in the world; those who understand binary and those who don't!! Remember, learning is a "do-it-yourself" experience; although, not necessarily a "do-it-BY-yourself" experience. The quickest way to learn is to forget to BACKUP!
XCCreations Posted October 11, 2006 Posted October 11, 2006 Yea thats why i told himn to just put a link in his box to diffrent lanuages.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.