Difference between revisions of "Site map page"

From Zen Cart(tm) Wiki
Jump to: navigation, search
m
m (Reverted edits by IfjP42 (Talk); changed back to last version by DrByte)
Line 86: Line 86:
 
|-
 
|-
 
| BOX_INFORMATION_SHIPPING   
 
| BOX_INFORMATION_SHIPPING   
|  'Shipping
+
|  'Shipping & Returns' 
 +
| Edit language file<b> english.php</b> near line 136 in the directory ''includes\languages\YOUR_TEMPLATE'' 
 +
|-
 +
| BOX_INFORMATION_PRIVACY 
 +
|  'Privacy Notice' 
 +
| Edit language file<b> english.php</b> near line 134 in the directory ''includes\languages\YOUR_TEMPLATE'' 
 +
|-
 +
| BOX_INFORMATION_CONDITIONS 
 +
|  'Conditions of Use' 
 +
| Edit language file<b> english.php</b> near line 135 in the directory ''includes\languages\YOUR_TEMPLATE'' 
 +
|-
 +
| BOX_INFORMATION_CONTACT 
 +
|  'Contact Us' 
 +
| Edit language file<b> english.php</b> near line 137 in the directory ''includes\languages\YOUR_TEMPLATE'' 
 +
|-
 +
| PHPBB_LINKS_ENABLED 
 +
| false 
 +
