For those who want a bit more background on this problem, please see this post: http://www.zen-cart.com/showthread.p...ag-not-working
For those who want a bit more background on this problem, please see this post: http://www.zen-cart.com/showthread.p...ag-not-working
That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.
hi, thank you for the support page. i am interested in using this plug in but after reading the documentation i am not sure about how to align the css.
the documentation states: Use the selector #pinitButton in your CSS stylesheet to position the button (use !important to override the inline styles).
i am not 100% sure how to do that. let's say i want to align it to the left.
#pinitButton {text-align:left}
would this be correct?
or if anyone has an example of showing the pinterest button underneath the larger image.
i just want to make sure before i actually install it.
i am open to any suggestions on placement.
thanks
/*pininterest*/
#pinitButton {margin-left:5em !important;}
When running the Install sql i get an error at the top saying 'Cannot execute because table admin_pages does not exist. CHECK PREFIXES!'
Any clues?
If you're not running 1.5, remove that statement from the SQL.
That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.
BTW, this is included in the instructions:
Patch your database by copying and pasting the contents of install.sql in the Admin Panel at Tools->Install SQL Patches. Note that the final line of install.sql is only required for Zen Cart 1.5.0 and above; if you are using Zen Cart 1.3.9, you should delete it.
That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.
This is my first time trying to install the addon... I am at step 1 with the SQL patching. I opened the install file, copied the code, and pasted into the SQL box in my admin. I received this error:
Forbidden
You don't have permission to access /zc_admin/sqlpatch.php on this server.
Any idea what this means, and how to fix it? It's odd since I ran an sql code to do the product display columns. So I'm not sure why it won't let me run a code now.
Last edited by meljen; 28 Nov 2012 at 10:23 PM.
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.
that's a comment - you want to delete the line below that line.
That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.
Would it be possible to use a medium image?
Thanks,
Joe