2013年11月15日星期五

How to close to delete zencart page PAGE

zencart default exists page_2, Page_3, page_4 these useless pages in the generated map, there will be a connection of these pages, how to turn off and delete these pages:

zencart these pages are configured in a database, such as page_2, control the display of this page is an if conditional statement,


<?php if (DEFINE_ABOUT_US_STATUS >= 1 and DEFINE_ABOUT_US_STATUS <= 2) { ?>
 
Obviously after DEFINE_ABOUT_US_STATUS constants for the database, you can change its value,

Into the background, tools -
Developers Tool Kit development tools (in the first row constant search, enter: DEFINE_ABOUT_US_STATUS find, that is able to find the corresponding constants, and then point editing, can be controlled

Including the following:
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

You can change the value to 3, well done!
Tagged under:

0 评论:

发表评论