Wrong Date

GK User
Wed Oct 06, 2010 3:08 am
How can we change the date in the Headers Slideshow? Because it doesn't show the good date. I attach an image to help you understanding what i'm talking about. Thanks
Live website : www.quebecdrag.com
User avatar
Fresh Boarder

GK User
Fri Oct 08, 2010 2:57 pm
Hello,

Code to insert into your module
Code: Select all
text_position=246;
text_height=100;
show_text_block=true;
clean_xhtml=true;
wordcount=24;
title_char_amount=40;
slide_links=true;
preloading=true;
pagination=true;
pagination_cols=4;
pagination_date=false;
pagination_limit=39;

animation_speed=500;
animation_interval=5000;
autoanimation=true;
animation_type=opacity;
readmore_text=Read more;
show_info=false;

author_name=username;
User avatar
Junior Boarder

GK User
Mon Oct 11, 2010 3:23 pm
Still have the problem, every time i'm adding sometime in the Photoslide the date still the same, I just added a new slide and date was August 12 again. Someone know what to do?
User avatar
Fresh Boarder

GK User
Mon Oct 11, 2010 5:48 pm
First, this concern certanly your problem:

You need to pass the correct parameters for the function strftime - a good parameter is for example: pagination_date_format=%a, %d %b %Y;

Second, there is a little problem with casting in content.php see directory: ../templates/gk_sporter/html/mod_gk_image_show/ on line 119:

I changed this code
Code: Select all
$show_date = $this->config['pagination_date'];

into:
Code: Select all
$show_date = (strtolower($this->config['pagination_date']) != 'true')? (bool) 0 : (bool) 1;


otherwise, the date can not be turned off.
User avatar
Fresh Boarder

GK User
Thu Sep 08, 2011 6:11 am
not work, why:
site: http://www.dookolaswiata24.pl/

kod:

text_position=246;
text_height=100;
show_text_block=true;
clean_xhtml=true;
wordcount=19;
title_char_amount=70;
slide_links=true;
preloading=true;
pagination=true;
pagination_cols=4;
pagination_date=true;
pagination_limit=39;
pagination_date_format=%a, %d %b %Y;
animation_speed=500;
animation_interval=5000;
autoanimation=true;
animation_type=opacity;
readmore_text=Read more;
show_info=true;
author_name=username;
info_format=Wpisane: %date;
interface=true;

plik content.php change
User avatar
Fresh Boarder

GK User
Thu Sep 08, 2011 7:56 am
aha wrong date with k2 articles (own article)
User avatar
Fresh Boarder


cron