Page 1 of 2 12 LastLast
Results 1 to 10 of 500

Hybrid View

  1. #1
    Join Date
    Apr 2008
    Location
    London
    Posts
    596
    Plugin Contributions
    0

    Default Re: Event Calendar

    Hi Guys,

    Installed this module on a vanilla ZC 1.3.8a install and all seems to work fine EXCEPT the sidebox contains that whole site!
    Any ideas?

    You can see it here:
    http://tinyurl.com/53djkt

  2. #2
    Join Date
    Apr 2005
    Location
    NSW - Australia
    Posts
    46
    Plugin Contributions
    0

    Default Re: Event Calendar

    Thanks falstaffpac for the info on the calendar !
    Without the knowledge of knowing that the script needed cleaning up - I would have rode the module off.

    But after cleaning up, my customer is now happy her ZenCart Site has a calendar :)
    And a working one at that !

    Appreciate your posts !


    Brad :)

  3. #3
    Join Date
    Aug 2006
    Posts
    36
    Plugin Contributions
    0

    red flag Re: Event Calendar

    Quote Originally Posted by aussie View Post
    Thanks falstaffpac for the info on the calendar !
    Without the knowledge of knowing that the script needed cleaning up - I would have rode the module off.

    But after cleaning up, my customer is now happy her ZenCart Site has a calendar :)
    And a working one at that !

    Appreciate your posts !


    Brad :)
    I've cleaned up that the code on the two pages, but cannot get my event to list. I just get the dropdown box. Can you please provide some insight? Rhonda

  4. #4
    Join Date
    Apr 2005
    Location
    NSW - Australia
    Posts
    46
    Plugin Contributions
    0

    Default Re: Event Calendar

    Hi Rhonda,

    I would suggest cleaning all files.
    From memory, there was only a couple of files that did not needed touching.
    But all the others I did.

    And it did take me a go or two to get them all.
    You only need one line to be not structured properly for things not to work

    Hence the reason, for extra scanning of each file.

    My Customers website for Reference for how the current version looks.

    Have a great day :)


    Brad

  5. #5
    Join Date
    Aug 2006
    Posts
    36
    Plugin Contributions
    0

    Default Re: Event Calendar

    Thank you a nice site, but boy it would be nice if someone could just zip up the cleaned up code! I am not an expert on PHP so this is taking some effort! Rhonda

  6. #6
    Join Date
    Jun 2005
    Location
    Cumbria, UK
    Posts
    10,266
    Plugin Contributions
    3

    Default Re: Event Calendar

    Quote Originally Posted by bigbadboy View Post
    Hi Guys,

    Installed this module on a vanilla ZC 1.3.8a install and all seems to work fine EXCEPT the sidebox contains that whole site!
    Any ideas?
    I have the same issue. What I can establish is this:

    1. The sidebox is meant to contain an <iframe> of a page called index.php?main_page=events_calendar_include.

    2. On some sites (that people have given as examples on this thread), if you look at the SOURCE CODE of that frame, it contains all the HTML headers, but strips out the header, left column, right column and footer. It is not doing this on our sites - we are getting the full MAIN PAGE in that iframe.

    The page source should look like this inside the iframe:
    HTML Code:
     <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="en">
    <head>
    <title>Zen Cart!, The Art of E-commerce</title>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    <meta name="keywords" content="ecommerce, open source, shop, online shopping " />
    <meta name="description" content="Zen Cart! :  - ecommerce, open source, shop, online shopping" />
    <meta http-equiv="imagetoolbar" content="no" />
    <meta name="author" content="The Zen Cart&trade; Team and others" />
    <meta name="generator" content="shopping cart program by Zen Cart&trade;, http://www.zen-cart.com eCommerce" />
    
    <base href="http://zencart-test-site.com/demo1/" />
    
    <link rel="stylesheet" type="text/css" href="includes/templates/joe/css/stylesheet.css" />
    <link rel="stylesheet" type="text/css" href="includes/templates/joe/css/stylesheet_css_buttons.css" />
    
    <link rel="stylesheet" type="text/css" href="includes/templates/joe/css/stylesheet_events_calendar.css" />
    <link rel="stylesheet" type="text/css" media="print" href="includes/templates/joe/css/print_stylesheet.css" />
    </head>
    
    <body id="eventscalendarincludeBody">
    
    <div id="mainWrapper">
    
    
    <SCRIPT LANGUAGE="JavaScript">
        function jump(view, url)
        {
            if (document.all||document.getElementById)
            {
                month= document.calendar._month.options[document.calendar._month.selectedIndex].value;
                year=  document.calendar._year.options[document.calendar._year.selectedIndex].value;
                return url +'&_month='+ month +'&_year='+ year +'&year_view='+ view;
            }
        }
    
    </SCRIPT>
    
    <!-- events_calendar //-->
      
    
    
    <table class="calendarBox" cellspacing="1" cellpadding="2">
        <tr>
            <td align="center" valign="top">
                <table width="100%" cellspacing="0" cellpadding="0" border="0">
    <tr class="calendarHeader">
    <td align="left"><a href="http://zencart-test-site.com/demo1/index.php?main_page=events_calendar&amp;_month=07&amp;_year=2009" target="_parent">July 2009</a></td>
    <td align="center" class="yearHeader">
    <a href=index.php?main_page=events_calendar_include&eventmode=eventframe&_month=6&_year=2009 target=calendar title=June&nbsp;2009 >&lt;</a></td>
    <td align="center" class="yearHeader"><a href=index.php?main_page=events_calendar_include&eventmode=eventframe&_month=8&_year=2009 target=calendar title=August&nbsp;2009 >&gt;</a></td></tr>
    
    <tr><td colspan="3">
    <table cellspacing="0" cellpadding="0" border="0" class="calendarMonth"><tr class="calendarHeader">
    <td align="center" valign="middle">S</td>
    <td align="center" valign="middle">M</td>
    <td align="center" valign="middle">T</td>
    <td align="center" valign="middle">W</td>
    <td align="center" valign="middle">T</td>
    <td align="center" valign="middle">F</td>
    <td align="center" valign="middle">S</td>
    </tr>
    
    <tr>
    <td class="empty">&nbsp;</td>
    <td class="empty">&nbsp;</td>
    <td class="empty">&nbsp;</td>
    <td class="calendar" align="left" valign="bottom">1</td>
    <td class="calendar" align="left" valign="bottom">2</td>
    <td class="calendar" align="left" valign="bottom">3</td>
    <td class="calendarWeekend" align="left" valign="bottom">4</td>
    </tr>
    <tr>
    <td class="calendarToday" onclick=top.window.location="index.php?main_page=events_calendar&_day=05&_month=07&_year=2009"><a href="index.php?main_page=events_calendar&_day=05&_month=07&_year=2009" target="_parent" title="Click for events">5</a></td>
    <td class="calendar" align="left" valign="bottom">6</td>
    
    <td class="calendar" align="left" valign="bottom">7</td>
    <td class="calendar" align="left" valign="bottom">8</td>
    <td class="calendar" align="left" valign="bottom">9</td>
    <td class="calendar" align="left" valign="bottom">10</td>
    <td class="calendarWeekend" align="left" valign="bottom">11</td>
    </tr>
    <tr>
    <td class="calendarWeekend" align="left" valign="bottom">12</td>
    <td class="calendar" align="left" valign="bottom">13</td>
    <td class="calendar" align="left" valign="bottom">14</td>
    
    <td class="calendar" align="left" valign="bottom">15</td>
    <td class="calendar" align="left" valign="bottom">16</td>
    <td class="calendar" align="left" valign="bottom">17</td>
    <td class="calendarWeekend" align="left" valign="bottom">18</td>
    </tr>
    <tr>
    <td class="calendarWeekend" align="left" valign="bottom">19</td>
    <td class="calendar" align="left" valign="bottom">20</td>
    <td class="calendar" align="left" valign="bottom">21</td>
    <td class="calendar" align="left" valign="bottom">22</td>
    
    <td class="calendar" align="left" valign="bottom">23</td>
    <td class="calendar" align="left" valign="bottom">24</td>
    <td class="calendarWeekend" align="left" valign="bottom">25</td>
    </tr>
    <tr>
    <td class="calendarWeekend" align="left" valign="bottom">26</td>
    <td class="calendar" align="left" valign="bottom">27</td>
    <td class="calendar" align="left" valign="bottom">28</td>
    <td class="calendar" align="left" valign="bottom">29</td>
    <td class="calendar" align="left" valign="bottom">30</td>
    
    <td class="calendar" align="left" valign="bottom">31</td>
    <td class="empty">&nbsp;</td>
    </tr>
    </table>
    </td></tr></table>
            </td>
        </tr>
        
        <tr>
            <td class="yearHeader" align="center" valign="top">
            <form style="margin:0; padding:0" method="get" name="calendar" action="index.php?main_page=events_calendar">
                <!-- Month List -->
    
                <select name="_month">
                                        <option value="1"  >
                                JAN                        </option> 
                                        <option value="2"  >
                                FEB                        </option> 
                                        <option value="3"  >
                                MAR                        </option> 
                                        <option value="4"  >
                                APR                        </option> 
                                        <option value="5"  >
    
                                MAY                        </option> 
                                        <option value="6"  >
                                JUN                        </option> 
                                        <option value="7" selected >
                                JUL                        </option> 
                                        <option value="8"  >
                                AUG                        </option> 
                                        <option value="9"  >
                                SEP                        </option> 
                                        <option value="10"  >
    
                                OCT                        </option> 
                                        <option value="11"  >
                                NOV                        </option> 
                                        <option value="12"  >
                                DEC                        </option> 
                            </select><select name="_year">
                <!-- Year List -->
                <option value="2009" selected>2009</option>
    
    <option value="2010">2010</option>
    <option value="2011">2011</option>
    <option value="2012">2012</option>
    <option value="2013">2013</option>
                </select><input type="button" class="yearHeaderButton" title=" view selected month " value=">" onclick="top.window.location=jump(0,'index.php?main_page=events_calendar')"/>
            </form>
    </td>
    </tr>
        <tr>
          <td class="yearHeader" align="center" valign="top">
    
            <input type="button" class="yearHeaderButton" title=" view selected year " value=" Y " onClick="top.window.location=jump(1,'index.php?main_page=events_calendar')"/>
          </td>
        </tr>
    </table>
    <!-- events_calendar //-->
    
    </td>
    
      </tr>
    </table>
    
    
    </body></html>
    I am not skilled enough in PHP to know why the entire MAIN PAGE is loading into the iframe, rather than just:
    /index.php?main_page=events_calendar_include
    but I think it has something to do with calendar.php in the classes folder...

    I would appreciate taking a look at this class file from a site where the sidebox is working OK, and also, I'd like to know what version of ZC is installed on sites where this is working.
    20 years a Zencart User

  7. #7
    Join Date
    May 2009
    Posts
    38
    Plugin Contributions
    0

    Default Re: Event Calendar

    @schoolboy
    I had the same issue. i ran the sql statement as per step 1 and it went away
    "1)Install database sql file tabelenupdate.sql from admin/tools/install sql patches"

  8. #8
    Join Date
    Feb 2008
    Posts
    41
    Plugin Contributions
    0

    Default Re: Event Calendar

    Has anyone been able to get this event calendar to work properly?
    ~B.

  9. #9
    Join Date
    Aug 2007
    Location
    Fort Worth, Texas, United States
    Posts
    177
    Plugin Contributions
    0

    Default Re: Event Calendar

    I gave up on that calendar. But I did find a great substitute. It's low cost and the developer offers great support. If you have problems installing it, he will install it for you.

    It's not meant to be a ZenCart plugin, but you can add the code to an EZPAGE and it will work great! To customers it looks like part of your site. There is a demo on his site...


    http://www.availabilitybookingcalend...event-booking/

  10. #10
    Join Date
    Mar 2006
    Posts
    89
    Plugin Contributions
    0

    Default Re: Event Calendar

    Oh yeah, breakthrough! Mine was doing the "I'm doing nothing" thing when clicking just about anything. To fix it, I modified the files:

    templates/tpl_events_calendar_default.php
    and
    admin/events_manager.php

    Changed all instances of $HTTP_POST_VARS to $_POST and all instances of $HTTP_GET_VARS to $_GET. This got me going to the point where I was able to modify to suit my purposes, I hope it works for you too...

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Timeslot Booking Event Calendar
    By escapis in forum All Other Contributions/Addons
    Replies: 2
    Last Post: 31 Jan 2014, 12:45 AM
  2. Multiple Choices error with Event Booking Calendar addon
    By FukienMan in forum All Other Contributions/Addons
    Replies: 9
    Last Post: 16 Feb 2012, 12:17 AM
  3. Help with Event Calendar add-on
    By blabay in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 24 Mar 2010, 01:34 PM
  4. Event Calendar Broken - take out of download section!
    By Asmodai in forum All Other Contributions/Addons
    Replies: 3
    Last Post: 10 Nov 2007, 07:22 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg