New Zenner
- Join Date:
- Jan 2007
- Location:
- Singapore
- Posts:
- 12
- Plugin Contributions:
- 0
Add a about us page to your cart and link with information sidebox
This is how to do it:
assumption : using murasakibox template
Step 1:
Added a about_us_filename.php at includes/extra_datafiles.
which define the about_us page, eg :
Step 2:
add a referral link in the information.php (information sideboxes)
create and modified :
includes/modules/sideboxes/murasakibox/information.php
added a link eg :
$information[] = '<a href="' . zen_href_link(FILENAME_ABOUT_US) . '">' . 'about us</a>';
Step 3:
create and murasakibox folder under includes/languages/english
eg : includes/languages/english/murasakibox
create a about_us.php which define :
define('NAVBAR_TITLE', 'About Murasakibox');
define('HEADING_TITLE', 'About us!');
step 4:
create a folder under includes/modules/pages named about_us
eg: includes/modules/pages/about_us
under this folder create header_php.php which define the contain of the page eg:
step 5:
under includes/templates/murasakibox create a folder called templates eg :
includes/templates/murasakibox/templates
create a templete file called tpl_about us_default.php
step 6:
under includes/languages/english/html_includes create a about_us.php, eg:
includes/languages/english/html_includes/about_us.php
create a body contain about the page
step 7:
under the admin page goto define page and modified the contain of the about us page.
done!
Hope this will help someone to create it.
Choong Leng from Singapore