Plugin in category description (solved)

  • Posts: 19
  • Thank you received: 0
13 years 9 months ago #7079

Hi everybody,

is it possible to insert plugins in category descriptions?

Why I am asking: Because of only having a couple of products, I want to have a "products listing" menu page to be my main shop site. On the top of that page should be a short description. Beneath, there should be the products listing in three columns.

So I have made a category description that shows on top and the products under that. BUT: for formatting that conent, I normally use the plugins "XTYPO" and "Tabs and Slides". But those plugins do not seem to work in the category descption. I only see the plugin tags. If I insert the plugin tags to a product page, they work perfectly.

So is there a way to make the plugins work in the category description? Or is there another workaround to have a "menu page" (not module) with some content on top of the page listing?

Thanks for your advice,
Kohypon

Last edit: 13 years 9 months ago by kohypon.

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
13 years 9 months ago #7081

Hi,

The category description does not handle content plugins in the current version of HikaShop. However, that's something we already added for next version which will be released next week.

In the mean time, if you want that functionality, you can go in the menu Display->Views and edit the file listing of the views product and category and replace the line:
echo $this->element->category_description;
with the line:
echo JHTML::_('content.prepare',$this->element->category_description);

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

  • Posts: 19
  • Thank you received: 0
13 years 9 months ago #7082

Hi Nicolas,

works perfect!

One additional question: is it possible to use the xtypo-plugin (= a rounded box around the content)to format the whole content of the product listing page? I mean, so that ALL content of the menu-page (including the top-descritpion and the product listing beneath) are included in the rounded xtypo-box?

Thank you for you awesome support.
Kohypon

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
13 years 9 months ago #7083

What you can do is create a joomla article and a menu item to that article. In the article, you can then in the loadposition plugin of joomla to load a hikashop content module which lists your products and your xtypo box plugin around it.

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

Time to create page: 0.058 seconds
Powered by Kunena Forum