titles of K2 items in image showG4 module

Free Joomla module to create slideshow on your website which includes different data like part of articles or text defined by user.
Rate this topic: Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.
GK User
Tue Nov 13, 2012 5:32 pm
Hello
I have noticed that if i choose to show k2 items, the module gets automatically the title of k2 article.
Sometimes the titles of articles are not appropriate for this module, so I want to use a different Title, which i can put manually in the module, but it is not possible with k2 items.
Can you help how to make possible to have my title in this module instead of K2 item title?

thanks in advance.
title-in-image-showG4.jpg
User avatar
Junior Boarder

GK User
Tue Nov 13, 2012 5:47 pm
Hi

What Image Show theme are you using ?
User avatar
Platinum Boarder

GK User
Tue Nov 13, 2012 5:51 pm
Image Show GK4ver. 1.31
User avatar
Junior Boarder

GK User
Tue Nov 13, 2012 5:55 pm
Coffe Gavick tempate
User avatar
Junior Boarder

GK User
Thu Nov 15, 2012 9:11 am
Can i have any suggestion about my last topic?
User avatar
Junior Boarder

GK User
Fri Nov 16, 2012 12:54 am
Hi again

Try doing this:
Open this file ../modules/mod_image_show_gk4/styles/gk_coffe/view.php

Inside div class "gkIsTextData" find this fragment (line 62):
Code: Select all
$title = htmlspecialchars($this->articlesK2[$this->config['image_show_data'][$i]->artK2_id]["title"]);


replace with:

Code: Select all
$title = $this->config['image_show_data'][$i]->name;


It should display now the custom title and this link is still the K2 article.

Cheers
User avatar
Platinum Boarder

GK User
Fri Nov 16, 2012 8:35 am
hello, yes now is functioning.
Great, and thanks.
User avatar
Junior Boarder


cron