Problem with Date Display

Professional Joomla social template with metro design and JomSocial extension support.
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
Thu Jul 03, 2014 8:46 pm
Reply with quote
Report this post
Hi,

I started to have an issue with the display of the Blog date on certain pages on my website. Go the following URL and all is ok:

http://www.rurallondoner.com/index.php/lifestyle

Now, if you click on the first article (the following URL) look at what happens to the date.

http://www.rurallondoner.com/index.php/ ... n-defender

Instead of the date, you get the word 'Notice' inside a red box. Any ideas what is causing this?

I think this is a template issue because when I change to the standard Protostar template, the date displays correctly for both URLs above.

Eric.
User avatar
Junior Boarder

teitbite
Sat Jul 05, 2014 12:11 pm
Reply with quote
Report this post
Hi

Please change error showing level in joomla global configuration for server to none.
User avatar
Moderator

GK User
Sun Jul 06, 2014 11:34 pm
Reply with quote
Report this post
Hi,

I've done that, but now instead of the blog posting date when I click through to the individual article, instead of the article creation date, I get today's date. What could be causing this?

Eric.
User avatar
Junior Boarder

teitbite
Mon Jul 07, 2014 12:41 pm
Reply with quote
Report this post
Hi

Please send me an access to ftp.
User avatar
Moderator

GK User
Mon Jul 07, 2014 10:38 pm
Reply with quote
Report this post
Hi,

I have PM'ed over the login details.

Regards,

Eric.
User avatar
Junior Boarder

teitbite
Tue Jul 08, 2014 10:46 am
Reply with quote
Report this post
Hi

Please check now. I have edited /html/com_easyblog/blog.read.php and changed this line (45):
Code: Select all
         <time datetime="<?php echo $this->formatDate( '%Y-%m-%d' , $row->{$this->getParam( 'creation_source')} ); ?>"><?php echo $this->formatDate( '%d', $row->{$this->getParam( 'creation_source')} ); ?><span><?php echo $this->formatDate( '%b' , $row->{$this->getParam( 'creation_source')} ); ?></span></time>

to
Code: Select all
         <time datetime="<?php echo $this->formatDate( '%Y-%m-%d' , $blog->created ); ?>"><?php echo $this->formatDate( '%d', $blog->created ); ?><span><?php echo $this->formatDate( '%b' , $blog->created ); ?></span></time>
User avatar
Moderator

GK User
Tue Jul 08, 2014 9:22 pm
Reply with quote
Report this post
Hi,

Thank you - that has fixed the problem. I am a bit concerned though. What will happen when you issue an update to this template - I will lose all the bespoke code...

Eric.
User avatar
Junior Boarder

teitbite
Thu Jul 10, 2014 11:54 am
Reply with quote
Report this post
Hi

I've reported this already to programmers, so template packages will have this fix included.
User avatar
Moderator


cron