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