Shopping Basket

 x 

Cart empty


Log In

Find Us Elsewhere

SSL

Forum Search

Keyword
× Tell us and our members who you are, what you like and why you became a member of this site.
We welcome all new members and hope to see you around a lot!

Mod Newstab | future date, up-coming articles ?

  • pepperstreet
  • pepperstreet's Avatar Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
More
7 years 7 months ago - 7 years 7 months ago #381 by pepperstreet
(EDIT: Ooops, sorry wrong thread, could you move it in the right one, please!?! Thanks.)

Hello again,
an important question for articles with date in future... i.e. an eventlist or theatre calendar may have articles with up-coming news. It is nessecary to have a parameter to show a time-frame. Lets say, show me the next events in the up-coming 4 weeks etc.

(Mmmh, hard to describe in english! Have mercy, please)

Last year, I discovered this issue with the original MightyExtensions Resources Content-List module. I was able to sort in every flavour and with future dates... the problem: You have to choose the Resources create-date for the start-time in future! And when you order the future articles with oldest-first (which is the right order for events), you will only see the "peek of the iceberg"... i would only see the events in the distant future... but i need the articles from NOW to the nearest future. Do you know what i mean?

So, the solution was to sort by "Oldest first" and show "Only Future Articles". Then I had to add a new "TIMEFRAME/FuturePeriod" parameter. I used a selectbox with the pre-defined PHP times day/week/month/3month/year. Could have been a free number plus a timespan as well...

In short:

It would be super-cool if you could add something similar in ALL of your Featured-Items modules B) :kiss:
Last edit: 7 years 7 months ago by pepperstreet.

Please Log in or Create an account to join the conversation.

More
7 years 7 months ago #382 by boggler
This is an interesting question. I think that we will add 'oldest first' as an option, actually another customer asked for this recently though I think for different reasons. It is easy to add so I don't see why not.

However I think part of your problem is due to the fact that you are using the article creation date for the event date, this seems to me to be confusing two different things. It would seem preferable to define the event date separately, it will give you a lot more flexibility.

Resources has a core calendar field plugin, it would seem to me better to use this to define the event date, and keep it separate from the article creation date. If you put all your event articles into a category called 'events' then you can specify the ordering of all the articles within the category, it will be up to you to arrange the articles in the way you want.

With the featured items modules you can display the articles using this ordering. The only way the modules would fall short of what you want to do is that they do not at the moment support the calendar field, you would need to add the date also as a text field for it to show up.

We are thinking about creating some new modules that specifically support Mighty Extensions, which would then automatically support all the field types, this really depends on when there is going to be a new Mighty Extensions Resources for Joomla 1.7. They do seem to be planning this eventually, so eventually this should happen.

Please Log in or Create an account to join the conversation.

  • pepperstreet
  • pepperstreet's Avatar Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
More
7 years 7 months ago #386 by pepperstreet
Replied by pepperstreet on topic Mod Newstab | future date, up-coming articles ?

Susan Boggler wrote: ... due to the fact that you are using the article creation date for the event date, this seems to me to be confusing two different things. It would seem preferable to define the event date separately, it will give you a lot more flexibility.

Resources has a core calendar field plugin, it would seem to me better to use this to define the event date, and keep it separate from the article creation date. If you put all your event articles into a category called 'events' then you can specify the ordering of all the articles within the category, it will be up to you to arrange the articles in the way you want.


You got the idea... but that is the special thing about Resources core dates. It is actually build and designed around its two core dates. Section, Type and Module params do work with those only! In the early days of Resources, i already raised my complaint about this "different" approach. I was always missing the same usage/storage that J! core had.

If you deal with resources list order options and content-list module... you have to use the core fields "create" and "expire". I also use a modified calendar field... for better user input and display options... this extra field stores/overwrites the core fields. So, nothing had to be hacked or changed in Resources archtiecture and logic. That would have to much impact on upgrades!

Also, it was easy to utilize the existing option "Show only future articles..." this was half the way to go... I only had to ADD my "timeperiod" to limit/cap the list. Result is a working "Upcoming Events (for this month)" module.


Susan Boggler wrote: ...
With the featured items modules you can display the articles using this ordering. The only way the modules would fall short of what you want to do is that they do not at the moment support the calendar field, you would need to add the date also as a text field for it to show up.


As I mentioned earlier... the same issue is with Resources modules and params. I guess, it will never change for v1.5.x. It is the way it works. We have to use the two core dates (plus modification date)

In the past, I also opened a feature request for a CUSTOM/CALENDAR date field selection in modules. Makes sense to me, and would open a lot of possibilities. But that means it has to be optional for every core dates appearance in the code... maybe a technical challenge ;-)


Susan Boggler wrote: ...
We are thinking about creating some new modules that specifically support Mighty Extensions, which would then automatically support all the field types, this really depends on when there is going to be a new Mighty Extensions Resources for Joomla 1.7. They do seem to be planning this eventually, so eventually this should happen.


Currently, they (2) do work on the new Resources 6G, codename "black ice" ... early stages, but we already got some technical teasers ;-) Unfortunately, "Sergey" had to find and recruit new staff people! The next 2 months will bring new infos... Finally, there is light on the end of the tunnel. I will spend as much as sparetime in conversations and discussion with "Sergey" about the new version, its features and improvements.

Please Log in or Create an account to join the conversation.

More
7 years 7 months ago #389 by boggler
OK, you seem to know more about it than me.

I hope they do produce the Resources 6G. It is a very good component, particularly now it is GPL licensed, it is worth continuing into the future I think. Once Joomla 2.5 comes out around February in the New Year it is supposed to be stable for about 18 months at least, so it will hopefully give extension developers time to catch up.

Please Log in or Create an account to join the conversation.

  • pepperstreet
  • pepperstreet's Avatar Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
More
7 years 3 months ago #454 by pepperstreet
Replied by pepperstreet on topic Mod Newstab | future date, up-coming articles ?

Susan Boggler wrote: ...
I hope they do produce the Resources 6G. It is a very good component, particularly now it is GPL licensed, it is worth continuing into the future I think.


Hello, maybe you already noticed it... the new Cobalt 7 CCK for Joomla 2.5 is out in beta1 release. Please, visit MintJoomla.com

Early state... and content/picture related modules are lacking (yet), but very promising! I hope to see some modules from SpiralScripts ;-)

Please Log in or Create an account to join the conversation.

More
7 years 3 months ago #455 by boggler
Thanks for the reminder, as I said before we will be thinking seriously about writing some extensions for this.
The following user(s) said Thank You: pepperstreet

Please Log in or Create an account to join the conversation.

More
7 years 3 months ago - 7 years 3 months ago #457 by kezeo
YES I'M WAITING SOME EXTENTIONS FOR COBALT 7 CCK TOO
THANK YOU
Last edit: 7 years 3 months ago by kezeo.

Please Log in or Create an account to join the conversation.

More
7 years 3 months ago #460 by clowreed
ME TOO i love cobalt, need spiralscript's extensions

Please Log in or Create an account to join the conversation.

Moderators: boggler
Time to create page: 0.177 seconds

Donate to Us

If you like our extensions, consider making a donation to say thanks.