Guest Posted October 26, 2002 Share Posted October 26, 2002 Can someone check out http://www.nvcw.com/catalog/default.php and hover over "About Us" on the bottom left, and see why its not showing the file name at the end of the URL like the rest, i looked over everything, it looks the same as the rest of the links, im not sure what i am missing. any ideaS? Brian Link to comment Share on other sites More sharing options...
mouflon Posted October 26, 2002 Share Posted October 26, 2002 It looks like you don't have FILENAME_ABOUT_US defined in application_top.php Unexpect the Expected Link to comment Share on other sites More sharing options...
Guest Posted October 26, 2002 Share Posted October 26, 2002 Well you were right about that, now it shows the correct page, but check out what it does now http://www.nvcw.com/catalog/about_us.php thanks again in advance Brian Link to comment Share on other sites More sharing options...
mouflon Posted October 26, 2002 Share Posted October 26, 2002 what's the contents of your about_us.php file? Try basing it on conditions.php Unexpect the Expected Link to comment Share on other sites More sharing options...
Guest Posted October 26, 2002 Share Posted October 26, 2002 All i did is open up the Contact_us file and save it as about_us, then make the necessary changes. whats in the conditions.php file? what is it that i need to do? brian Link to comment Share on other sites More sharing options...
Guest Posted October 26, 2002 Share Posted October 26, 2002 Ok so i opened conditions.php and copied the info from it and put it in the about_us file, and now when clicked it goes to blank screen.. any ideas? Link to comment Share on other sites More sharing options...
mouflon Posted October 26, 2002 Share Posted October 26, 2002 You also need to create a language file - about_us.php as per conditions.php in /catalog/includes/languages/english/conditions.php then in /catalog/includes/languages/english.php you have to create a line as per: define('HEADER_TITLE_ABOUT_US', 'About Us'); There's no special reason I recommended basing it on conditions.php I think that's it...... Unexpect the Expected Link to comment Share on other sites More sharing options...
mouflon Posted October 26, 2002 Share Posted October 26, 2002 also - don,t forget, in about_us.php change: require(DIR_WS_LANGUAGES . $language . '/' . FILENAME_CONDITIONS); $location = ' » <a href="' . tep_href_link(FILENAME_CONDITIONS, '', 'NONSSL') . '" class="headerNavigation">' . NAVBAR_TITLE . '</a>'; with require(DIR_WS_LANGUAGES . $language . '/' . FILENAME_ABOUT_US); $location = ' » <a href="' . tep_href_link(FILENAME_ABOUT_US, '', 'NONSSL') . '" class="headerNavigation">' . NAVBAR_TITLE . '</a>'; Unexpect the Expected Link to comment Share on other sites More sharing options...
Guest Posted October 26, 2002 Share Posted October 26, 2002 I dont have a english.php in the languages/english directory there is one in the languages directory, is that what you are talking about? I have the About_us.php in the languages/english directory and its just like the conditions file, except for the file name itsself in the code, i did change that to about_us also that code you said i needed to change, i dont see it in the about_us.php or the conditions.php file, where would that code be? grateful Brian Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.