Image Show GK4 is not showing text/content

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
Wed Dec 10, 2014 10:50 am
Reply with quote
Report this post
Hi,

Please have a look here at the slideshow: http://109.73.233.142/~madonna8/

First slide is Versace 2015.
It is onyl showing the title. I have also entered text/content (a little intro) but it is not showing between the title and read more.
How do I make that?
User avatar
Gold Boarder

GK User
Wed Dec 10, 2014 4:50 pm
Reply with quote
Report this post
With rockwall template style it simply doesn't display this field.
User avatar
Moderator

GK User
Wed Dec 10, 2014 9:07 pm
Reply with quote
Report this post
Cyberek wrote:With rockwall template style it simply doesn't display this field.


Can I adjust some files so it will show?
User avatar
Gold Boarder

GK User
Thu Dec 11, 2014 1:45 pm
Reply with quote
Report this post
Actually you can, but remember that if you update the module, your change will be overwritten.
You need to edit this file:
modules/mod_image_show_gk4/styles/gk_rockwall/view.php
and to that block of code:
Code: Select all
         <figcaption<?php echo ' style="width: '.$this->config['config']->gk_rockwall->gk_rockwall_title_block_width.'%; padding: '.$this->config['config']->gk_rockwall->gk_rockwall_title_block_padding.'; background: '.$this->config['config']->gk_rockwall->gk_rockwall_title_block_bg.'; color: '.$this->config['config']->gk_rockwall->gk_rockwall_title_block_color.';"'; ?>>
            <h2><?php echo $title; ?></h2>
            <a href="<?php echo $link; ?>" class="button"><?php echo JText::_('MOD_IMAGE_SHOW_ROCKWALL_READMORE'); ?></a>
         </figcaption>

add display of content, for example as a paragraph:
Code: Select all
         <figcaption<?php echo ' style="width: '.$this->config['config']->gk_rockwall->gk_rockwall_title_block_width.'%; padding: '.$this->config['config']->gk_rockwall->gk_rockwall_title_block_padding.'; background: '.$this->config['config']->gk_rockwall->gk_rockwall_title_block_bg.'; color: '.$this->config['config']->gk_rockwall->gk_rockwall_title_block_color.';"'; ?>>
            <h2><?php echo $title; ?></h2>
            <p><?php echo $content; ?></p>
            <a href="<?php echo $link; ?>" class="button"><?php echo JText::_('MOD_IMAGE_SHOW_ROCKWALL_READMORE'); ?></a>
         </figcaption>

Anything beyond is up to you (styling, fixing if the content doesn't fit well).
User avatar
Moderator

GK User
Mon Dec 22, 2014 1:10 pm
Reply with quote
Report this post
OK! Thanks, will have a look if it works :)
User avatar
Gold Boarder

GK User
Fri Dec 26, 2014 4:34 pm
Reply with quote
Report this post
Please let me know if you would have any additional questions regarding this topic.
User avatar
Moderator

GK User
Sat Dec 27, 2014 10:44 am
Reply with quote
Report this post
Cyberek wrote:Please let me know if you would have any additional questions regarding this topic.


Your solutions works perfectly, no further questions :)

Thanks for the help!
User avatar
Gold Boarder

GK User
Mon Dec 29, 2014 10:18 am
Reply with quote
Report this post
Thanks for the info. Please remember that if you will update IS module in the future, the change will have to be applied again.
User avatar
Moderator


cron