Thanks Clyde for the fix..![]()
Are You Vulnerable for an Accessibility Lawsuit?
myZenCartHost.com - Zen Cart Certified, PCI Compatible Hosting by JEANDRET
Free SSL, Domain, and MagicThumb with semi-annual and longer hosting
Hi Clyde,
I was hoping too that this was the fix but is not. Just tested it and no change once the sidebox is activated the Slimbox dies.
It has something to do with the Links sidebox but I have looked as well through the files (comparisons etc) but could not find anything.
That's a total weird one.
Tassos
Hi Clyde,
I have found the culprit but I don't know how to fix it so you may have a solution. The problem is in the form in sidebox template file tpl_links_select.php (in the templates folder).
The following form code produces the error:
$content.= zen_draw_form('links', zen_href_link(FILENAME_LINKS, '', 'NONSSL', false), 'get');
$content .= zen_draw_pull_down_menu('lPath', $links_array, (isset($_GET['lPath']) ? $_GET['lPath'] : ''), 'onchange="this.form.submit();" size="' . MAX_LINKS_LIST . '" style="width: 90%; margin: auto;"') . zen_hide_session_id();
$content .= zen_draw_hidden_field('main_page', FILENAME_LINKS) . '</form>';
If I remove the form element above then the sidebox still works with only the the text links to view and submit and the Slimbox works fine as well. So it is the code used above that causes it but don't know why.
Hope that will help you to figure it out and help us
Tassos
The following is the code from the manufacturers sidebox tpl_manufacturers_select.php. I can't see any difference between the the two.
$content.= zen_draw_form('manufacturers_form', zen_href_link(FILENAME_DEFAULT, '', $request_type, false), 'get');
$content .= zen_draw_hidden_field('main_page', FILENAME_DEFAULT);
$content .= zen_draw_pull_down_menu('manufacturers_id', $manufacturer_sidebox_array, (isset($_GET['manufacturers_id']) ? $_GET['manufacturers_id'] : ''), 'onchange="this.form.submit();" size="' . MAX_MANUFACTURERS_LIST . '" style="width: 90%; margin: auto;"') . zen_hide_session_id();
$content .= '</form>';
Does that mean that if you use the manufactures sidebox, lightbox (slimbox) doesn't work?
Hi Clyde
Sorry but manufactures sidebox does not affect the Slimbox. Just tested it and Slimbox worked fine until I turned on Links sidebox.
I have also looked at it and other sideboxes and the only difference that I could find was that you use $request_type and lPath. So I did remove the lines and basically just left the opening and closing lines for the form creation. Still the Slimbox didn't work. So it is ( I think) the form creation component that creates the problem but I have no idea why.
I will play a bit around later got to go now but will let you know if I figure anything else.
Tassos
PS. you can see the slimbox working here http://conderosa.mybusiness-hosting....&products_id=4