craftychic Posted January 13, 2011 Share Posted January 13, 2011 I'd like the category description to show at the top of the category page - above the products. I'm having a hard time understanding why this doesn't work. category.tpl reads: {if $category->description} {$category->name|escape:'htmlall':'UTF-8'} {$category->description} {/if} Link to comment Share on other sites More sharing options...
craftychic Posted January 14, 2011 Author Share Posted January 14, 2011 bump. Anyone? Link to comment Share on other sites More sharing options...
craftychic Posted January 21, 2011 Author Share Posted January 21, 2011 still looking for help with this... Link to comment Share on other sites More sharing options...
MyNawtyToys Posted January 22, 2011 Share Posted January 22, 2011 Hi, I am new here but I think can help you out a little bit. If you add an image in the category along with the description, the description will appear(along with the image) above the products. If you add a description without a image you will only get the description when you hover over the category and will not appear above the products Link to comment Share on other sites More sharing options...
craftychic Posted January 22, 2011 Author Share Posted January 22, 2011 Thank you for the new perspective!! I just took another look and realized the IF statement for the description is nested inside the IF statement for the image... so I moved the description down a few lines (outside of the div) and it works! Finally!! Link to comment Share on other sites More sharing options...
bugsylille Posted March 8, 2011 Share Posted March 8, 2011 can you show us the entire code please? Link to comment Share on other sites More sharing options...
Proglamour Posted March 29, 2011 Share Posted March 29, 2011 {if $category->id_image} <!--getCatImageLink($category->link_rewrite, $category->id_image, 'category')}" alt="{$category->name|escape:'htmlall':'UTF-8'}" title="{$category->name|escape:'htmlall':'UTF-8'}" id="categoryImage" />--> {if $category->description} {$category->name|escape:'htmlall':'UTF-8'} {$category->description} {/if} {/if} it works for me...have a try 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