Jump to content

crazy text when trying to create a link in desc.


Guest grafixster

Recommended Posts

Guest grafixster

Sry, i posted this originally in Version 2.

I'm still not able to get a hyperlink to work in the preoduct description. I was able to make a hyperlink by faking a few things.

What I'm trying to do is have a play link for the product (custom beats). The product name I simply kept as the url of the .mp3.

In the viewCat.tpl I created this:

<a href="{TXT_DESC}">Play</a>

In setting up the description of the product, I put the path to the file. So TXT_DESC is equal to the following:

/demos/beats/rap/1.mp3

This works except for 1 dag'blasted thing. When viewing the cart and clicking on the link, there is some additional text autoinserted after the link somewhere.

http://www.domain.com/demos/beats/rap/1.mp3%E2%80%A6

Where is this coming from and why? %E2%80%A6

Thanks!

Link to comment
Share on other sites

bad applied &hellip entity (horizontal ellipsis [...])

open includes/content/viewCat.inc.php

Search for

$view_cat->assign("TXT_DESC",substr(strip_tags($productResults[$i]['description']),0,$config['productPrecis'])."&hellip;");


and replace with
$view_cat->assign("TXT_DESC",substr(strip_tags($productResults[$i]['description']),0,$config['productPrecis']));

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...