News - Show a whole years articles [SOLVED]
News - Show a whole years articles [SOLVED]
Im looking for a easy way to create a listing of a whole years articles. Something like:
{news start_date="07-01-01" end_date="07-12-31"}
Is there any way to do this? All help is really appreciated!
---
Thanks blast2007 for this solution:
http://forum.cmsmadesimple.org/index.ph ... 96352.html
{news start_date="07-01-01" end_date="07-12-31"}
Is there any way to do this? All help is really appreciated!
---
Thanks blast2007 for this solution:
http://forum.cmsmadesimple.org/index.ph ... 96352.html
Last edited by phen on Fri Mar 28, 2008 1:55 pm, edited 1 time in total.
-
- Support Guru
- Posts: 8169
- Joined: Tue Oct 19, 2004 6:44 pm
Re: News - Show a whole years articles
No, there are no options to do that at this time
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Re: News - Show a whole years articles
"There are no options to do that at this time", without hacking news module.calguy1000 wrote: No, there are no options to do that at this time
If you follow instructions above you can use two new parameters: startperiod and endperiod.
Regards
blast
Re: News - Show a whole years articles
@blast & Alby : have you submitted your patches in the forge ?blast2007 wrote: (...)hacking news module.
If you follow instructions above you can use two new parameters: startperiod and endperiod.
Pierre M.
Re: News - Show a whole years articles
I've some troubles while creating CVS patch file.Pierre M. wrote: @blast & Alby : have you submitted your patches in the forge ?
I can post (in the forge) a detailed explanation of modified files for adding these new features.
Let me know your opinion.
Regards
blast
Re: News - Show a whole years articles
@blast : I have no opinion, I have read the DevTeam can't track bug reports and patches in the forum but in the forge.
Pierre
Pierre
Re: News - Show a whole years articles
Dear Pierre,Pierre M. wrote: @blast : I have no opinion, I have read the DevTeam can't track bug reports and patches in the forum but in the forge.
Pierre
following "The steps" of this thread,
point a) says: "Discuss your potential change with the project admin(s), or others in the forum or IRC channel"
My previous post was related to the mentioned point a)
Calguy (I think he's admin of news module) closed discussion saying that's it's impossible to achieve this particular function, ignoring my post, so I thought that my contribute wasn't interesting.
If needed I can try to post a patch, but I think that news "owner" should express his opinion regarding usefulness of this hack.
Regards
blast
Edit: Alby create diff file, check here. Thanks again to him
Last edited by blast2007 on Fri Mar 28, 2008 5:26 pm, edited 1 time in total.
Re: News - Show a whole years articles
I had misunderstood.Pierre M. wrote: @blast & Alby : have you submitted your patches in the forge ?
I thought that blast2007 had posted the patch files.
Here there is the patch
@Blast: upload this patch in News tracker with a little description for dev team
Alby
Re: News - Show a whole years articles [SOLVED]
Last edited by blast2007 on Fri Mar 28, 2008 6:24 pm, edited 1 time in total.
Re: News - Show a whole years articles [SOLVED]
When i updated to the latest CMSMS version I lost the changes i had made manually to get this to work. I applied the .diff file (no problem with that) but something isnt working. When i browse a news page thats using the "startperiod" it shows all news, not just the ones between the specified dates. No error message or nothing. Anyone knows what to do?
Re: News - Show a whole years articles [SOLVED]
My mistake with copy/paste.phen wrote: When i updated to the latest CMSMS version I lost the changes i had made manually to get this to work. I applied the .diff file (no problem with that) but something isnt working. When i browse a news page thats using the "startperiod" it shows all news, not just the ones between the specified dates. No error message or nothing. Anyone knows what to do?
In prev diff file if startperiod is set endperiod was not considered.
I think that blast have submitted again the new diff file in tracker or download from italian forum (view link at Reply #8)
Alby
Re: News - Show a whole years articles [SOLVED]
Yes, it was done.alby wrote: I think that blast have submitted again the new diff file in tracker or download from italian forum (view link at Reply #8)
Here you can download bugfixed patch
Regards
blast