By Oscar Ang on Wednesday, 03 February 2016
Posted in General Issues
Likes 0
Views 284
Votes 0
Hi,

I have an issue with the heading for the archive/calendar view.
I have enabled the EasyBlog archive module and it seems to work fine showing the year and the months.

When I click on one of the months under any year (for example February 2015), it redirects me to the page where it lists all the posts from that month which is fine.

The only issue is, on the header and the page title, it shows January 2015 instead of February 2015 which is weird. It should be February 2015 showing at the top yes?

Can you please advise? I have attached screenshots for you as well.
Hey Oscar,

I can't seem to access the site. Is it available?
·
Wednesday, 03 February 2016 18:49
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Mark,

Did you get asked for username and password from a pop up window?
I have put the login details on the tix.
·
Wednesday, 03 February 2016 19:00
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Mark,

It seems the timezone I found from the EasyBlog object when I did a print_r($date) is wrong.
It shows the following when I click on January 2015:


[date:EasyBlogDate:private] => JDate Object
(
[tz:protected] => DateTimeZone Object
(
[timezone_type] => 2
[timezone] => GMT
)

[date] => 2014-12-31 23:00:00.000000
[timezone_type] => 1
[timezone] => +00:00
)


My timezone is Australia/Sydney GMT+10.
The Joomla Glabl Config is also set to the correct one i.e. Sydney.

How do EasyBlog get the above?
·
Wednesday, 03 February 2016 20:47
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Oscar,

Strange, the entire site was not accessible earlier. It is accessible for me right now. Anyway, I have applied some fixes for you on the site, can you give this a try again now?
·
Wednesday, 03 February 2016 21:09
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Mark.

That is working now. What fix did you apply on which file?
Need to apply it on the live site.

Thanks
·
Wednesday, 03 February 2016 21:33
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Oscar,

I modified the file /components/com_easyblog/views/calendar/view.html.php
·
Wednesday, 03 February 2016 21:38
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Mark,

Cool..it works now.

Thanks.
·
Wednesday, 03 February 2016 22:07
·
0 Likes
·
0 Votes
·
0 Comments
·
You are most welcome Oscar
·
Wednesday, 03 February 2016 22:22
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post