What I mean is it is working...but still not in the Configuration drop down menu in admin
What I mean is it is working...but still not in the Configuration drop down menu in admin
Hi there
I'm hoping there is someone out there. I'm doing an upgrade of a shop running Zen Car 1.3.7.1 to 1.5.1. I have everything ready to go, the shop down for maintenance and I had only to remove Image Handler and Lightbox from the database before proceeding. However, I can't find an uninstall.sql script for Lightbox 1.4 which is the version installed on the store. I've redownloded the zip of 1.4 and there isn't one in there. I tried running the version 5 one, but that said that there was nothing to change.
Please can someone help me? I take it I do need to remove it prior to setting up all my newly changed files and upgrading the database?
Any help gratefully received (I thought this was going to be the easy bit!)
RoPey
Sorry - that last post should say 'I've tried running the version 1.5 one'....
RoPey
I came into the project later than 1.4, so I'm not really familiar with it, but I looked at the install.txt file and it has some delete functionality built in, BUT it reinstalls itself right away.
Try running just this top part:
SET @t4=0;
SELECT (@t4:=configuration_group_id) as t4
FROM configuration_group
WHERE configuration_group_title= 'Zen Lightbox';
DELETE FROM configuration WHERE configuration_group_id = @t4;
DELETE FROM configuration_group WHERE configuration_group_id = @t4;
That seems to have done something - I have to confess I'm unsure what. However, it came back with:
Query Results: SET @t4=0;
SELECT (@t4:=configuration_group_id) as t4 FROM zen_configuration_group WHERE configuration_group_title= 'Zen Lightbox';
DELETE FROM zen_configuration WHERE configuration_group_id = @t4;
DELETE FROM zen_configuration_group WHERE configuration_group_id = @t4;
Can you help me understand what that has done?
Thank you so much for the reply!
My Site - Zen Cart & WordPress integration specialist
I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.
FYI
Revisiting how to move the Prev/Next buttons clear above image and then restore truncated bottom of image within the popup, as first raised for v1.6.2 in http://www.zen-cart.com/forum/showpo...postcount=2791, I made the following changes in stylesheet_zen_lightbox.css for v1.6.4:
CheersCode:#lbImage { position: absolute; left: 0; top: 22px; /* was 0, may need to be increased to 32px to clear border thickness, if coloured differently. */ border: 10px solid #fff; /* if desired */ background-repeat: no-repeat; padding-bottom:12px; /* added to restore bottom of image */ } #lbPrevLink, #lbNextLink { display: block; position: absolute; top: -32px; /* 0 */ /* Note the minus sign */ width: 50%; height:auto; outline: none; } #lbCaption, #lbNumber { clear:both; /* added */ text-align:center; /* added */ }