Re: Link Manager 3.0 Support Thread
Quote:
Originally Posted by
pixelpadre
Is there a mod that will create a sidebox where i can put exclusively external links to my other websites?
Thanks
use the "blank sidebox" mod
Re: Link Manager 3.0 Support Thread
Quote:
Originally Posted by
clydejones
That's the only section of Link Manager that I can think of that might cause the conflict.
But note that it is not called by the sidebox.
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
Re: Link Manager 3.0 Support Thread
Quote:
Originally Posted by
hrinfo
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 :D
Tassos
Re: Link Manager 3.0 Support Thread
Quote:
Originally Posted by
hrinfo
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 :D
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?
Re: Link Manager 3.0 Support Thread
Quote:
Originally Posted by
clydejones
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
Re: Link Manager 3.0 Support Thread
Quote:
Originally Posted by
clydejones
Here's the fix;
open includes/modules/pages/popup_links_help
delete the following file:
jscript_main.php
-------
This fix will be included in the next update of Link Manager
Opened includes/modules/pages/popup_links_help and renamed jscript_main.php to jscript_main.php.bak
Then enabled Links sidebox and tested Zen Lightbox.
Result: Zen Lightbox stops working :shocking:
Re: Link Manager 3.0 Support Thread
Hi Clyde
Found the bug and fixed it :-)
In /includes/templates/your_template_/sideboxes/tpl_links_select.php
Replace line 14:
$content.= zen_draw_form('links', zen_href_link(FILENAME_LINKS, '', 'NONSSL', false), 'get');
With:
$content.= zen_draw_form('links_form', zen_href_link(FILENAME_LINKS, '', 'NONSSL', false), 'get');
Hope that helps few people but thanks does goes to Clyde for this great module.
Tassos
Re: Link Manager 3.0 Support Thread
Quote:
Originally Posted by
hrinfo
Hi Clyde
Found the bug and fixed it :-)
In /includes/templates/your_template_/sideboxes/tpl_links_select.php
Replace line 14:
$content.= zen_draw_form('links', zen_href_link(FILENAME_LINKS, '', 'NONSSL', false), 'get');
With:
$content.= zen_draw_form('links_form', zen_href_link(FILENAME_LINKS, '', 'NONSSL', false), 'get');
Hope that helps few people but thanks does goes to Clyde for this great module.
Tassos
Just tested your fix and can confirm that it works :cool:
Links sidebox is turned on and Zen Lightbox works as well
Re: Link Manager 3.0 Support Thread
Quote:
Originally Posted by
hrinfo
Hi Clyde
Found the bug and fixed it :-)
In /includes/templates/your_template_/sideboxes/tpl_links_select.php
Replace line 14:
$content.= zen_draw_form('links', zen_href_link(FILENAME_LINKS, '', 'NONSSL', false), 'get');
With:
$content.= zen_draw_form('links_form', zen_href_link(FILENAME_LINKS, '', 'NONSSL', false), 'get');
Hope that helps few people but thanks does goes to Clyde for this great module.
Tassos
Quote:
Originally Posted by
frank18
Just tested your fix and can confirm that it works :cool:
Links sidebox is turned on and Zen Lightbox works as well
I'll make sure this gets included in the next upgrade of the module.
Re: Link Manager 3.0 Support Thread
Hello,
I would like to remove the category images and have the titles stack in one column. How would I do this?
Links Page
Thanks for the help!