davidandrews Posted November 19, 2004 Posted November 19, 2004 HEy THere My first and surely not last post :) Hello to all OK, installed ok and made several modifications succesfully been following this tutorial http://www.oscommerce.info/kb/osCommerce/C...g_Area/Boxes/49 But when I finish it I get "BOX_INFORMATION_ABOUT_US" in the box instead of just "about us" I have done it three times and get same message for some reason.... INcidentally my page "information" looks different the tutorial says it looks like this in the code: '<a href="' . tep_href_link(FILENAME_SHIPPING, '', 'NONSSL') . '">' . BOX_INFORMATION_SHIPPING . '</a><br>' . '<a href="' . tep_href_link(FILENAME_PRIVACY, '', 'NONSSL') . '">' . BOX_INFORMATION_PRIVACY . '</a><br>' . '<a href="' . tep_href_link(FILENAME_CONDITIONS, '', 'NONSSL') . '">' . BOX_INFORMATION_CONDITIONS . '</a><br>' . '<a href="' . tep_href_link(FILENAME_CONTACT_US, '', 'NONSSL') . '">' . BOX_INFORMATION_CONTACT . '</a><br>' . '<a href="' . tep_href_link(FILENAME_ABOUT_US, '', 'NONSSL') . '">' . BOX_INFORMATION_ABOUT_US . '</a>' ); Mine looks like: $info_box_contents = array(); $info_box_contents[] = array('text' => '<a href="' . tep_href_link(FILENAME_ABOUT_US) . '">' . BOX_INFORMATION_ABOUT_US . '</a><br>' . '<a href="' . tep_href_link(FILENAME_SHIPPING) . '">' . BOX_INFORMATION_SHIPPING . '</a><br>' . '<a href="' . tep_href_link(FILENAME_PRIVACY) . '">' . BOX_INFORMATION_PRIVACY . '</a><br>' . '<a href="' . tep_href_link(FILENAME_CONDITIONS) . '">' . BOX_INFORMATION_CONDITIONS . '</a><br>' . '<a href="' . tep_href_link(FILENAME_CONTACT_US) . '">' . BOX_INFORMATION_CONTACT . '</a>' ); I mention this as i thought this could be the problem I would be indebted for any advice This is truly wonderful ! I love the software and this community
Sheldon Posted November 19, 2004 Posted November 19, 2004 HEy THereMy first and surely not last post :) Hello to all OK, installed ok and made several modifications succesfully been following this tutorial http://www.oscommerce.info/kb/osCommerce/C...g_Area/Boxes/49 But when I finish it I get "BOX_INFORMATION_ABOUT_US" in the box instead of just "about us" I have done it three times and get same message for some reason.... INcidentally my page "information" looks different the tutorial says it looks like this in the code: '<a href="' . tep_href_link(FILENAME_SHIPPING, '', 'NONSSL') . '">' . BOX_INFORMATION_SHIPPING . '</a><br>' . '<a href="' . tep_href_link(FILENAME_PRIVACY, '', 'NONSSL') . '">' . BOX_INFORMATION_PRIVACY . '</a><br>' . '<a href="' . tep_href_link(FILENAME_CONDITIONS, '', 'NONSSL') . '">' . BOX_INFORMATION_CONDITIONS . '</a><br>' . '<a href="' . tep_href_link(FILENAME_CONTACT_US, '', 'NONSSL') . '">' . BOX_INFORMATION_CONTACT . '</a><br>' . '<a href="' . tep_href_link(FILENAME_ABOUT_US, '', 'NONSSL') . '">' . BOX_INFORMATION_ABOUT_US . '</a>' ); Mine looks like: $info_box_contents = array(); $info_box_contents[] = array('text' => '<a href="' . tep_href_link(FILENAME_ABOUT_US) . '">' . BOX_INFORMATION_ABOUT_US . '</a><br>' . '<a href="' . tep_href_link(FILENAME_SHIPPING) . '">' . BOX_INFORMATION_SHIPPING . '</a><br>' . '<a href="' . tep_href_link(FILENAME_PRIVACY) . '">' . BOX_INFORMATION_PRIVACY . '</a><br>' . '<a href="' . tep_href_link(FILENAME_CONDITIONS) . '">' . BOX_INFORMATION_CONDITIONS . '</a><br>' . '<a href="' . tep_href_link(FILENAME_CONTACT_US) . '">' . BOX_INFORMATION_CONTACT . '</a>' ); I mention this as i thought this could be the problem I would be indebted for any advice This is truly wonderful ! I love the software and this community <{POST_SNAPBACK}> I just finished creating a box with the same problem. I am very new using this program so I will tell you what I did even though I'm not sure it is the right way. The instructions at item 49 does not tell us to do this. All I did was to remove the "Box_INFORMATION_" and put my new heading in quotes as follows. "What's Hot" It seems to work OK, Now after saying that, there is a contribution call "PagerMaker" that will make the pages for you. I have not use it yet, so I can't say how it works. http://www.oscommerce.com/community/contri...ns,2614/page,10 good Luck.
davidandrews Posted November 19, 2004 Author Posted November 19, 2004 HI There Thanks for the quick reply! So the problem is in information.php page? I have to rip out all the BOX_INFORMATION_ bits preceding the page names? Have i understood right? How is everyone else creating pages? Thanks again!
Guest Posted November 19, 2004 Posted November 19, 2004 the box_information definitions are in includes/languages/english.php thus define('BOX_INFORMATION_ABOUT_US', 'About Us');
davidandrews Posted November 20, 2004 Author Posted November 20, 2004 Masive Thanks I did as you said Mibble and it worked added 2 links and changed another, so I am hoping I will get the hang just 4 quick questions:- 1. This is an amazing package !! What do its makers get out of it for providing it for free? 2. Nearly 7,000 Posts !!!!!!!!!! Don't you sleep? :) 3. IS it right to get rid of the OScommerce/Banners links and how do it do it? I don't mind having copyright notices if I have to, but just wanted to customise as much as I can 4. on the index page there is a WHATS NEW HERE header, where is this message hidden for me to alter? Thats all, I promise, everything else seems really intuitive, I have added currencies and changed other things with relative ease Many Thanks
Recommended Posts
Archived
This topic is now archived and is closed to further replies.