andrewappleseed Posted January 5, 2011 Share Posted January 5, 2011 HI,i want to customize the screen "manufacturer.php?id_manufacturer=3", when i show items of one manufacturer.the template is like:{include file=$tpl_dir./breadcrumb.tpl} {$manufacturer->name|escape:'htmlall':'UTF-8'} {include file=$tpl_dir./errors.tpl}Then, i want to add:{$manufacturer->description|escape:'htmlall':'UTF-8'}But this is HTML code and the template show the html code in the web.is there some method to parse this? Link to comment Share on other sites More sharing options...
CYTechnologies Posted January 6, 2011 Share Posted January 6, 2011 Hello,Use this: {$manufacturer->description|escape:'':'UTF-8'} Remove the htmlall filter :-) Link to comment Share on other sites More sharing options...
andrewappleseed Posted January 7, 2011 Author Share Posted January 7, 2011 Thanks!I was trying to understand how this filter works! Link to comment Share on other sites More sharing options...
CYTechnologies Posted January 7, 2011 Share Posted January 7, 2011 You could probably take that entire escape off, just use {$man->description}I didn't think of that at first lol - not enough coffee. :-) 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