Sábado, 20 Diciembre 2014 06:37
beggarly

Problems with subcategories

Problems with subcategories

Postby fran » Fri Dec 30, 2011 7:11 pm

Hi,

I have installed on my test site and everything goes ok, until I notice that articles in subcategories are not being showed. I have changed the field "Category Depth" on module configuration to 10, that should be more than enough since I have just three levels depth on the worst case, but it continues ignoring those articles on calendar module.

Is there any chance to solve this?

Thanks a lot in advance,
fran
Fresh Boarder
Fresh Boarder
 
Posts: 12
Joined: Fri Jan 04, 2008 2:24 pm

Re: Problems with subcategories

Postby fran » Fri Dec 30, 2011 7:26 pm

Forget it.

I've isolated the problem. The guy who creates the articles give them different created and modified date. The article is showing the modified date on the header, but the calendar uses the created date, and that's the issue.

I can live with this without problems, but for further there may be nice to include an option in module configuration to select between created, publishing or modified date as other modules does.

Thanks a lot and excuse me if I did you lose your time.
fran
Fresh Boarder
Fresh Boarder
 
Posts: 12
Joined: Fri Jan 04, 2008 2:24 pm

Re: Problems with subcategories

Postby fran » Fri Dec 30, 2011 8:02 pm

Hi,

I've done those modifications to the module by myself. I've modified helper.php, en-GB.ini and the .xml files. I attach them here so you may consider to add them to your development version for future releases.

Please, note that I have gziped helper.php because the forum doesn't let me upload a PHP file.

Regards,
Attachments
helper.php.gz
(2.3 KiB) Downloaded 587 times
en-GB.mod_articles_archive.ini
(755 Bytes) Downloaded 535 times
mod_newscalendar.xml
(8.34 KiB) Downloaded 549 times
fran
Fresh Boarder
Fresh Boarder
 
Posts: 12
Joined: Fri Jan 04, 2008 2:24 pm

Re: Problems with subcategories

Postby chus » Sat Dec 31, 2011 3:06 pm

Hello,

I've found this modifications very usefull so I have updated the downloadable module in order to include them.

Thank you!
User avatar
chus
Administrator
Administrator
 
Posts: 455
Joined: Thu Sep 13, 2007 2:21 am
Location: Costa Rica

Re: Problems with subcategories

Postby fran » Sat Dec 31, 2011 4:33 pm

You're wellcome. :-)
fran
Fresh Boarder
Fresh Boarder
 
Posts: 12
Joined: Fri Jan 04, 2008 2:24 pm

Re: Problems with subcategories

Postby daffodil1003 » Wed Jun 06, 2012 8:57 am

fran wrote:Forget it.

I've isolated the problem. The guy who creates the articles give them different created and modified date. The article is showing the modified date on the header, but the calendar uses the created date, and that's the issue.

I can live with this without problems, but for further there may be nice to include an option in module configuration to select between created, publishing or modified date as other modules does.

Thanks a lot and excuse me if I did you lose your time.


Thanks you for the post.

__________________
http://freemoviewatch.org
daffodil1003
Fresh Boarder
Fresh Boarder
 
Posts: 1
Joined: Wed Jun 06, 2012 8:53 am


Return to News calendar



Who is online

Users browsing this forum: No registered users and 1 guest

cron