close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Static links to product categories

Thread began 3/02/2010 8:31 am by jaa397769 | Last modified 3/02/2010 11:10 pm by jaa397769 | 1359 views | 4 replies |

jaa397769

Static links to product categories

I'm trying to create some static links to product categories in my powerstore3 for example I create the href as <a href="Products_Results.php?Search=19&ProductCategoryID[]=19">

The browser keeps returning "Products_Results.php?Search=true&CategoryID=24"

no matter what link I click on, and there are 12 of them from #1-24 I get back this result in my browser. In powerstore 2 this worked fine, even though the statement was a little different for example

<a href="Products_Results.php?Search=true&CategoryID=19">

Can you tell me why the page is returning this result? Do you have a php statement that is causing this to happen.

One last thing, if I type in the browser after my domain name, Products_Results.php?Search=19&ProductCategoryID[]=19 I get the proper results. So I am totally befuddled.
Thank you

Sign in to reply to this post

Jason ByrnesWebAssist

please post a link to a page that displays the issue so I can investigate the cause.

Sign in to reply to this post

jaa397769

problemed page

please click on the icons you will see the results.
Thanks

Sign in to reply to this post

Jason ByrnesWebAssist

If I view source of your page, I can see that those image icons are being added to the opage twice:

<table cellspacing="5" cellpadding="5" border="0" align="center" width="800">   	  <tbody><tr>   	    <td><div align="center"><a href="Products_Results.php?Search=true&CategoryID=24"><img height="60" width="110" alt="" src="Images/finished/hunting.jpg"></a></div></td>   	    <td><div align="center"><a href="Products_Results.php?Search=true&CategoryID=23"><img height="60" width="110" alt="" src="Images/finished/archery.jpg"></a></div></td>   	    <td><div align="center"><a href="Products_Results.php?Search=true&CategoryID=22"><img height="60" width="110" alt="" src="Images/finished/fishing.jpg"></a></div></td>   	    <td><div align="center"><a href="Products_Results.php?Search=true&CategoryID=21"><img height="60" width="110" alt="" src="Images/finished/camping.jpg"></a></div></td>       </tr>   	  <tr>   	    <td><div align="center"><a href="Products_Results.php?Search=true&CategoryID=20"><img height="60" width="110" alt="" src="Images/finished/home.jpg"></a></div></td>   	    <td><div align="center"><a href="Products_Results.php?Search=true&CategoryID=19"><img height="60" width="110" alt="" src="Images/finished/auto.jpg"></a></div></td>   	    <td><div align="center"><a href="Products_Results.php?Search=true&CategoryID=18"><img height="60" width="125" alt="" src="Images/finished/happarel.jpg"></a></div></td>   	    <td><div align="center"><a href="Products_Results.php?Search=true&CategoryID=17"><img height="60" width="110" alt="" src="Images/finished/mens.jpg"></a></div></td>       </tr>   	  <tr>   	    <td><div align="center"><a href="Products_Results.php?Search=true&CategoryID=16"><img height="60" width="120" alt="" src="Images/finished/womens.jpg"></a></div></td>   	    <td><div align="center"><a href="Products_Results.php?Search=true&CategoryID=15"><img height="60" width="110" alt="" src="Images/finished/youthapparel.jpg"></a></div></td>   	    <td><div align="center"><a href="Products_Results.php?Search=true&CategoryID=14"><img height="60" width="110" alt="" src="Images/finished/shoes.jpg"></a></div></td>   	    <td><div align="center"><a href="Products_Results.php?Search=true&CategoryID=25"><img height="60" width="110" alt="" src="Images/finished/clearance.jpg"></a></div></td>       </tr>     </tbody></table>    <p>&nbsp;</p> 
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<table width="800" border="0" cellspacing="5" cellpadding="5" align="center">
<tr>
<td><div align="center"><a href="Products_Results.php?Search=19&ProductCategoryID[]=19"><img src="Images/finished/hunting.jpg" alt="" width="110" height="60" /></a></div></td>
<td><div align="center"><a href="Products_Results.php?Search=20&ProductCategoryID[]=20"><img src="Images/finished/archery.jpg" alt="" width="110" height="60" /></a></div></td>
<td><div align="center"><a href="Products_Results.php?Search=21&ProductCategoryID[]=21"><img src="Images/finished/fishing.jpg" alt="" width="110" height="60" /></a></div></td>
<td><div align="center"><a href="Products_Results.php?Search=22&ProductCategoryID[]=22"><img src="Images/finished/camping.jpg" alt="" width="110" height="60" /></a></div></td>
</tr>
<tr>
<td><div align="center"><a href="Products_Results.php?Search=17&ProductCategoryID[]=17"><img src="Images/finished/home.jpg" alt="" width="110" height="60" /></a></div></td>
<td><div align="center"><a href="Products_Results.php?Search=18&ProductCategoryID[]=18"><img src="Images/finished/auto.jpg" alt="" width="110" height="60" /></a></div></td>
<td><div align="center"><a href="Products_Results.php?Search=6&ProductCategoryID[]=6"><img src="Images/finished/happarel.jpg" alt="" width="125" height="60" /></a></div></td>
<td><div align="center"><a href="/ecomshop/Products_Results.php?Search=1&ProductCategoryID[]=1"><img src="Images/finished/mens.jpg" alt="" width="110" height="60" /></a></div></td>
</tr>
<tr>
<td><div align="center"><a href="Products_Results.php?Search=11&ProductCategoryID[]=11"><img src="Images/finished/womens.jpg" alt="" width="120" height="60" /></a></div></td>
<td><div align="center"><a href="Products_Results.php?Search=23&ProductCategoryID[]=23"><img src="Images/finished/youthapparel.jpg" alt="" width="110" height="60" /></a></div></td>
<td><div align="center"><a href="Products_Results.php?Search=16&ProductCategoryID[]=16"><img src="Images/finished/shoes.jpg" alt="" width="110" height="60" /></a></div></td>
<td><div align="center"><a href="Products_Results.php?Search=24&ProductCategoryID[]=24"><img src="Images/finished/clearance.jpg" alt="" width="110" height="60" /></a></div></td>
</tr>
</table>





the first time with the wrong links, the second time with the correct links. the area those icons are displayed in is not big enough to show both instances of the links, so it is only showing the first one.


you should remove the first instance of the links.

Sign in to reply to this post

jaa397769

Thanks

Got it, thanks.

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...