Adding "View" text to GK5

Rate this topic: Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.1.00 out of 6 based on 1 vote(s)
GK User
Wed Sep 18, 2013 1:59 am
Reply with quote
Report this post
Is it possible to add the word "view" to the front page product overlay circle instead of the price?
User avatar
Senior Boarder

GK User
Thu Sep 19, 2013 8:44 am
Reply with quote
Report this post
Please open file : /mod_news_pro_gk5/portal_modes/product_gallery/controller.php and find this line :

Code: Select all
echo '<div class="gkImgOverlay">' . $store_output['price'] . '</div>';


then replace it to :

Code: Select all
echo '<div class="gkImgOverlay">Your text</div>';
User avatar
Platinum Boarder

GK User
Thu Sep 19, 2013 3:33 pm
Reply with quote
Report this post
That worked great is there some css I can add to the override.css to center the text in the circle?
User avatar
Senior Boarder

GK User
Thu Oct 17, 2013 12:23 am
Reply with quote
Report this post
I made the changes to the controller.php file but what is the best way to set it up in an override because everytime I update the module I have to edit the file all over again.
User avatar
Senior Boarder

GK User
Thu Oct 17, 2013 9:57 am
Reply with quote
Report this post
There is no way to overwrite core module controller file. Joomla! allows you only to overwrite view files. If you want to have custom changes you need to always backup this file.
User avatar
Platinum Boarder


cron