Category Description Display

  • Posts: 292
  • Thank you received: 5
  • Hikashop Business
13 years 4 months ago #20474

I was investigating where some blank space was coming from in a category display.
This comes from lines 49-51 category/tmpl/listing.php

<p>
<php echo JHTML::_('content.prepare',$this->element->category_description); >
</p>
The HTML generated by this is:
<p><p>My category description</p></p>
Firebug shows this as:
<p> </p><p>My category description</p>
You can see an example of this on your demo:

www.demo.hikashop.com/index.php?option=c...on&Itemid=90&lang=en

Would it be better if the code in category/tmpl/listing.php used a <div> instead?
<div class="hikashop_category_description_content">
<?php echo JHTML::_('content.prepare',$this->element->category_description); ?>
</div>
Similarly lines 48-50 in product/tmpl/listing.php

Last edit: 13 years 4 months ago by brainforge.

Please Log in or Create an account to join the conversation.

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
13 years 4 months ago #20502

Why not yes.

Please Log in or Create an account to join the conversation.

  • Posts: 292
  • Thank you received: 5
  • Hikashop Business
13 years 4 months ago #20505

Next release presumably.

Please Log in or Create an account to join the conversation.

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
13 years 4 months ago #20508

Yes.

Please Log in or Create an account to join the conversation.

  • Posts: 292
  • Thank you received: 5
  • Hikashop Business
13 years 4 months ago #20509

Thanks.

Please Log in or Create an account to join the conversation.

Time to create page: 0.059 seconds
Powered by Kunena Forum