If this is your first visit, check our documentation. To post, register or login.
Forums / Community Contributed Add-Ons / All Other Contributions/Addons / Events Calendar v4 [Support Thread]

Events Calendar v4 [Support Thread]

Started by dw08gm on 13 May 2013, 10:26 AM · Views: 11,231

Results 1 to 20 of 30
13 May 2013, 10:26 AM
#1
dw08gm avatar

dw08gm

Totally Zenned

Join Date:
Sep 2008
Location:
DownUnder, overlooking South Pole.
Posts:
1,023
Plugin Contributions:
2

Post #1 by dw08gm

Events Calendar Version 4

This thread is for the support of the Events Calendar v4 mod for Zen Cart v151.

This mod has been upgraded for zen cart 1.50+, including many new/revised features, and is available at:

http://www.zen-cart.com/downloads.php?do=file&id=521

Please do not post any comments/queries/criticisms concerning the older versions of this mod and/or zen cart here, but use the old thread located at:
http://www.zen-cart.com/showthread.php?76804-Event-Calendar.

A lot of work has gone into upgrading this mod and we hope you gain much from its use.

Enjoy.

3 Jun 2013, 5:14 PM
#2
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Post #2 by divavocals

This is in the description for this add-on:

In certain situations, events could themselves become products (eg tickets), or be used to generate additional products (eg "I was There" merchandise).

I have a full on events management add-on built for Zen Cart which does have this kind of functionality (this particular add-on also has full support for recurring events and tracking RSVPS etc..)

However, I don't see any functions for this particular add-on when creating events which appear to have this same kind of functionality.. (never saw it in testing this add-on either..) Can you clarify how exactly does one accomplish this kind of functionality with what is still largely a simple events/calendar add-on??

My Site - Zen Cart & WordPress integration specialist
I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

5 Jun 2013, 10:31 PM
#3
dw08gm avatar

dw08gm

Totally Zenned

Join Date:
Sep 2008
Location:
DownUnder, overlooking South Pole.
Posts:
1,023
Plugin Contributions:
2

Post #3 by dw08gm

DivaVocals:

This is in the description for this add-on:

I have a full on events management add-on built for Zen Cart which does have this kind of functionality (this particular add-on also has full support for recurring events and tracking RSVPS etc..)

However, I don't see any functions for this particular add-on when creating events which appear to have this same kind of functionality.. (never saw it in testing this add-on either..) Can you clarify how exactly does one accomplish this kind of functionality with what is still largely a simple events/calendar add-on??

Without having seen your "full on events management add-on built for Zen Cart", I am unable to draw a comparison, especially wrt functionality.

Events Calendar does not create products by itself, but provides links to and additional information for same. A product can be created for an event in the usual manner, which can exist on its own without the creation of an event, and vice versa.

5 Jun 2013, 11:23 PM
#4
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Post #4 by divavocals

dw08gm:

Without having seen your "full on events management add-on built for Zen Cart", I am unable to draw a comparison, especially wrt functionality.

Events Calendar does not create products by itself, but provides links to and additional information for same. A product can be created for an event in the usual manner, which can exist on its own without the creation of an event, and vice versa.
Ahhhh.. The description is a tad misleading which is why I asked about this sentence.. As it reads it appears that the module has functionality which will allow an event to "become" a product or to "generate" additional products. This reads as if the module contains functionality that I did not think existed. (again which is why I asked in case I missed something..)

If I understand correctly then what you are saying is that this module allows a shopowner link a product to an event. The linked product could be a product which would allow the shopowner to sell tickets to the event or the shopowner could link an event related product to the event.. Got it.. this is how I understood the module's functionality to work.. Just wanted to make sure I hadn't missed some "hidden" functionality is all.. Thanks for the clarification..:smile:

My Site - Zen Cart & WordPress integration specialist
I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

3 Oct 2013, 9:45 PM
#5
tenthilltoys avatar

tenthilltoys

New Zenner

Join Date:
Aug 2013
Location:
Brisbane
Posts:
25
Plugin Contributions:
0

Post #5 by tenthilltoys

