-
AuthorPosts
-
May 15, 2011 at 9:22 pm #164040
I have an odd problem on Joomla 1.6.
Using the ” ja-cloris-blog”-layout my blog-entries are all shown as created on “01 JAN” even though I created it an hour ago (15 MAY)
When looking in at the create-date in Joomla is 15 May.
In the database nothing shows as 01 JAN so I am unsure how this happens.
On the blog-page the date is 01JAN on that black circle.
But if I choose to display created date (next to author) the date shown is 15 May, but the black circle still shows 01 JAN.Example: http://www.noerkjaer.com/blog
Best regards
Peterkhoand Friendkhoand
- Join date:
- February 2011
- Posts:
- 4500
- Downloads:
- 0
- Uploads:
- 179
- Thanks:
- 169
- Thanked:
- 1166 times in 1060 posts
May 16, 2011 at 10:06 am #391419Hi,
Could you give me username+password of ftp?May 16, 2011 at 9:15 pm #391511Hi khoand
I have PM’ed you. Let me know what you find out.
khoand Friendkhoand
- Join date:
- February 2011
- Posts:
- 4500
- Downloads:
- 0
- Uploads:
- 179
- Thanks:
- 169
- Thanked:
- 1166 times in 1060 posts
May 17, 2011 at 8:38 am #391578It seem your sever has problem. I can’t access your website by ftp
May 17, 2011 at 8:52 am #391584Hi khoand.
The Transfer Mode must be set to Active.
My server-host only offers support in Danish :-[ So here is a google-translation of how to use FireZilla:
http://translate.google.com/translate?js=n&prev=_t&hl=en&ie=UTF-8&layout=2&eotf=1&sl=da&tl=en&u=http%3A%2F%2Fwww.i123.dk%2Fsupport%2Fjeg-kan-ikke-logge-pa-ftp-med-filezilla%2FLet me know if it works.
If not I can provide you with administrator-access to the site it self.Thanks in advance
Best regards
Peterkhoand Friendkhoand
- Join date:
- February 2011
- Posts:
- 4500
- Downloads:
- 0
- Uploads:
- 179
- Thanks:
- 169
- Thanked:
- 1166 times in 1060 posts
May 18, 2011 at 6:53 am #391745– I can’t still access your website by ftp. So, could you help me find down what your problem?
– You try this way:
+ You add this code into <joomla url>templatesja_clorishtmlcom_contentcategoryblog_item.php file
echo $created;
before
$createDay = date('d', strtotime( $created ));
+ You take a snapshot of your blog website after you have changed blog_item.php file
+ Restore blog_item.php file. And give me a snapshot you take.May 18, 2011 at 8:57 am #391784Strange… :confused:
Anyway.
Here are the pictures requested:
First – with the “echo created”
Second – with no modification
I am just thinking out loud now: Can it be some setting that I can have changed by accident, that causes this.
Notice not all blog-entries are affected! Some does show the correct date in the black circle.
Link back to blog: http://www.noerkjaer.com/blogBest regards!
Peter
khoand Friendkhoand
- Join date:
- February 2011
- Posts:
- 4500
- Downloads:
- 0
- Uploads:
- 179
- Thanks:
- 169
- Thanked:
- 1166 times in 1060 posts
May 19, 2011 at 3:28 am #391883Hi,
You replace this code
$createDay = date('d', strtotime( $created ));
$createMonth = date('M', strtotime( $created ));
with
$createDay = JHTML::date($this->item->created, 'd', true);
$createMonth = JHTML::date($this->item->created, 'M', true);
1 user says Thank You to khoand for this useful post
May 19, 2011 at 5:28 pm #391994LOVELY! 😎
Thanks you so much for the support!
Best regards
Petermikac Friendmikac
- Join date:
- April 2010
- Posts:
- 178
- Downloads:
- 0
- Uploads:
- 39
- Thanks:
- 27
- Thanked:
- 5 times in 1 posts
May 29, 2011 at 10:18 pm #393455I had this problem on both languages (Joomla! 1.6, Cloris 1.6) and now:
SERBIAN version is SOLVED by adding these lines to
joomla url>/templates/ja_cloris/html/com_content/category/blog_item.php and
joomla url>/templates/ja_cloris/html/com_content/article/default.php$createDay = JHTML::date($this->item->created, ‘d’, true);
$createMonth = JHTML::date($this->item->created, ‘M’, true);ENGLISH version is NOT solved. It doesn’t display date at all.
What’s different on EN version?
khoand Friendkhoand
- Join date:
- February 2011
- Posts:
- 4500
- Downloads:
- 0
- Uploads:
- 179
- Thanks:
- 169
- Thanked:
- 1166 times in 1060 posts
May 31, 2011 at 4:22 pm #393924<em>@mikac 243358 wrote:</em><blockquote>I had this problem on both languages (Joomla! 1.6, Cloris 1.6) and now:
SERBIAN version is SOLVED by adding these lines to
joomla url>/templates/ja_cloris/html/com_content/category/blog_item.php and
joomla url>/templates/ja_cloris/html/com_content/article/default.php$createDay = JHTML::date($this->item->created, ‘d’, true);
$createMonth = JHTML::date($this->item->created, ‘M’, true);ENGLISH version is NOT solved. It doesn’t display date at all.
What’s different on EN version?</blockquote>
Could you give me username+password of ftp and a link to your website?
mikac Friendmikac
- Join date:
- April 2010
- Posts:
- 178
- Downloads:
- 0
- Uploads:
- 39
- Thanks:
- 27
- Thanked:
- 5 times in 1 posts
May 31, 2011 at 10:13 pm #393981SOLVED in this thread.
http://www.joomlart.com/forums/topic/multi-language-website-with-ja-cloris-1-6/Thank you!
1 user says Thank You to mikac for this useful post
-
AuthorPosts
This topic contains 12 replies, has 3 voices, and was last updated by mikac 13 years, 6 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum