I was also wondering how to create a new define page and found this post.
Thanks to the instructions given by you guys, I have successfully created a new define page. Except only one step is missing; you have to insert a new row in the "configuration" table in the database.
Code:
INSERT INTO `zencart`.`zen_configuration` ( `configuration_id` ,
`configuration_title` ,
`configuration_key` ,
`configuration_value` ,
`configuration_description` ,
`configuration_group_id` ,
`sort_order` ,
`last_modified` ,
`date_added` ,
`use_function` ,
`set_function`
)
VALUES ( NULL , 'Define Page 9', 'DEFINE_PAGE_9_STATUS', '1', 'Enable the Defined Page 9 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', '25', '85', NULL , '0001-01-01 00:00:00', NULL , 'zen_cfg_select_option(array(''0'', ''1'', ''2'', ''3''),'
);
Bookmarks