Hi have installed Events Calendar and works fine
I am able to schedule days for the current month and can use the multiple events box ok. What I cannot get is the dropdown Calendar to advance a month so that I can insert a day.
any Ideas would be appreciated.

Peter

4 Oct 2013, 3:07 PM
#6
dw08gm avatar

dw08gm

Totally Zenned

Join Date:
Sep 2008
Location:
DownUnder, overlooking South Pole.
Posts:
1,023
Plugin Contributions:
2

Post #6 by dw08gm

Please provide more info on what you are trying to do.

Insert a day where? using what?

What other jscripts or similar do you have installed.

5 Oct 2013, 6:33 AM
#7
tenthilltoys avatar

tenthilltoys

New Zenner

Join Date:
Aug 2013
Location:
Brisbane
Posts:
25
Plugin Contributions:
0

Post #7 by tenthilltoys

Hi dw08gm

when I access Admin> Extras> Events Manager> New Event then open the calendar to select a new month for example Nov 2013 the calendar does not change and if you press on any date it reverts to XX/Oct/2013

I have spiffyCal_v2_1.js, calendercode.js, events_manager_js.php, rewards_points.js locate in Admin/includes/javascript

I am running the V4.0 events and V1.51 Zen-Cart

cheers

Peter

6 Oct 2013, 11:22 AM
#8
dw08gm avatar

dw08gm

Totally Zenned

Join Date:
Sep 2008
Location:
DownUnder, overlooking South Pole.
Posts:
1,023
Plugin Contributions:
2

Post #8 by dw08gm

Sounds like you may have corrupted a file. Please compare your site files with the original mod files for possible solution.

The only other occurrance I can recall that sounds similar to your problem was with the previous outdated version, but that fix may not be pertinent to this version:
http://www.zen-cart.com/showthread.php?76804-Event-Calendar&p=901609#post901609

Another place to look is whether your dates are consistently formatted to either dd/mm/yyyy (UK) or mm/dd/yyyy (USA). This mod should work either way, except where there is an inconsistency.

That you can display November 2013 calendar suggests it is not a css problem.

Let me know how you fare.

6 Oct 2013, 10:28 PM
#9
tenthilltoys avatar

tenthilltoys

New Zenner

Join Date:
Aug 2013
Location:
Brisbane
Posts:
25
Plugin Contributions:
0

Post #9 by tenthilltoys

Hi the problem is that I cannot get it to show the next month it shows it in the dropdown box and when clicked<ok> it shows in the first box for the month
Attachment 13150
current month

Attachment 13151
November same days and dates.

But as you can see it has not updated.

Also I did notice that when installing the SQL file this is what it looked like.

Attachment 13149

I have checked the module files and re uploaded to another store to check, I have the same problem.

Thanks
Peter

7 Oct 2013, 5:41 AM
#10
dw08gm avatar

dw08gm

Totally Zenned

Join Date:
Sep 2008
Location:
DownUnder, overlooking South Pole.
Posts:
1,023
Plugin Contributions:
2

Post #10 by dw08gm

I now see what you were trying to say, that the days of the month in the calendar are not updated to the month selected but stay at those of the default month. To me that says you have a problem with either a js file or the file which draws up the calendar. Does the same thing happen with the end date calendar popup, or if you create an event within the current month (ie October) and try to copy it to a later time within the current or next month.

I had a look at the reward points js file and could not see any obvious conflicts. As I know ec works as intended on a default zencart and on my own store which is very heavily modified but without reward points mod, it could be that the reward points mod is causing the problem. So try uninstalling both mods, then reload ec and see if the problem persists.

Do you have any other mods loaded?

Have you unloaded any mods recently that had a js component?

10 Dec 2013, 12:33 AM
#11
Join Date:
Nov 2013
Location:
TX
Posts:
1
Plugin Contributions:
0

Post #11 by trinity_bay_tactical

Installed the the calendar mod, but it will not post any pages.
The admin functions appear to work, but will not create the calendar.

3 Feb 2014, 1:10 PM
#12
dw08gm avatar

dw08gm

Totally Zenned

Join Date:
Sep 2008
Location:
DownUnder, overlooking South Pole.
Posts:
1,023
Plugin Contributions:
2

