Insert text in News show Pro 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
Sat Jul 11, 2015 4:02 pm
Reply with quote
Report this post
Good afternoon, as you can insert text, in this case the name of the article K2, below the thumbnail in the module "News Show Pro GK5" ?. That is, the thumbnails that are in the "header".

A Greeting,
Thank you very much.
User avatar
Expert Boarder

GK User
Sun Jul 12, 2015 7:39 am
Reply with quote
Report this post
Hi,
NSP GK5 have like his predecessor, options which allows you to change positions of content elements.
Article layout -> Article layout and there are numbers 1...5
In most modes & cases they should work, if they don't , you will have to manually in selected module view make some changes inside .php code
User avatar
Platinum Boarder

GK User
Sun Jul 12, 2015 10:49 pm
Reply with quote
Report this post
Hi,
I've looked module configuration and GK5 NPS is configured as shown in the screenshot you send me. Module by consulting the Manual GK5 NPS, I have seen that the text can be modified by changing a line in a "mod_news_pro_gk5 \ portal_modes \ portfolio \ controller.php" file, but can not find on this route. The file .. \ controller.php find it on mod_news_pro_gk5 \ tmpl \ portal_modes \ portfolio \ controller.php and is not the same line 39 as shown in the manual that refer GK5 NPS.
As I can do to add the title to the images in NPS GK5 Portfolio?

Regards.
User avatar
Expert Boarder

GK User
Sun Jul 19, 2015 9:31 pm
Reply with quote
Report this post
By default images they have ALT only
echo '<img src="'.strip_tags($this->get_image($i)).'" alt="'.strip_tags($this->parent->content[$i]['title']).'" />';

so you can add TITLE as well after "alt" code.
Use this:
Code: Select all
title="'.strip_tags($this->parent->content[$i]['title']).'"
User avatar
Platinum Boarder

GK User
Wed Jul 22, 2015 8:57 am
Reply with quote
Report this post
Hello, I think the code that tells me is to be inserted into the path told him in the first post (mod_news_pro_gk5 \ tmpl \ portal_modes \ portfolio \ controller.php). I've added in this file just behind the "alt" specific code on line 53, but does not show me the title. It is what I'm doing right ?.

A Greeting.
User avatar
Expert Boarder

GK User
Thu Jul 30, 2015 9:59 pm
Reply with quote
Report this post
title is for hover only
I saw you example, sort of theory, because we cannot provide customization help anymore.
User avatar
Platinum Boarder

GK User
Mon Aug 24, 2015 8:41 am
Reply with quote
Report this post
OK thank you very much.

Regards.
User avatar
Expert Boarder


cron