Note: a new version released later will address the above problem in a better way to removing all query variables with empty values. We may even consider not redirecting at all when post method is used.
Note: a new version released later will address the above problem in a better way to removing all query variables with empty values. We may even consider not redirecting at all when post method is used.
I no longer provide installation support on forum for all my modules. However, if there are real bugs with the modules please feel free to contact me
The newest module works great! The only problem I am having is that in the footer on one of my client's sites all of the categories are shown, but on mouseover those are not show the SEO'd URL as the category boxes are. Is there an easy way to fix this? (The footer box is dynamic not static) Coding for footer box is:
<tr><td align="center" style="font-size:14px; color:#462B00;"> Favors By Theme </td></tr>
<tr><td align="center"><?php $res = mysql_query("select c.categories_id, cd.categories_name from zen_categories c, zen_categories_description cd where c.parent_id='0' and cd.language_id = '1' and c.categories_id = cd.categories_id");
$i=0;
while($row = mysql_fetch_array($res)){
if($i!='0'){
echo ' | ';
}
$i++;
echo '<a style="font-weight:normal" href="index.php?main_page=index&cPath=' . $row[categories_id] . '">'. $row[categories_name] .'</a>';
} ?>
</td></tr>
Thanks in advance!!!
In case it helps...
Mouseover in category box shows:
http://sgweddingfavors.com/candle-wedding-favors-c-1
Mouseover in footer shows:
http://sgweddingfavors.com/index.php...=index&cPath=1
Okie, some comments here:
1. The way the categories are queried is not to zencart's standard.
Not a big deal
2. You have to use zen_href_link to create the link, it will go something like this:
(Im using the code you posted)
PHP Code:
echo '<a style="font-weight:normal" href="'.zen_href_link('index',"cPath={$row['categories_id']}") . '">'. $row['categories_name'] .'</a>';
I no longer provide installation support on forum for all my modules. However, if there are real bugs with the modules please feel free to contact me
Thanks a million!!! That did the trick -- unfortunately that is only a very small portion of the site that was coded away from Zen Cart norms and I am working with it the best I can. Sadly I missed the obvious.
Thanks again!
I no longer provide installation support on forum for all my modules. However, if there are real bugs with the modules please feel free to contact me
a Problem duplicate.html)
http:/...../sillas-de-paseo-bebe-confort-c-217_242.html
http://..../sillas-de-paseo-bebe-confort-c-217_242
who can i do a redirect 301 of http:/...../sillas-de-paseo-bebe-confort-c-217_242.html to http://..../sillas-de-paseo-bebe-confort-c-217_242???
http://www.zen-cart.com/forum/showpo...postcount=1733, this modification do 301 redirect??
Thanks
Last edited by danilovig; 3 Jan 2009 at 01:21 PM.
Bookmarks