Please can you tell me if it is line 19 that I should delete if using Zencart 1.3.9h? Ive highlighted it in red at the bottom.
SET @configuration_group_id=0;
SELECT @configuration_group_id:=configuration_group_id
FROM configuration_group
WHERE configuration_group_title= 'Pinterest Pin-It Button'
LIMIT 1;
DELETE FROM configuration WHERE configuration_group_id = @configuration_group_id AND configuration_group_id != 0;
DELETE FROM configuration_group WHERE configuration_group_id = @configuration_group_id AND configuration_group_id != 0;
INSERT INTO configuration_group (configuration_group_id, configuration_group_title, configuration_group_description, sort_order, visible) VALUES (NULL, 'Pinterest.com Pin-It Button', 'Set Pinterest.com Pin-It Button Options', '1', '1');
SET @configuration_group_id=last_insert_id();
UPDATE configuration_group SET sort_order = @configuration_group_id WHERE configuration_group_id = @configuration_group_id;
INSERT INTO configuration (configuration_id, configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added, use_function, set_function) VALUES
(NULL, 'Version', 'PIN_IT_BUTTON_VERSION', '1.2.1', 'Version Installed:', @configuration_group_id, 0, NOW(), NULL, NULL),
(NULL, 'Enable Pinterest Button', 'PINTEREST_BUTTON_STATUS', 'false', 'Enable the Pinterest.com Pin It Button?', @configuration_group_id, 0, NOW(), NULL, 'zen_cfg_select_option(array(\'true\', \'false\'),'),
(NULL, 'Pinterest Button Count', 'PINTEREST_BUTTON_COUNT', 'none', 'Display the count horizontally, vertically, or disable (none)', @configuration_group_id, 10, NOW(), NULL, 'zen_cfg_select_option(array(\'none\', \'vertical\', \'horizontal\'),'),
(NULL, 'Pinterest Method', 'PINTEREST_BUTTON_METHOD', 'basic', 'Use the basic method (for single pin-it buttons per page) or the advanced method (for multiple buttons - asynchronous):', @configuration_group_id, 20, NOW(), NULL, 'zen_cfg_select_option(array(\'basic\', \'advanced\'),');
# Register the configuration page for Admin Access Control
Thank you.



Reply With Quote

