justdogwalking.com Posted February 7, 2011 Share Posted February 7, 2011 Hi My original post on this seems to have gone walkabout. can anyone help?In the short product description listings ( in a catagory) if you hover the mouse over the description all the html is displayed which is a bit messy. Does anyone know how I can prevent this?ThanksExamples herehttp://www.justdogwalking.com/7-dog-control Link to comment Share on other sites More sharing options...
justdogwalking.com Posted February 8, 2011 Author Share Posted February 8, 2011 Hi Does nobody else have this problem?Would very much appreciate any suggestions?Using default PS theme version1.3.2 Thanks Link to comment Share on other sites More sharing options...
justdogwalking.com Posted February 9, 2011 Author Share Posted February 9, 2011 Hi Still no one got any suggestions?or am I missing something simple?Thanks Link to comment Share on other sites More sharing options...
jamalali Posted July 4, 2011 Share Posted July 4, 2011 Dude! Dunno if you've fixed this but I'm getting the exact same problem. It is a bit messy but don't want to remove the title tag because of SEO. Link to comment Share on other sites More sharing options...
justdogwalking.com Posted July 5, 2011 Author Share Posted July 5, 2011 Hi J I have not seen or been offered any fix sorry. Link to comment Share on other sites More sharing options...
jamalali Posted July 5, 2011 Share Posted July 5, 2011 J.comThanks for getting back to me. I've creating a new post regarding this, if I get a solution I'll let you know.J Link to comment Share on other sites More sharing options...
jamalali Posted July 5, 2011 Share Posted July 5, 2011 Yo J.comThink I've got a solution for ya.In the file product-list.tpl look for the bit where the "description_short" is inserted in the <title> tag. Mine was on line 9. It should be something along the lines of:title="{$product.description_short|truncate:360:'...'|escape:'htmlall':'UTF-8'|strip_tags:'UTF-8'}"What you need to do is:1. remove "escape:'htmlall':'UTF-8'|" and2. change "strip_tags:'UTF-8'" to "strip_tags:false"So your <title> tage should be:title="{$product.description_short|truncate:360:'...'|strip_tags:false}"I haven't a clue what the "strip_tags:'UTF-8'" bit does but looking at the documentation for smarty suggests putting the word "false" and hey presto it worked.Have a look at this for more information:http://www.smarty.net/docsv2/en/language.modifiers.tplLet me know how you get on.J Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now