I am working with a new installation of 1.5.4, with winchester responsive templates.
I just installed the latest version of Ultimate SEO URLS (2.215).
I am seeing an issue with the built-in manufacturers sidebox, which displays a pulldown list of all the manufacturers, and when you choose one of the manufacturers, it submits a form, and goes to that manufacturers page. With SEO URLS installed and turned on, it is going to:
Code:
?main_page=index&manufacturers_id=2
All the other pages are generating appropriate seo urls.
I searched through this thread, and found a report of a similar issue, and the response was:

Originally Posted by
lhungil
If you are referring to the "manufacturers sidebox" included with Zen Cart... I know older versions of Zen Cart had not yet updated the code to use zen_href_link in the sidebox (all internal links should use zen_href_link)... And alternative URLs only work when zen_href_link is used...
If the above is still the case for the version of Zen Cart you have installed... May need to use a different "manufacturers sidebox" or change the coding...
Like I said, I am using the built-in 1.5.4 manufacturers sidebox, so presumably it should be updated with the latest code.
I saw this later response, where someone said that they were able to fix this problem:

Originally Posted by
bwlinux
Thank you very much. Your explanation helped me to find and fix the problem using the code below.
PHP Code:
href="<?php echo zen_href_link(FILENAME_DEFAULT, 'manufacturers_id='.$manufacturers_id); ?>"
However, I'm not sure if they were referring to the same sidebox module.
The sidebox module template file I am referring to is in
Code:
includes/templates/template_default/sideboxes/tpl_manufacturers_select.php
It doesn't contain just a link, but a form that gets submitted when you choose one of the manufacturers in the list.
Here is the contents of the sidebox template file:
Code:
<?php
/**
* Side Box Template
*
* @package templateSystem
* @copyright Copyright 2003-2010 Zen Cart Development Team
* @copyright Portions Copyright 2003 osCommerce
* @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
* @version $Id: tpl_manufacturers_select.php 15882 2010-04-11 16:37:54Z wilt $
*/
$content = "";
$content .= '<div id="' . str_replace('_', '-', $box_id . 'Content') . '" class="sideBoxContent centeredContent">';
$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>';
$content .= '</div>';
?>
It does appear not to have been modified since 2010.
Does anyone have any suggestions on how I can fix this issue? I apologize if I missed a post on this, but I tried to do a very thorough search on this.
Thanks in advance for any help!
Bookmarks