Biz Connection FREE TRIAL + $75 GOOGLE ADWORD - FREE VOUCHER for YOU!

Define pages part 2, database and admin – ZenCart

Data about Zencart are stored in two tables :

YOURPRFIX_configuration_grp

YOURPRFIX_configuration

For Define page the ID from YOURPRFIX_configuration_grp table is 25

Into admin area the page used to change/save parameters into configuration tables from database is /admin/configuration.php

In 1.3.8a it is not possible to add/delete any pages from “Define Page” area using Configuration or any settings from Admin interface.

Delete pages:

Edit the table YOURPRFIX_configuration table.

Look for and delete all records you consider which have configuration_title LIKE% “Define Page” Fore xample if you do not wish to see in admin Define Page 2

then delete the record which contain “Define Page 2″ in configuration_title.

Using PHPMyAdmin for example run the following command:

DELETE FROM `sco_configuration` WHERE `configuration_title` LIKE “Define Page 2″

To add a new “define page” use the following comamand:

INSERT INTO `sco_configuration` (`configuration_title`, `configuration_key`, `configuration_value`, `configuration_description`, `configuration_group_id`, `sort_order`, `last_modified`, `date_added`, `use_function`, `set_function`) VALUES( ‘OLALA Defined Page’, ‘DEFINE_OLALA_PAGE_STATUS’, ’3′, ‘Enable the OLALA Defined Page 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’, 25, 84, ’2009-09-04 07:36:41′, ’2009-08-18 01:13:41′, NULL, ‘zen_cfg_select_option(array(”0”, ”1”, ”2”, ”3”),’);

Now you caTo see page in n manage it from admin area but to see it in the menu under Information then consider changing two more pages:
/includes/english/extra_definition/headermenu.php and …. tpl_dro_menu.php (look for it common folder under active template (yours or default)

You must create and keep “related” all information in the following pages:

/includes/language/english/your_new_page.php

/includes/modules/your_new_page.php

/includes/modules/pages/header.php

/includes/templates/…../tpl_your_new_page_default.php

Have fun and if you cannot manage …. Contact us to request your “Add On” about create /delete a “define page”.

Random article

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading ... Loading ...

Leave a Comment