Page 1 of 1

Add creation date to category view

Posted: 13 Sep 2012, 11:42
by iki78
Hi
I need to add creation date next to Category title in Category view.
Since ordering by date is possible i believe the date parameter is passed to the view layer

I presume that

Code: Select all

com_phocagallery/views/category/tmpl/default_categories.php
would need to be modified
and the way to access would be similar to

Code: Select all

 $this->categories[$i]->link or $this->categories[$i]->title_self
Is the date present in categories array?
Or what would be the best way of doing it?
Cheers
irek

Re: Add creation date to category view

Posted: 19 Sep 2012, 14:40
by Jan
Hi, just do a print_r($this->categories[$i]) to see which values it includes.

Jan