Never mind. I forgot to add
define('FILENAME_DEFINE_PAGE_5', 'define_page_5');
to filenames.php
Never mind. I forgot to add
define('FILENAME_DEFINE_PAGE_5', 'define_page_5');
to filenames.php
Anyone who wants to add more define pages can download the About Us mod from Free Addons. It has all of the 8 files and edits you need to correctly make a define page.
well, create a new page called "my1" following the wiki,
https://www.zen-cart.com/wiki/index....ting_new_pages
and then edit /include/languages/english.php
define('BOX_INFORMATION_MY1', 'my1');
if you want the new page to appear in the more info sideboxes, edit
/include/modules/sideboxes/more_information.php
if (DEFINE_MY1_STATUS <= 0) {
$more_information[] = '<a href="' . zen_href_link(FILENAME_MY1) . '">' . BOX_INFORMATION_MY1 . '</a>';
}
dont forget to also edit filename.php to link the page name:
/includes/filename.php
define('FILENAME_MY1', 'my1');
hope you got it.
Bookmarks