Visual Composer Grid Builder Past event - wordpress

I am using visual composer in WordPress,In the i have create the custom post type for the event and displaying the events such as upcoming event and past event using grid builder.the upcoming event is displaying fine but the past event is showing all post,I need to display only the past events i have try some methods in that i have write the custom query for the past event to comparing with current date.
Custom field name:
date_short_order
Custom query:
post_type=event&posts_per_page=3&post_status=publish&meta_key=date_short_order&orderby=meta_value_num&order=DESC&meta_query%5B0%5D%5Bkey%5D=date_short_order&meta_query%5B0%5D%5Bvalue%5D=$today&meta_query%5B0%5D%5Bcompare%5D=<&meta_query%5B0%5D%5Btype%5D=DATE
I am struggling past one week with this any one help me.

Finally i got answer.
post_type=event&meta_query%5B0%5D%5Bkey%5D=date_short_order&‌​meta_query%5B0%5D%5B‌​value%5D=$today&‌​meta_query%5B0%5D%5B‌​compare%5D=%3C&meta_‌​query%5B0%5D%5Btype%‌​5D=DATE
post_type=event&meta_query%5B0%5D%5Bkey%5D=date_short_order&‌​meta_query%5B0%5D%5B‌​value%5D=$today&‌​meta_query%5B0%5D%5B‌​compare%5D=%3C&meta_‌​query%5B0%5D%5Btype%‌​5D=DATE

Related

Can't find resourceClick like eventClick in fullcalendar scheduler #5.7.0

I've faced to problem. Fullcalendar has property eventClick which allows you to handle a click on an event from list events calendar. Now I've started use fullcalendar scheduler (#5.7.0) where I need to click and call such action but on resource, from list resources in the left side. I've couldn't find any solutions so decided to write feature request. If solvetion has already existed, couldn't you share information and write to way to use resourceClick in fullcalendar scheduler #5.7.0.
I think it featuer will be usefule for many projects, where use resource timeline.

Display single event on a page with events planner wordpress plugin

How do I display a single event with the events planner plugin in wordpress
https://wordpress.org/plugins/events-planner/
If I use [events_planner event_id="1932"] it displays all the events instead of displaying a single one
How do I display a single event ?
Has anybody used it ? Please help

Linking to fullcalendar event

i have a fullcalendar view, that shows the current month view as default. I fetch different events via json call, everything works fine.
My question is. How do i link to a specific event from another page, so that it opens in "day" view on the correct date.?
Take a look at this fiddle:
http://jsfiddle.net/100thGear/krJcL/
This leverages the changeView and goToDate FullCalendar methods to simulate what you need.
Might help you get started. Let me know if this helps!

Calender control in asp.net

I am writing a website in asp.net and looking for a control in which I can show a simple but very good looking calender.
The calender shoud show different events with a timestamp on it and additional informations (e.g.: 20 persons registered).
On a click on the event it should show the details.
All this must be read out of a database.
Any ideas?
The Telerik RadScheduler comes to mind, but is paid: http://demos.telerik.com/aspnet-ajax/scheduler/examples/overview/defaultcs.aspx
For free there is FullCalendar for JQuery: http://arshaw.com/fullcalendar/
DHTMLX Scheduler .NET is also an option. Check this demo, it looks good http://scheduler-net.com/demo.aspx

Creating an Agenda View for IBM iLog Calendar application

I am using the IBM iLog Elixir calendar for my website. Its working fine.
My issue is that, I want to create an agenda view for the events in the calendar for the date that is selected in the DataChooser (which I do by sending a request back to my database, and fetching the events for that particular date).
But the issue here is with the events that are recurrence. They have rules, and based on the rules the iLog calendar shows them on the calendar. But for me, I just check for the events with that date.
There are two solutions:
Is that I understand the rules in the database, and make a query that checks those rules and send me back the events.
Solution is, the iLog calendar already fetches all the events, and displays them according to where they should be. So, I should try to find a way to fetch these events from the calendar itself.
The solution second is a better choice, as it makes the calendar faster (as I dont have to send another request to database) and it also is already doing what I need. All I need to figure out how to fetch these events.
How can I fetch the events from calendar itself.

Resources