Home Forum
Welcome, Guest
Please Login or Register.    Lost Password?

Component shows only one wrong creation date
(1 viewing) (1) Guest
Discussion related to the JMatrix component.
Go to bottomPage: 1
TOPIC: Component shows only one wrong creation date
#121
Component shows only one wrong creation date 6 Months ago Karma: 0  
Great idea, great component, thanx! But in my install shows jMatrix only 03 Mar as creation date, although dates are different.

BTW, in this forum image upload allowed, but won't work due to dir permissions.
estonia (User)
Fresh Boarder
Posts: 3
graphgraph
User Offline Click here to see the profile of this user
Last Edit: 2010/03/11 11:39 By estonia.
The administrator has disabled public write access.
 
#122
Re:Component shows only one wrong creation date 6 Months ago Karma: 1  
Hello, thanks ...

I can see the uploaded image, I see that one of the dates is "02 Veb 10" instead of "03 Mar 10" ... so .. are you saying that the creation dates presented do not much to the actual dates at the article manager?

Or is it that you prefer the modification date instead of the creation date?
victor (User)
Senior Boarder
Posts: 54
graph
User Offline Click here to see the profile of this user
Last Edit: 2010/03/11 13:12 By victor.
The administrator has disabled public write access.
 
#123
Re:Component shows only one wrong creation date 6 Months ago Karma: 0  
For example dates for 1 article:
Created Friday, 05 March 2010 18:30
Modified Not Modified
Component shows anyway 03 Mar 2010.
First I try component in another server.
estonia (User)
Fresh Boarder
Posts: 3
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#124
Re:Component shows only one wrong creation date 6 Months ago Karma: 1  
True, there is something wrong with the dates ..

I 'll have a look into it, there is going to be a new version later tonight

Thanks for letting me know
victor (User)
Senior Boarder
Posts: 54
graph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#125
Re:Component shows only one wrong creation date 6 Months ago Karma: 1  
Ooops, got it. It is a single letter mistake.

if you change:

if ($this->show_date) echo "<span class=\"jm_date\">".JHTML::date($this->list[$index][date], "%m %b %y")."</span>";

with:

if ($this->show_date) echo "<span class=\"jm_date\">".JHTML::date($this->list[$index][date], "%d %b %y")."</span>";

it's going to be fine.

files:
components/com_jmatrix/views/section/tmpl/default.php
and:
components/com_jmatrix/views/category/tmpl/default.php

by the way .. the string %d %b %y defines the date format so ... feel free to set the one you like

cheers

Or give me another few minutes and the new version will be up
victor (User)
Senior Boarder
Posts: 54
graph
User Offline Click here to see the profile of this user
Last Edit: 2010/03/11 19:25 By victor.
The administrator has disabled public write access.
 
#126
Re:Component shows only one wrong creation date 6 Months ago Karma: 0  
Now all works OK, thanx! It is interesting that I myself did not notice this line . si.kongress.ee/uudised is working copy. As You see, after some playing it works also with Artio Joomsef, but in my install need .htaccess redirect.
Code:

redirect 301 /index.php/uudiste-arhiiv http://si.kongress.ee/uudiste-arhiiv
estonia (User)
Fresh Boarder
Posts: 3
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
Go to topPage: 1