Hi Guys,
How do i change the forum text and link found in the information box to the more information box?
And alternatively i want to move the about us (from the more info) to information?
www.unikids.co.uk
thanxs guys
Hi Guys,
How do i change the forum text and link found in the information box to the more information box?
And alternatively i want to move the about us (from the more info) to information?
www.unikids.co.uk
thanxs guys
Use the admin > tools > developers tools > search function (use the bottom left entry box) to find the files that "about us" are in. Look for files that associate it to more info. the entry that is there for it needs to moved to the information box
Similar for forum
this is source for about us:
And this for "Forum":Code:<li><a href="http://unikids.splay.co.uk/zencart/index.php?main_page=page_4&zenid=xx??">About Us</a></li>
Code:<li><a href="http://unikids.splay.co.uk/zencart/../forum/index.php" target="_blank">Forum</a></li> </ul>
Zen-Venom Get Bitten
hi made a search as you said..and the about us only this:
/home/vjain/public_html/unikids/zencart/includes/languages/english.php
Line #277 : define('BOX_INFORMATION_PAGE_4', 'About Us');
having looked in here i found:
// information box text in sideboxes/information.php
define('BOX_HEADING_INFORMATION', 'Information');
define('BOX_INFORMATION_PRIVACY', 'Privacy Notice');
define('BOX_INFORMATION_CONDITIONS', 'Conditions of Use');
define('BOX_INFORMATION_CONTACT', 'Contact Us');
define('BOX_BBINDEX', 'Forum');
and here i found:
// information box text in sideboxes/more_information.php - were TUTORIAL_
define('BOX_HEADING_MORE_INFORMATION', 'More Information');
define('BOX_INFORMATION_PAGE_2', 'How we work');
define('BOX_INFORMATION_PAGE_3', 'Selling Your Book(s)');
define('BOX_INFORMATION_PAGE_4', 'About Us');
i swopped the
'define('BOX_INFORMATION_PAGE_4', 'About Us');' with
define('BOX_BBINDEX', 'Forum');
but nothing happened???
As "about us" is something that you added you should find additional areas (more information) where you added it and this needs to be moved to "Information"
In includes/modules/sideboxes/information.php you add the above and find
And move this to includes/modules/sideboxes/more_information.phpCode:// Forum (phpBB) link: if ( (isset($phpBB->phpBB['db_installed_config']) && $phpBB->phpBB['db_installed_config']) && (isset($phpBB->phpBB['files_installed']) && $phpBB->phpBB['files_installed']) && (PHPBB_LINKS_ENABLED=='true')) { $information[] = '<a href="' . zen_href_link($phpBB->phpBB['phpbb_url'] . FILENAME_BB_INDEX, '', 'NONSSL', false, '', true) . '" target="_blank">' . BOX_BBINDEX . '</a>'; // or: $phpBB->phpBB['phpbb_url'] . FILENAME_BB_INDEX // or: str_replace(str_replace(DIR_WS_CATALOG, '', DIR_FS_CATALOG), '', DIR_WS_PHPBB) }
Don't forget to remove the about us from this file and move it to information.php
Looked a bit closer and you do not seem to have used the "About Us" module available in the downloads area - so you only changed the title of page_4 - look at the directions for the module in the dowloads area/sideboxes
Last edited by kobra; 25 Feb 2007 at 03:40 AM.
Zen-Venom Get Bitten