WYSIWYG editor

I had problem with tables in articles
when i add table page look like this
Attachment 33930

i found some solution and i modify

changed this code


<div class="std"><?php echo $_helper->productAttribute($_product, nl2br($_product->getShortDescription()), 'short_description') ?></div>



<div class="std"><?php echo $_helper->productAttribute($_product, $_product->getShortDescription(), 'short_description') ?></div>

tables are displaying correctly now
but is this ok solution ?

also any tutorial for this?
i want to remove compare product from col-left sidebar
and add something custom like text box or image or flash ..etc
also to display different content to different pages

Attachment 33935

1 answer

Profile photo of Sherlock 0.00 $tone February 14, 2014

I think that could be a good solution, to remove the compare product from the col-left you can open the layout file app\design\frontend\default\jm_megamall\layout\cat alog.xml there you can remove this

HTML Code:

  <block type="catalog/product_compare_sidebar" before="cart_sidebar" name="catalog.compare.sidebar" template="catalog/product/compare/sidebar.phtml"/>

Regarding the custom contents you can add them to a static block and then add that block to display on the left, I have no ideal how you can display different content to different pages.


Please login or Register to Submit Answer

Written By