Thread: URL Trouble
View Single Post
  #1  
Old 03-12-2003, 02:42 PM
 
machnhed1 machnhed1 is offline
 

eXpert
  
Join Date: Feb 2003
Location: Illinois
Posts: 274
 

Default URL Trouble

I have been messing with this problem on and off for a good day now, here's the deal.

The following code is used in my categories.tpl file to display each category

Code:
{section name=cat_num loop=$categories} <tr> <td class=VertMenuItems><font class=CategoriesList>•{$categories[cat_num].category|escape|wordwrap:23:" \n"}</font> </td> </tr> {/section}

The problem is that when the category title extends to a second line (because it exceeds 23 characters) the link does not carry the categoryid number in the URL.

Here are two examples or typical links...

Working URL Example (top line):
http://www.thewebsite.com/store/customer/home.php?cat=328&XCARTSESSID=6dea0fbfecc8864014e6f b291cf8df0a

Non-Working URL Example (bottom line):
http://www.thewebsite.com/store/customer/home.php?cat=.categoryid&XCARTSESSID=6dea0fbfecc88 64014e6fb291cf8df0a

Thanks in advance to anyone who can solve this. I am drawing a blank.
Reply With Quote