Disable Title On Image Hover News Show Pro GK5

Support forum dedicated to free and advanced Joomla content presentation module with various layout options and data sources support.
GK User
Fri Jan 30, 2015 4:25 am
Hello. When user hovers over an image that loads from K2 item, it displays item title. How do I disable it? Thank you.
User avatar
Gold Boarder

GK User
Fri Jan 30, 2015 8:34 am
Could you please post an url to your site?
User avatar
Moderator

GK User
Fri Jan 30, 2015 7:56 pm
Cyberek wrote:Could you please post an url to your site?


Hi Cyberek. I sent you the link over PM. Thanks.
User avatar
Gold Boarder

GK User
Sun Feb 01, 2015 9:38 am
This would require module core file changes.
Please edit file:
modules/mod_news_pro_gk5/portal_modes/portfolio_grid/controller.php
And change:
Code: Select all
echo '<a href="'.$this->get_link($i).'" title="'.strip_tags($this->parent->content[$i]['title']).'" data-url="'.strip_tags($this->get_image($i)).'" class="image-resource"'.$link_data_attrs.'><img class="helper-image" src="data:image/png;base64,'.$this->generateBlankImage($this->parent->config).'" alt="" />

to
Code: Select all
echo '<a href="'.$this->get_link($i).'" data-url="'.strip_tags($this->get_image($i)).'" class="image-resource"'.$link_data_attrs.'><img class="helper-image" src="data:image/png;base64,'.$this->generateBlankImage($this->parent->config).'" alt="" />
User avatar
Moderator

GK User
Wed Feb 04, 2015 5:35 am
Cyberek wrote:This would require module core file changes.
Please edit file:
modules/mod_news_pro_gk5/portal_modes/portfolio_grid/controller.php
And change:
Code: Select all
echo '<a href="'.$this->get_link($i).'" title="'.strip_tags($this->parent->content[$i]['title']).'" data-url="'.strip_tags($this->get_image($i)).'" class="image-resource"'.$link_data_attrs.'><img class="helper-image" src="data:image/png;base64,'.$this->generateBlankImage($this->parent->config).'" alt="" />

to
Code: Select all
echo '<a href="'.$this->get_link($i).'" data-url="'.strip_tags($this->get_image($i)).'" class="image-resource"'.$link_data_attrs.'><img class="helper-image" src="data:image/png;base64,'.$this->generateBlankImage($this->parent->config).'" alt="" />

Thanks a lot. This worked. :)
User avatar
Gold Boarder

GK User
Wed Feb 04, 2015 11:06 pm
Is there anything else I can help you with regarding this topic?
User avatar
Moderator


cron