Image Show GK4 links and colour

Feel free to talk about everything related to our Joomla Products
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
Mon Jan 23, 2012 10:57 pm
Hi,

i got one problem with the Image Show GK4 style modul "gk_game-magazin".


If i klick at the arrow symbol (1), nothing happens. If i klick at the picture around the arrow, the linking to a specified article works. i want to use the arrow symbol to link to the article. How can i get this to work (i saw on the demo page game-magazine it didn't work too)?

Image Show GK4 links and colour.jpg


Next i would like to change the colour of the switching highlight (2) in the right corner of this style modul. Original it's green - i want to change it in other colours like blue. If it's possible where can i change the colours?
User avatar
Fresh Boarder

GK User
Tue Jan 24, 2012 11:54 am
i have the same problem, if i click in the arrow nohing happens, is there a solution for this?
User avatar
Fresh Boarder

GK User
Thu Jan 26, 2012 6:08 pm
Ok, for the first problem I found the solution:

All you need to do, is to edit the file "view.php" (location: "/mod_image_show_gk4/styles/gk_game_magazine"):

scroll down to the end of the file and you will find the following code:
Code: Select all
<a class="gkIsTextItem" style="left:<?php echo $this->config['config']->gk_game_magazine->gk_game_magazine_text_block_x; ?>px;bottom:<?php echo $this->config['config']->gk_game_magazine->gk_game_magazine_text_block_y; ?>px;">
<span class="gkIsTextBig"><?php echo substr($title, 0, $this->config['config']->gk_game_magazine->gk_game_magazine_title_chars_amount); ?></span>
<span class="gkIsTextSmall"><?php echo substr($text, 0, $this->config['config']->gk_game_magazine->gk_game_magazine_text_chars_amount); ?></span>
</a>


now just insert the following code into the first line ("<a>"-tag):
Code: Select all
href="<?php echo $link; ?>


it should look like that now:
Code: Select all
<a class="gkIsTextItem" style="left:<?php echo $this->config['config']->gk_game_magazine->gk_game_magazine_text_block_x; ?>px;bottom:<?php echo $this->config['config']->gk_game_magazine->gk_game_magazine_text_block_y; ?>px;" href="<?php echo $link; ?>"><span class="gkIsTextBig"><?php echo substr($title, 0, $this->config['config']->gk_game_magazine->gk_game_magazine_title_chars_amount); ?></span>
<span class="gkIsTextSmall"><?php echo substr($text, 0, $this->config['config']->gk_game_magazine->gk_game_magazine_text_chars_amount); ?></span>
</a>


Now the link to your article should work. I didn't test it for K2-articles, but I will do in future ;)
User avatar
Fresh Boarder

GK User
Tue Feb 07, 2012 10:27 am
Good Man!!

Problem solved I will link your posts to mine as I had the same problem,

thanks for sharing
User avatar
Fresh Boarder

teitbite
Tue Feb 07, 2012 1:00 pm
Hi

Reported to programmers for perma fix.

Thank You.
User avatar
Moderator


cron