Edite WoWonder / add a simple Calendar -- 2
Budget: €8 – €30 EUR
Hello,
I'm using the wowonder script and I want to add a calendar.
I have all the files, but I can't get the date.
-----------------------------------------
For to see the events in wowonder is by "ID"
So When I see the events are:
https://****************.com/events/9/
In WoWonder use:
<a href="<?php echo $wo['event']['url']; ?>" class="event_cover" data-ajax="?link1=show-event&eid=<?php echo($wo['event']['id']);?>">
Or (i'm not sur)
<span><?php echo $wo['event']['start_date'];?></span>
------------------/ /--------------------/ /-------------------------
And the calendar use data
When I see the events are:
https://****************.com/events/2022/10/14/
<script type="text/javascript">//<![CDATA[
function flatCalendarCallback(cal) {
if (cal.dateClicked) {
var url = "https://****************.com/events/" + cal.date.print("%Y/%m/%d/");
window.location = url;
}
};
//]]></script>
--------------------------------------------
What I want is to see all the events of the same day
when I click on day of Calendar, it's show all events about this day.
OBS: In attached I will give an example of the project I intend to do
Thank you
I'm using the wowonder script and I want to add a calendar.
I have all the files, but I can't get the date.
-----------------------------------------
For to see the events in wowonder is by "ID"
So When I see the events are:
https://****************.com/events/9/
In WoWonder use:
<a href="<?php echo $wo['event']['url']; ?>" class="event_cover" data-ajax="?link1=show-event&eid=<?php echo($wo['event']['id']);?>">
Or (i'm not sur)
<span><?php echo $wo['event']['start_date'];?></span>
------------------/ /--------------------/ /-------------------------
And the calendar use data
When I see the events are:
https://****************.com/events/2022/10/14/
<script type="text/javascript">//<![CDATA[
function flatCalendarCallback(cal) {
if (cal.dateClicked) {
var url = "https://****************.com/events/" + cal.date.print("%Y/%m/%d/");
window.location = url;
}
};
//]]></script>
--------------------------------------------
What I want is to see all the events of the same day
when I click on day of Calendar, it's show all events about this day.
OBS: In attached I will give an example of the project I intend to do
Thank you