Page 15 of 50 FirstFirst ... 5131415161725 ... LastLast
Results 141 to 150 of 500
  1. #141
    Join Date
    Jun 2007
    Location
    Eustis, Florida, USA, EARTH
    Posts
    836
    Plugin Contributions
    0

    Default Re: Event Calendar

    I spent 8 hours yesterday trying to solve the problem yesterday. I used Firefox Firebug to show me the behind the scenes look at the calendar. One thing I noticed is that the calendar iframe calls the entire website, which having the calendar embedded in it , calls the entire website, which calls the entire website ad infin itum. Sort of looking at a TV with TV camers. You keep getting more and more and more images of the same thing, only smaller. This explains an earlier post about Crafty Syntax Live Help. I noticed that the site with the calendar was having exponentail page view counts, now I understand why. For some reason, on my site the entire page is not loading in the sidebox, but I did read in this thread where others were having that problem.

  2. #142
    Join Date
    Sep 2008
    Location
    DownUnder, overlooking South Pole.
    Posts
    984
    Plugin Contributions
    6

    Default Re: Event Calendar

    I wish to replace the iframe altogether with a div, and convert the calendar month view to a rolling month grid of days by weeks, but the code completely bamboozles me.

  3. #143
    Join Date
    Jun 2007
    Location
    Eustis, Florida, USA, EARTH
    Posts
    836
    Plugin Contributions
    0

    Default Re: Event Calendar

    Quote Originally Posted by richardr View Post
    fixed all my problems, great post! thanks for the support!!

    No it di not fix your problems. I clicked on your weblink and your calendar does not work.

  4. #144
    Join Date
    Jun 2007
    Location
    Eustis, Florida, USA, EARTH
    Posts
    836
    Plugin Contributions
    0

    Default Re: Event Calendar

    Quote Originally Posted by aenimic View Post
    Thanks for this help but I am facing this problem. The sidebox that should display the calendar is now displaying the homepage. Why is this happening?! PLEASE HELP!

    I have been troubleshooting that fact for myself for days. Turns out that the README file makes an additional code to the tpl_main_page.php file located in templates/yourtemplate/common/

    So now there is no more home page reloading in the calendar box. One small step......

    But it is still not running properly.

    Perserverance.

  5. #145
    Join Date
    Jun 2007
    Location
    Eustis, Florida, USA, EARTH
    Posts
    836
    Plugin Contributions
    0

    Default My working files in zip

    Well looks like everything is working fine now.

    attached is the zip file with only 3 changes:

    1: replaced calendar.php per post #57
    2: replaced events_calendar_listing.php per post #57
    3: Added tpl_main_page.php to templates/mytemplate/common/ and added the code as directed in the readme file.

    Seems to work fine now. Escort Service
    Attached Files Attached Files

  6. #146
    Join Date
    Aug 2006
    Posts
    36
    Plugin Contributions
    0

    red flag Re: Event Calendar

    So. I have the same problem - that it is not providing the correct year when clicked in the year view. How did you fix the parsing issue?

    If I type it in - it comes up correctly, but otherwise it is stuck in 2008. Rhonda

  7. #147
    Join Date
    Jun 2007
    Location
    Eustis, Florida, USA, EARTH
    Posts
    836
    Plugin Contributions
    0

    Default Re: Event Calendar

    Do what the Readme file tells you to do!

  8. #148
    Join Date
    Sep 2008
    Location
    DownUnder, overlooking South Pole.
    Posts
    984
    Plugin Contributions
    6

    Default Re: Event Calendar

    Pixelpadre fix:

    1. \includes\templates\YourTemplate\common\tpl_main_page.php

    change

    Code:
    <?php
    }
    ?>
    <!--eof- banner #6 display -->
    </body>
    to

    Code:
    <!--eof- banner #6 display -->
    </body>
    <?php
    }
    ?>
    2. To change the sidebox subheading from "MonthYear <>" to "<< MonthYear >>", in \includes\classes\calendar.php, replace the following code within function getMonthHTML($m, $y, $show = 0):

    Code:
             $prevMonth = '<a href=index.php?main_page='. FILENAME_EVENTS_CALENDAR_INCLUDE . '&eventmode=eventframe' .$this->getCalendarLink($prev[0], $prev[1]).' target=calendar title='. $this->monthNames[$month - 2] . (($month-2 < 1) ? $D.($year-1) : '&nbsp;'. $year) .' >&lt;</a>'; 
              
             $nextMonth = '<a href=index.php?main_page='. FILENAME_EVENTS_CALENDAR_INCLUDE . '&eventmode=eventframe' . $this->getCalendarLink($next[0], $next[1]).' target=calendar title='. $this->monthNames[$month + 0] . (($month+0 > 11) ? $J.($year+1) : '&nbsp;'. $year) .' >&gt;</a>'; 
            } 
            else 
            { 
                $prevMonth = ""; 
                $nextMonth = ""; 
            } 
            $s .= "<table width=\"100%\" cellspacing=\"0\" cellpadding=\"0\" border=\"0\">\n"; 
            $s .= "<tr class=\"calendarHeader\">\n"; 
            $linkHeader = zen_href_link(FILENAME_EVENTS_CALENDAR, "_month=$month&_year=$year"); 
            $s .= "<td align=\"left\"><a href=\"$linkHeader\" target=\"_parent\">$header</a></td>\n"; 
            $s .= "<td align=\"center\" class=\"yearHeader\">\n"; 
    
          if(mktime (0,0,0,$month ,0,$year) > mktime (0,0,0,$this_month ,0,$this_year)) 
        { 
                $s .= $prevMonth; 
            } 
            else 
        { 
            $s .= $prevMonth; 
            } 
                $s .= "</td>\n"; 
                $s .= "<td align=\"center\" class=\"yearHeader\">$nextMonth</td></tr>\n"; 
                $s .= "<tr><td colspan=\"3\">\n";
    with

    Code:
             $prevMonth = '<a href=index.php?main_page='. FILENAME_EVENTS_CALENDAR_INCLUDE . '&eventmode=eventframe' .$this->getCalendarLink($prev[0], $prev[1]).' target=calendar title='. $this->monthNames[$month - 2] . (($month-2 < 1) ? $D.($year-1) : '&nbsp;'. $year) .' >&lt;&lt;</a>';
    
             $nextMonth = '<a href=index.php?main_page='. FILENAME_EVENTS_CALENDAR_INCLUDE . '&eventmode=eventframe' . $this->getCalendarLink($next[0], $next[1]).' target=calendar title='. $this->monthNames[$month + 0] . (($month+0 > 11) ? $J.($year+1) : '&nbsp;'. $year) .' >&gt;&gt;</a>';
            }
            else
            {
             $prevMonth = "";
             $nextMonth = "";
            }
            $s .= "<table width=\"100%\" cellspacing=\"0\" cellpadding=\"0\" border=\"0\">\n";
            $s .= "<tr class=\"calendarHeader\">\n";
            $linkHeader = zen_href_link(FILENAME_EVENTS_CALENDAR, "_month=$month&_year=$year");
            $s .= "<td align=\"left\" class=\"yearHeader\">\n";
    
          if(mktime (0,0,0,$month ,0,$year) > mktime (0,0,0,$this_month ,0,$this_year))
        {
               $s .= $prevMonth;
            }
            else
        {
               $s .= $prevMonth;
            }
                $s .= "</td>\n";
                $s .= "<td align=\"center\"><a href=\"$linkHeader\" target=\"_parent\">$header</a></td>\n";
                $s .= "<td align=\"right\" class=\"yearHeader\">$nextMonth</td></tr>\n";
                $s .= "<tr><td colspan=\"3\">\n";
    2a. If you only want "< Month Year >" instead of "<< Month Year >>" in the above code, replace:

    Code:
             $prevMonth = '<a href=index.php?main_page='. FILENAME_EVENTS_CALENDAR_INCLUDE . '&eventmode=eventframe' .$this->getCalendarLink($prev[0], $prev[1]).' target=calendar title='. $this->monthNames[$month - 2] . (($month-2 < 1) ? $D.($year-1) : '&nbsp;'. $year) .' >&lt;&lt;</a>';
    
             $nextMonth = '<a href=index.php?main_page='. FILENAME_EVENTS_CALENDAR_INCLUDE . '&eventmode=eventframe' . $this->getCalendarLink($next[0], $next[1]).' target=calendar title='. $this->monthNames[$month + 0] . (($month+0 > 11) ? $J.($year+1) : '&nbsp;'. $year) .' >&gt;&gt;</a>';
    with

    Code:
             $prevMonth = '<a href=index.php?main_page='. FILENAME_EVENTS_CALENDAR_INCLUDE . '&eventmode=eventframe' .$this->getCalendarLink($prev[0], $prev[1]).' target=calendar title='. $this->monthNames[$month - 2] . (($month-2 < 1) ? $D.($year-1) : '&nbsp;'. $year) .' >&lt;</a>';
    
             $nextMonth = '<a href=index.php?main_page='. FILENAME_EVENTS_CALENDAR_INCLUDE . '&eventmode=eventframe' . $this->getCalendarLink($next[0], $next[1]).' target=calendar title='. $this->monthNames[$month + 0] . (($month+0 > 11) ? $J.($year+1) : '&nbsp;'. $year) .' >&gt;</a>';
    2b. To show "<< Month >>" instead of "<< Month Year >>", change:

    Code:
        function getMonthHTML($m, $y, $show = 1)
    to

    Code:
        function getMonthHTML($m, $y, $show = 0)
    2c. To add some lines of space after the whole Year calendar view table in the centre column, replace this code

    Code:
                $s .= "</table>\n";
    	return $s;
             }
        function adjustDate($month, $year)
    with

    Code:
                    $s .= "</table>\n";
    	    $s .= "<br/><br/>\n";
                    return $s;
                }
        function adjustDate($month, $year)
    For more lines, add more <br />.

    3. This mod needs to be tested against the latest zencart upgrade 1.3.9.

  9. #149
    Join Date
    Sep 2008
    Location
    DownUnder, overlooking South Pole.
    Posts
    984
    Plugin Contributions
    6

    Default Re: Event Calendar

    Anyone know how to run this mod without its iframe?

  10. #150
    Join Date
    May 2010
    Posts
    2
    Plugin Contributions
    0

    Default Re: Event Calendar

    Hi

    I'm using this mod and it seems to work pretty well for me. Only issue is I've installed the SSU Simple SEO Urls mod also.

    What happens is that the links from the little sidebox calendar go to:

    mysite.com/shop/events_calendar/_month/5/_year/2010/year_view/0

    rather than with the standard query string, so the variables aren't being picked up. Anyone have the same issue and know a fix??

 

 
Page 15 of 50 FirstFirst ... 5131415161725 ... 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