Tooltip

  • Posts: 13
  • Thank you received: 0
11 years 7 months ago #95152

Hi

Is there any way to add a tooltip to category listing images?

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

  • Posts: 13201
  • Thank you received: 2322
11 years 7 months ago #95199

Hi,

Yes, you have to edit the view "category / listing_img_title" and add a tooltip on the image.
here is the Joomla doc for the Tooltip:
docs.joomla.org/How_to_add_tooltips_to_your_Joomla!_website

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

  • Posts: 13
  • Thank you received: 0
11 years 7 months ago #95723

Ok, I can see how to create a tooltip. However, I can't see how to add one to an image in Hikashop. Can you explain in a bit more detail?

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

  • Posts: 13201
  • Thank you received: 2322
11 years 7 months ago #95760

You have to edit the view "product / listing_img_title" and use the code:

echo $this->image->display(@$this->row->file_path,false,$this->escape($this->row->file_name), '' , '' , $this->image->main_thumbnail_x,  $this->image->main_thumbnail_y);

Put that code inside the tooltip, it should work.

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

  • Posts: 13
  • Thank you received: 0
11 years 7 months ago #95786

What do I edit in product / listing_img_title

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

  • Posts: 13201
  • Thank you received: 2322
11 years 7 months ago #95829

You have to put the previous code inside the tooltip code, instead of "tooltip.png" in the example given in the link before.

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

  • Posts: 13
  • Thank you received: 0
11 years 7 months ago #95932

Ok, thanks for your help.

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

Time to create page: 0.075 seconds
Powered by Kunena Forum