Separate image from description

  • Posts: 4
  • Thank you received: 0
9 years 10 months ago #216656

-- HikaShop version -- : 2.6.0
-- Joomla version -- : 3.4.4
-- PHP version -- : 5.5.18
-- Browser(s) name and version -- : chrome
-- Error-message(debug-mod must be tuned on) -- : none

Hi,

I am working on the layout for categories. This section of code

echo preg_replace('#<hr *id="system-readmore" */>.*#is','',$this->row->category_description);

Grabs the description, as well as the image uploaded under the 'images and files' box in the product. Is there a way to separate the image and description?

Thanks

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

  • Posts: 84233
  • Thank you received: 13673
  • MODERATOR
9 years 10 months ago #216672

Hi,

I don't see how the category description would contain the image of a product.
But even so, the category description doesn't contain the category image, and the product description doesn't contain the product image.
So I don't see what you're trying to do.

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

  • Posts: 4
  • Thank you received: 0
9 years 10 months ago #216800

Argh. I found the issue. There the image was in the description... sorry. Thanks

Attachments:
Last edit: 9 years 10 months ago by support@khoza.com. Reason: foudn solution

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

Time to create page: 0.038 seconds
Powered by Kunena Forum