I am trying to add a link to the more information side box that takes me to the log in page
the following is what i inserted but it isn't working.I am no programmer but I thought I would give this a shot.
ether i am missing something I need to add to another page, the programming isn't right or both. Can you help?
Code:
this was added to english.php
// information box text in sideboxes/more_information.php - were TUTORIAL_
define('BOX_HEADING_MORE_INFORMATION', 'Wholesale Information');
define('BOX_LOGIN_REGISTER', 'Login/Register');
define('BOX_INFORMATION_PAGE_2', 'Wholesale Account Information');
define('BOX_INFORMATION_PAGE_3', 'Wholesale Account Requirements');
define('BOX_INFORMATION_PAGE_4', 'Minimum Orders');
this was added to more_information.php
// test if links should display
if (DEFINE_LOGIN_REGISTER_STATUS <= 1) {
$more_information[] = '<a href="' . zen_href_link(FILENAME_index.php?main_page=login) . '">' . $pointer . BOX_LOGIN_REGISTER . '</a>';
}
if (DEFINE_PAGE_2_STATUS <= 1) {
$more_information[] = '<a href="' . zen_href_link(FILENAME_PAGE_2) . '">' . $pointer . BOX_INFORMATION_PAGE_2 . '</a>';
}
if (DEFINE_PAGE_3_STATUS <= 1) {
$more_information[] = '<a href="' . zen_href_link(FILENAME_PAGE_3) . '">' . $pointer . BOX_INFORMATION_PAGE_3 . '</a>';
}
if (DEFINE_PAGE_4_STATUS <= 1) {
$more_information[] = '<a href="' . zen_href_link(FILENAME_PAGE_4) . '">' . $pointer . BOX_INFORMATION_PAGE_4 . '</a>';
}
Bookmarks