Post #12 by dw08gm

Converts Events Calendar v4 to responsive-fluid template design.

Override Files
\includes\classes\events_calendar.php
\includes\modules\events_calendar_listing.php
\includes\templates\YourTemplate\css\stylesheet_events_calendar_sidebox.css
\includes\templates\YourTemplate\css\events_calendar.css
\includes\templates\YourTemplate\templates\tpl_events_calendar_default.php
\includes\templates\YourTemplate\templates\tpl_events_calendar_include_default.php
New files
\includes\templates\YourTemplate\templates\tpl_events_divular_display.php

Notes:
The files have largely been converted from table to div layout, except for the monthly calendar (as used in the sidebox) which retains the table layout.
Most adjustments to the display will be done by editing \includes\templates\YourTemplate\css\events_calendar.css.
The width of the centre column events dropdown is not responsive, so be careful of using lengthy event titles.
The Paging Header (displaying page x of y) code has been upgraded.

Installation:
No admin or database files affected.
Firstly, change the single reference to "YOUR_TEMPLATE" in the folder structure provided to the exact name of your template.
To upgrade from the Events Calendar 4 fileset, merge the contents of each override file provided with its counterpart in the Events Calendar 4 fileset and copy the new file provided to your store.
For new installations, first install the Events_Calendar 4 fileset and then simply copy all of the files provided to your store.

Menu links for when the sidebox is not displayed:
In order to access certain parts of the calendar when the sidebox is not displayed, you may need to place a link to one or other calendar view in your menu structure.
For example, the link to display the Year calendar view in the centre column will look like this (change "whatever" and "YourView" to suit):

<li class="whatever"><a href="index.php?main_page=events_calendar&year_view=1">YourView</a></li> Other links can be obtained by opening the page you seek in your browser and noting the URL displayed in the address bar of your browser. The relevent part is everything after and including "index.php?main_page=".

Caveat:
This works 100% on my own responsive-fluid template.
May not work 100% or as expected in other responsive templates.
Install at own risk.

Attachment #13741

16 Apr 2014, 9:31 AM
#13
dave_mc avatar

dave_mc

New Zenner

Join Date:
Apr 2007
Location:
Coventry, West Midlands
Posts:
36
Plugin Contributions:
0

Post #13 by dave_mc

dw08gm,

Thanks for this link: http://www.zen-cart.com/showthread.php?76804-Event-Calendar&p=975306#post975306
It has worked a dream and my 'back button' problem is resolved. I switched in parts of the shopping cart and did find as you suspected that the problem extended beyond the 'back button' and affected other buttons like 'continue shopping' and the like. I opened up my tpl_main_page and inserted this code right at the beginning (line 1, before the <?php):

<?php if (isset($_GET['eventmode']) && $_GET['eventmode'] == 'eventframe') { $_SESSION['navigation']->remove_current_page(); require($body_code); }else{ ?>

Then at the end of the page (immediately after the final <?php) closed it off with:

<?php } ?>

All's good now and thanks again for a very useful module buddy :smile:

22 May 2014, 4:16 AM
#14
jackfrost avatar

jackfrost

New Zenner

Join Date:
Apr 2014
Location:
Philippines
Posts:
3
Plugin Contributions:
0

Post #14 by jackfrost

I'd like to show past events as well. But I noticed only upcoming events are shown. I don't use the calendar view, only the list of events view

index.php?main_page=events_calendar&select_event=1

And I want to show past events too as it is useful in showing customer use the products you sell a lot in both past and future events.

28 May 2014, 8:17 AM
#15
dw08gm avatar

dw08gm

Totally Zenned

Join Date:
Sep 2008
Location:
DownUnder, overlooking South Pole.
Posts:
1,023
Plugin Contributions:
2

Post #15 by dw08gm

tpl_events_calendar_default.php

<!-- bof event dropdown -->
  $q_events = $db->Execute("select *, DAYOFMONTH(start_date) AS day, MONTH(start_date) AS month, YEAR(start_date) AS year"
  . " from ".TABLE_EVENTS_CALENDAR." where start_date >= '" . date('Y-m-d') . "' and language_id = '" . $_SESSION['languages_id'] . "'"
  . " order by start_date");