| Change this in ADMIN<br /><b>Configuration --> My Store --> [[Admin - Configuration - My Store#Enable phpBB linkage?|Enable phpBB linkage?]].</b><br /><br />Should Zen Cart synchronize new account information to your (already-installed) phpBB forum? 
 +
|-
 +
| BOX_BBINDEX 
 +
|  'Forum' 
 +
| Edit language file<b> english.php</b> near line 138 in the directory ''includes\languages\YOUR_TEMPLATE'' 
 +
|-
 +
| BOX_INFORMATION_GV 
 +
|  TEXT_GV_NAME . ' FAQ' 
 +
| Edit language file<b> english.php</b> near line 322 in the directory ''includes\languages\YOUR_TEMPLATE'' 
 +
|-
 +
| BOX_INFORMATION_DISCOUNT_COUPONS 
 +
|  'Discount Coupons' 
 +
| Edit language file<b> english.php</b> near line 321 in the directory ''includes\languages\YOUR_TEMPLATE'' 
 +
|-
 +
| SHOW_NEWSLETTER_UNSUBSCRIBE_LINK 
 +
| true 
 +
| Change this in ADMIN<br /><b>Configuration --> E-Mail Options --> [[Admin - Configuration - E-Mail Options#Display "Newsletter Unsubscribe" Link?|Display "Newsletter Unsubscribe" Link?]].</b><br /><br />Show "Newsletter Unsubscribe" link in the "Information" side-box? 
 +
|-
 +
| BOX_INFORMATION_UNSUBSCRIBE 
 +
|  'Newsletter Unsubscribe' 
 +
| Edit language file<b> english.php</b> near line 139 in the directory ''includes\languages\YOUR_TEMPLATE'' 
 +
|-
 +
| DEFINE_PAGE_2_STATUS 
 +
| 1 
 +
| Change this in ADMIN<br /><b>Configuration --> Define Page Status --> [[Admin - Configuration - Define Page Status#Define Page 2|Define Page 2]].</b><br /><br />Enable the Defined Page 2 Link/Text?<br />0= Link ON, Define Text OFF<br />1= Link ON, Define Text ON<br />2= Link OFF, Define Text ON<br />3= Link OFF, Define Text OFF 
 +
|-
 +
| BOX_INFORMATION_PAGE_2 
 +
|  'Page 2' 
 +
| Edit language file<b> english.php</b> near line 145 in the directory ''includes\languages\YOUR_TEMPLATE'' 
 +
|-
 +
| DEFINE_PAGE_3_STATUS 
 +
| 1 
 +
| Change this in ADMIN<br /><b>Configuration --> Define Page Status --> [[Admin - Configuration - Define Page Status#Define Page 3|Define Page 3]].</b><br /><br />Enable the Defined Page 3 Link/Text?<br />0= Link ON, Define Text OFF<br />1= Link ON, Define Text ON<br />2= Link OFF, Define Text ON<br />3= Link OFF, Define Text OFF 
 +
|-
 +
| BOX_INFORMATION_PAGE_3 
 +
|  'Page 3' 
 +
| Edit language file<b> english.php</b> near line 146 in the directory ''includes\languages\YOUR_TEMPLATE'' 
 +
|-
 +
| DEFINE_PAGE_4_STATUS 
 +
| 1 
 +
| Change this in ADMIN<br /><b>Configuration --> Define Page Status --> [[Admin - Configuration - Define Page Status#Define Page 4|Define Page 4]].</b><br /><br />Enable the Defined Page 4 Link/Text?<br />0= Link ON, Define Text OFF<br />1= Link ON, Define Text ON<br />2= Link OFF, Define Text ON<br />3= Link OFF, Define Text OFF 
 +
|-
 +
| BOX_INFORMATION_PAGE_4 
 +
|  'Page 4' 
 +
| Edit language file<b> english.php</b> near line 147 in the directory ''includes\languages\YOUR_TEMPLATE'' 
 +
|-
 +
| BUTTON_IMAGE_BACK 
 +
| [[Image:button_back.gif]] 
 +
| Edit button image file<b>  'button_back.gif'</b> in the directory ''includes\templates\YOUR_TEMPLATE\buttons\english\'' with a graphic tool 
 +
|-
 +
| BUTTON_BACK_ALT 
 +
|  'Back' 
 +
| Edit button names file<b> button_names.php</b> near line 67 in the directory ''includes\languages\english\YOUR_TEMPLATE''. <br />Note: This text will be visible when your hover over this button. 
 +
|-
 +
| NAVBAR_TITLE 
 +
|  'Site Map' 
 +
| Edit language file<b> site_map.php</b> near line 10 in the directory ''includes\languages\english\YOUR_TEMPLATE'' 
 +
|-
 +
| FILENAME_DEFINE_SITE_MAP 
 +
| <p><strong>To assist you in navigating our site, we have provided the following map.</strong></p><br /><p>If you are having difficulty in locating something on our site, please visit our <a href="<?php echo zen_href_link(FILENAME_CONTACT_US); ?>">Contact Us </a> page and let us know! </p><br /> 
 +
| Edit define page file<b> define_site_map</b> <br />(Tools --> [[Admin - Tools - Define Pages Editor|Define Pages Editor]]) 
 +
|}
 +
 
 +
NOTE:
 +
This table is made by looking for used defines in the following files:
 +
* includes\modules\pages\site_map\header_php.php
 +
* includes\templates\template_default\templates\tpl_site_map_default.php
 +
Defines (configuration options) are defined in:
 +
* configuration table in the database
 +
* includes\filenames.php
 +
* includes\languages\english.php
 +
* includes\languages\english\button_names.php
 +
* includes\languages\english\site_map.php
 +
Product type configuration option are ignored
 +
Shipping, payment and Order Total module configuration option are also ignored

Revision as of 14:22, 11 April 2007

The Site_map page is explained here.



Configuration options

This table below shows most of the configuration options including language text for the Site_map page. It is based on a ZenCart version 1.3.0. Before editing files copy the original file (if not done before) to YOUR_TEMPLATE directory.

Copy image and button files

  • from includes\templates\template_default\images\..... to includes\templates\YOUR_TEMPLATE\images\.....
  • from includes\templates\template_default\buttons\..... to includes\templates\YOUR_TEMPLATE\buttons\.....

Copy language files

  • from includes\language\..... to includes\language\YOUR_TEMPLATE\.....
  • from includes\language\english\..... to includes\language\english\YOUR_TEMPLATE\.....

See also Customisation - Templates


Name Default value How to change
HEADING_TITLE 'Site Map' Edit language file site_map.php near line 11 in the directory includes\languages\english\YOUR_TEMPLATE
DEFINE_SITE_MAP_STATUS 1 Change this in ADMIN
Configuration --> Define Page Status --> Define Site Map Status.

Enable the Defined Site Map Link/Text?
0= Link ON, Define Text OFF
1= Link ON, Define Text ON
2= Link OFF, Define Text ON
3= Link OFF, Define Text OFF
SHOW_ACCOUNT_LINKS_ON_SITE_MAP No Change this in ADMIN
Configuration --> Product Info --> Site Map - include My Account Links?.

Should the links to My Account show up on the site-map?
Note: Spiders will try to index this page, and likely should not be sent to secure pages, since there is no benefit in indexing a login page.

Default: false
PAGE_ACCOUNT 'My Account' Edit language file site_map.php near line 14 in the directory includes\languages\english\YOUR_TEMPLATE
PAGE_ACCOUNT_EDIT 'Account Information' Edit language file site_map.php near line 15 in the directory includes\languages\english\YOUR_TEMPLATE
PAGE_ADDRESS_BOOK 'Address Book' Edit language file site_map.php near line 16 in the directory includes\languages\english\YOUR_TEMPLATE
PAGE_ACCOUNT_HISTORY 'Order History' Edit language file site_map.php near line 17 in the directory includes\languages\english\YOUR_TEMPLATE
PAGE_ACCOUNT_NOTIFICATIONS 'Newsletter Subscriptions' Edit language file site_map.php near line 18 in the directory includes\languages\english\YOUR_TEMPLATE
PAGE_SHOPPING_CART 'Shopping Cart' Edit language file site_map.php near line 19 in the directory includes\languages\english\YOUR_TEMPLATE
PAGE_CHECKOUT_SHIPPING 'Checkout' Edit language file site_map.php near line 20 in the directory includes\languages\english\YOUR_TEMPLATE
PAGE_ADVANCED_SEARCH 'Advanced Search' Edit language file site_map.php near line 21 in the directory includes\languages\english\YOUR_TEMPLATE
PAGE_PRODUCTS_NEW 'New Products' Edit language file site_map.php near line 22 in the directory includes\languages\english\YOUR_TEMPLATE
PAGE_SPECIALS 'Specials' Edit language file site_map.php near line 23 in the directory includes\languages\english\YOUR_TEMPLATE
PAGE_REVIEWS 'Reviews' Edit language file site_map.php near line 24 in the directory includes\languages\english\YOUR_TEMPLATE
BOX_HEADING_INFORMATION 'Information' Edit language file english.php near line 133 in the directory includes\languages\YOUR_TEMPLATE
BOX_INFORMATION_SHIPPING 'Shipping & Returns' Edit language file english.php near line 136 in the directory includes\languages\YOUR_TEMPLATE
BOX_INFORMATION_PRIVACY 'Privacy Notice' Edit language file english.php near line 134 in the directory includes\languages\YOUR_TEMPLATE
BOX_INFORMATION_CONDITIONS 'Conditions of Use' Edit language file english.php near line 135 in the directory includes\languages\YOUR_TEMPLATE
BOX_INFORMATION_CONTACT 'Contact Us' Edit language file english.php near line 137 in the directory includes\languages\YOUR_TEMPLATE
PHPBB_LINKS_ENABLED false Change this in ADMIN
Configuration --> My Store --> Enable phpBB linkage?.

Should Zen Cart synchronize new account information to your (already-installed) phpBB forum?
BOX_BBINDEX 'Forum' Edit language file english.php near line 138 in the directory includes\languages\YOUR_TEMPLATE
BOX_INFORMATION_GV TEXT_GV_NAME . ' FAQ' Edit language file english.php near line 322 in the directory includes\languages\YOUR_TEMPLATE
BOX_INFORMATION_DISCOUNT_COUPONS 'Discount Coupons' Edit language file english.php near line 321 in the directory includes\languages\YOUR_TEMPLATE
SHOW_NEWSLETTER_UNSUBSCRIBE_LINK true Change this in ADMIN
Configuration --> E-Mail Options --> Display "Newsletter Unsubscribe" Link?.

Show "Newsletter Unsubscribe" link in the "Information" side-box?
BOX_INFORMATION_UNSUBSCRIBE 'Newsletter Unsubscribe' Edit language file english.php near line 139 in the directory includes\languages\YOUR_TEMPLATE
DEFINE_PAGE_2_STATUS 1 Change this in ADMIN
Configuration --> Define Page Status --> Define Page 2.

Enable the Defined Page 2 Link/Text?
0= Link ON, Define Text OFF
1= Link ON, Define Text ON
2= Link OFF, Define Text ON
3= Link OFF, Define Text OFF
BOX_INFORMATION_PAGE_2 'Page 2' Edit language file english.php near line 145 in the directory includes\languages\YOUR_TEMPLATE
DEFINE_PAGE_3_STATUS 1 Change this in ADMIN
Configuration --> Define Page Status --> Define Page 3.

Enable the Defined Page 3 Link/Text?
0= Link ON, Define Text OFF
1= Link ON, Define Text ON
2= Link OFF, Define Text ON
3= Link OFF, Define Text OFF
BOX_INFORMATION_PAGE_3 'Page 3' Edit language file english.php near line 146 in the directory includes\languages\YOUR_TEMPLATE
DEFINE_PAGE_4_STATUS 1 Change this in ADMIN
Configuration --> Define Page Status --> Define Page 4.

Enable the Defined Page 4 Link/Text?
0= Link ON, Define Text OFF
1= Link ON, Define Text ON
2= Link OFF, Define Text ON
3= Link OFF, Define Text OFF
BOX_INFORMATION_PAGE_4 'Page 4' Edit language file english.php near line 147 in the directory includes\languages\YOUR_TEMPLATE
BUTTON_IMAGE_BACK File:Button back.gif Edit button image file 'button_back.gif' in the directory includes\templates\YOUR_TEMPLATE\buttons\english\ with a graphic tool
BUTTON_BACK_ALT 'Back' Edit button names file button_names.php near line 67 in the directory includes\languages\english\YOUR_TEMPLATE.
Note: This text will be visible when your hover over this button.
NAVBAR_TITLE 'Site Map' Edit language file site_map.php near line 10 in the directory includes\languages\english\YOUR_TEMPLATE
FILENAME_DEFINE_SITE_MAP

To assist you in navigating our site, we have provided the following map.


If you are having difficulty in locating something on our site, please visit our <a href="<?php echo zen_href_link(FILENAME_CONTACT_US); ?>">Contact Us </a> page and let us know!


Edit define page file define_site_map
(Tools --> Define Pages Editor)

NOTE: This table is made by looking for used defines in the following files:

  • includes\modules\pages\site_map\header_php.php
  • includes\templates\template_default\templates\tpl_site_map_default.php

Defines (configuration options) are defined in:

  • configuration table in the database
  • includes\filenames.php
  • includes\languages\english.php
  • includes\languages\english\button_names.php
  • includes\languages\english\site_map.php

Product type configuration option are ignored Shipping, payment and Order Total module configuration option are also ignored