Show K2 items of today

Support forum dedicated to free and advanced Joomla content presentation module with various layout options and data sources support.
GK User
Tue Jan 31, 2012 1:56 pm
Hi
I can't find out how to configure News Show Pro GK4 ver. 2.8 to show K2 items of today, and only today.

I have a K2 Category "MyEvents" and K2 items inside.
From Music template I then use "Music News" style to show items. But it shows all items. How can I limit that?

Like, if you set the Music Calender (K2) to show events from only "MyEvents". If you click on a specific date, it shows the items from that date.
Thats what I want on my frontpage. Items of today.

Is it possible?

Best regards,
Henrik
User avatar
Expert Boarder

GK User
Fri Feb 03, 2012 9:51 am
I have looked around and it seems that it is not possible.

Any chance of expanding News Show Pro GK4 with this function for 3.02? :D

Would be nice if the "Show article created after" could be something like:

"Show of particulare date"
Eg. To show something of current date: 2012-02-03 00:00:00
Eg. To show something of current week: 2012-02-03 00:00:00, 2012-02-10 00:00:00

It would be a great add! Then you can use News Show Pro GK4 for showing:

What movies are on tonight
What concerts is upcoming next week.
What meetings is up during this business day?

Would be a greate feature to place on frontpages of Gavicke templates.

Best regards,
Henrik
User avatar
Expert Boarder

GK User
Fri Feb 03, 2012 10:22 am
To be honest Gavick will not create if original extension does not has such features and then explain to end users how to hack into K2 to use created date as future date etc etc to use features in News Pro GK4. It is just not professional and will create extra support questions and waste a lot of time.

To add such feature all necessary fields should be available in the component and data is already inputted into the database so we just retrieve the data and display it in News Show Pro GK4 with a Gavick Style :)

But if anybody wants to go ahead with this below is my thinking on this matter unless you want to do a deep core hacking into K2 and add necessary fields as well as database changes. :D

This is just a brainstorming thinking out loud :D

The only problem i see in here is that K2 publishes items so it is published. If items are published they are in past tense. So how are we going to find articles which belong to below categories ( future dates ).

To show something of current week: 2012-02-03 00:00:00, 2012-02-10 00:00:00
To show something of current date: 2012-02-03 00:00:00

This can be done in hacks. You would need a date field to use it as Event Date ( as future dates ) then use published date to make it published and available to use.

Without News Pro you can use K2 Tools Calendar module then simply after you create your articles and publish it go back and change created time to your event date time so K2 tools Calendar shows articles ( events ) based on created time.

With News Pro
function to check if "Show of particular date" is enabled in module settings then check for sub parameters as below
Module Settings : "Show Particular Articles by Date Feature "
Sub Parameters:
Parameter1: Show Today's Events Only - ( get todays date by php and then retrieve articles )
Parameter2: Show Events in between 2 Date ( get articles between date1 and date2 then retrieve articles )
Parameter3: Show Events from today until (+Days) ( Days= get parameter days , futuredate= Now() + days, get articles between Now AND futuredate )

See you around...
User avatar
Platinum Boarder

GK User
Fri Feb 24, 2012 10:54 pm
Hi
Let me explain a little better. I dont' want to change core K2. I would like feature request to Gavick News Show Pro GK4.
I would like to show what's going on at my company TODAY. What events can my employee and guests of the house expect?
For that I do K2 Items and use a feature "Creation date" and a "Start publishing" writ away when I write the K2 Items.
3.png

I then want to use News Show Pro to use "Data Source" of these articles from my category "Events". But on my frontpage only show those of todays date.

Something like the two attachments.

If Gavick will or can not do this add, if someone would like this asignment please write me.
I need a coder for this ;)

Best regards,
Henrik
User avatar
Expert Boarder

GK User
Fri Feb 24, 2012 10:55 pm
2.png
User avatar
Expert Boarder

GK User
Fri Feb 24, 2012 10:57 pm
1.png
User avatar
Expert Boarder

GK User
Mon Feb 11, 2013 11:47 pm
I need this I know this tread is couple years old but did anyone manage to do this?
User avatar
Expert Boarder


cron