<!-- eof event dropdown -->

Change start date to suit. eg year = year -1

20 Jun 2014, 4:11 PM
#16
lackew avatar

lackew

Zen Follower

Join Date:
Aug 2009
Location:
Tampa Bay
Posts:
223
Plugin Contributions:
1

Post #16 by lackew

This Calender is Marvelous.....
How can I remove the double border (grid) on the Years View?

blessed be the day we make tomorrow a better yesterday

28 Jun 2014, 3:55 AM
#17
dw08gm avatar

dw08gm

Totally Zenned

Join Date:
Sep 2008
Location:
DownUnder, overlooking South Pole.
Posts:
1,023
Plugin Contributions:
2

Post #17 by dw08gm

To not display border in Year Calendar
\includes\classes\events_calendar.php
around line 256

/* bof table */
$s .= "<table class="calWidth" cellspacing="1" cellpadding="0" border="1">\n";
change to
$s .= "<table class="calWidth" cellspacing="1" cellpadding="0" border="0">\n";

To display border in Sidebox Calendar
includes\templates\YOUR_TEMPLATE\templates\tpl_events_calendar_include_default.php
around line 69

<table class="calendarBox" cellspacing="1" cellpadding="2"> change to <table class="calendarBox" cellspacing="1" cellpadding="2" border="1"> or more for greater.

You can change any of the border, cellspacing and cellpadding variables of any table to suit, however may cause alignment issues, especially with months > 30 days.

29 Jun 2014, 4:03 PM
#18
lackew avatar

lackew

Zen Follower

Join Date:
Aug 2009
Location:
Tampa Bay
Posts:
223
Plugin Contributions:
1

Post #18 by lackew

Thank You dw08gm! I was able to figure out the border. Just when I thought all was gravy it appears the side box is effecting the CSS back buttons :-( On any page when the back button is clicked it loads the calender MONTH Box only into website. Turning off CSS buttons everything is fine or when turning off the side box. I cant get them both to work together. CSS back button hover link shows
domain.com/index.php?main_page=events_calendar_include&eventmode=eventframe&_month=01&_year=2014

just for my created pages as a work around I am using

<input class="cssButton button_custom" style="width: 60px;" onmouseover="this.className='cssButtonHover button_custom button_customHover'" onmouseout="this.className='cssButton button_custon'" onclick="location='Javascript:history.go(-1);'" type="button" value="Back">

but the template pages wont work with the side box and CSS button on at the same time??? Any suggestions?

blessed be the day we make tomorrow a better yesterday

29 Jun 2014, 4:28 PM
#19
lackew avatar

lackew

Zen Follower

Join Date:
Aug 2009
Location:
Tampa Bay
Posts:
223
Plugin Contributions:
1

Post #19 by lackew

Lackew:

Thank You dw08gm! I was able to figure out the border. Just when I thought all was gravy it appears the side box is effecting the CSS back buttons :-( On any page when the back button is clicked it loads the calender MONTH Box only into website. Turning off CSS buttons everything is fine or when turning off the side box. I cant get them both to work together. CSS back button hover link shows
domain.com/index.php?main_page=events_calendar_include&eventmode=eventframe&_month=01&_year=2014

just for my created pages as a work around I am using

<input class="cssButton button_custom" style="width: 60px;" onmouseover="this.className='cssButtonHover button_custom button_customHover'" onmouseout="this.className='cssButton button_custon'" onclick="location='Javascript:history.go(-1);'" type="button" value="Back">

but the template pages wont work with the side box and CSS button on at the same time??? Any suggestions?

I found your solution in the other thread..... WONDERFUL thank you again for this mod!

blessed be the day we make tomorrow a better yesterday

18 Jul 2014, 2:08 AM
#20
lackew avatar

lackew

Zen Follower

Join Date:
Aug 2009
Location:
Tampa Bay
Posts:
223
Plugin Contributions:
1

Post #20 by lackew

I turned on the side box but noticed the header is not formatted like the rest of my sideboxes. The font is too large and cannot find where to change the font size?????

blessed be the day we make tomorrow a better yesterday