0 Bewertungen0% fanden dieses Dokument nützlich (0 Abstimmungen)
12 Ansichten2 Seiten
ABOUT_US page for Zen Cart v1.3.x ===== === Tested on Zen Cart 1.39b and php 5. To add this page to your system, 1. BACKUP ALL FILES AND YOUR DATABASE 2. Run the install_about_us.sql in admin. Rename the "MYTEMPLATE" folders to be the same name as your main template.
ABOUT_US page for Zen Cart v1.3.x ===== === Tested on Zen Cart 1.39b and php 5. To add this page to your system, 1. BACKUP ALL FILES AND YOUR DATABASE 2. Run the install_about_us.sql in admin. Rename the "MYTEMPLATE" folders to be the same name as your main template.
Copyright:
Attribution Non-Commercial (BY-NC)
Verfügbare Formate
Als TXT, PDF, TXT herunterladen oder online auf Scribd lesen
ABOUT_US page for Zen Cart v1.3.x ===== === Tested on Zen Cart 1.39b and php 5. To add this page to your system, 1. BACKUP ALL FILES AND YOUR DATABASE 2. Run the install_about_us.sql in admin. Rename the "MYTEMPLATE" folders to be the same name as your main template.
Copyright:
Attribution Non-Commercial (BY-NC)
Verfügbare Formate
Als TXT, PDF, TXT herunterladen oder online auf Scribd lesen
x ================================= Tested on Zen Cart 1.39b and php 5.3 License GPL as per included gpl.txt ABOUT US page support thread http://www.zen-cart.com/forum/showthread.php?p=880111
To add this page to your system,
1. BACKUP ALL FILES AND YOUR DATABASE 2. Run the install_about_us.sql in admin. Check that a new option of "Define Abo ut Us Status" is now shown in Admin->Configuration->Define Page Status 3. Rename the "MYTEMPLATE" folders to be the same name as your main template, an d install the following files to the same file structure as your shop: /includes/extra_datafiles/about_us_filenames.php /includes/languages/english/extra_definitions/about_us.php /includes/languages/english/html_includes/define_about_us.php (this adds t he page to the drop down box in Define Pages Editor) /includes/languages/english/html_includes/MYTEMPLATE/define_about_us.php /includes/languages/english/about_us.php /includes/modules/pages/about_us/header_php.php /includes/modules/sideboxes/information.php ****MERGE WITH EXISTING FILE /includes/templates/MYTEMPLATE/templates/tpl_about_us_default.php /includes/templates/MYTEMPLATE/templates/tpl_site_map_default.php 4. Upload all the files to your server, following the same folder structure as f ound in this ZIP. 5. The link to the about_us page has already been added to the information sideb ox or your can add it to another location as desired. The URL for it is either: - zen_href_link(FILENAME_ABOUT_US) or - http://www.mysite.com/index.php?main_page=about_us HERE'S AN EXAMPLE ON HOW TO ADD IT TO THE "information" SIDEBOX: a. edit /includes/modules/sideboxes/MYTEMPLATE/information.php b. add this line, perhaps right above the "Shipping" link (FILENAME_SHIPPING) : $information[] = '<a href="' . zen_href_link(FILENAME_ABOUT_US) . '">' . BO X_INFORMATION_ABOUT_US . '</a>'; c. Upload these changes to your server, and the link will appear in your "inf ormation" sidebox.
TO USE THIS PACKAGE FOR OTHER PAGES
=================================== It's easy to use this package as a model for other customizable pages. Let's say you wanted to create another page called "mypage": - simply rename "about_us" in every filename or folder in this package to "mypag e" - edit the extra_datafiles/mypage_filenames.php and change the define's by chang ing "ABOUT_US" and "about_us" to "MYPAGE" and "mypage" respectively. - edit modules/pages/ABOUT_US/header_php.php and change the "ABOUT_US" reference to "MYPAGE" - edit any of the language files as desired (some heading defines will need chan ges) Upload to your server. To add links to a sidebox, see step #4 above. Change History: Date Version Who Why =============================================================================== 06/05/2010 1.3.1 torvista constant DEFINE_ABOUT_US_STATUS not defi ned - included sql install/uninstall to add to admin->Define pages section. Included spanish language files. Included tpl_site_map_default.php checked for php5.3 and Zen Cart 139b com patibility 08/29/2007 1.3.0.13 webmiss Easier instructions for installing about_us page 05/05/2007 1.3.0.1 swguy Correct use of require_languages.php 06/29/2006 1.3.0 Zen Cart Team Bring up to 1.3.0 Standards