Problem with module Image Show GK4

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
Fri Apr 18, 2014 6:40 pm
Reply with quote
Report this post
Hello,
I can not find where the error is.
on http://www.vlakymodely.cz does not work properly module "Image GK4 Show" on the title page (not display content only title) but the website http://demo.vlakymodely.cz/ everything is ok
Thanks for the advice.
User avatar
Fresh Boarder

GK User
Fri Apr 18, 2014 7:41 pm
Reply with quote
Report this post
SOLVED
to file "... \ modules \ mod_image_show_gk4 \ styles \ gk_bikestore \ view.php" on row 49 I have put the code to loading content
Code: Select all
// creating slide content - Robo
  $content = ($this->config['image_show_data'][$i]->type == "text") ? $this->config['image_show_data'][$i]->content : 'Only the text slides can be used';
  $content = str_replace(array('[ampersand]', '[leftbracket]', '[rightbracket]'), array('&', '<', '>'), $content);
  $content_sub = false;
// creating slide content - Robo END

and then over
Code: Select all
<h3><a href="<?php echo $link; ?>"><?php echo JString::substr($title, 0, $this->config['config']->gk_bikestore->gk_bikestore_title_block_length); ?></a></h3>

code to display content:
Code: Select all
<p><?php echo $content; ?></p>
User avatar
Fresh Boarder


cron