Page 9 of 50 FirstFirst ... 789101119 ... LastLast
Results 81 to 90 of 500
  1. #81
    Join Date
    Oct 2008
    Posts
    3
    Plugin Contributions
    0

    Default Re: Event Calendar

    Quote Originally Posted by falstaffpac View Post
    I'm a little reluctant to post these files because:
    1) It is not my work
    2) I am not a programmer so I cannot offer support

    Unfortunately, this script has not received much support lately and I think its pretty cool when it works. So, I've included the code of the 2 files I formatted below. I hope this is enough to get your calendar working. Beyond this, I don't know that I can be of much help..............


    I've find an error in /modules/events_calendar_listing.php, quote in your post. This error make an incorrect listing of dates of event of the same month. This is my correction:

    Move $events->MoveNext(); in the line 96 below line 108, where is 'text' => $endDate); .+

    I hope this is useful for someone.

    Bye

  2. #82
    Join Date
    Nov 2007
    Posts
    270
    Plugin Contributions
    0

    Default Re: Event Calendar

    I am having a strange problem with some of the "back" buttons. If I'll view calendar event (sample on Nov. 3) and go back & forth few time and than later on go to Site Map and/or any other page and click the "back" button I get to this page:

    http://skygarden.viana.on.ca/index.p...ode=eventframe

    this is a test site at: http://skygarden.viana.on.ca

    Any idea? Is this happening to anyone else??
    Tx Veronika

    P.S.
    I am still interested to modify the "End" to accept time of the event. Any suggestions?

  3. #83
    Join Date
    May 2008
    Posts
    97
    Plugin Contributions
    0

    Default Re: Event Calendar

    HI Everyone,

    OK I am going crazy. I have tried everything from cleaning up the code to all the different versions of the script to debugging etc.

    I have even tried that on two different servers but the same problems as I have described before remain.

    Can someone that has a working version zip the files and email them? I would really appreciate it.

    Tassos

  4. #84
    Join Date
    Jul 2008
    Posts
    19
    Plugin Contributions
    0

    Default Re: Event Calendar

    hrinfo,

    Check your PM

  5. #85
    Join Date
    May 2008
    Posts
    97
    Plugin Contributions
    0

    Default Re: Event Calendar

    Hi falstaffpac

    Thanks for your effort but still no difference although at least the stylesheet is working now :-)

    For everyone please if you can help will be great as I really want to get this script to work.

    First of all I am using the following:

    MySQL 4.1.21
    PHP 5
    Firefox 3.0.3
    IE 6.02 (never really use it other than testing)

    tested on both linux and win machine(usig wamp) with same results


    The problems that I have are:

    When try to add new event nothing happens, the page simple reloads the same. When I add an entry through PHPAdmin and then try to delete it does not work.

    On the main page the calendar shows now properly but you can not change month. When you click on month then it shows you all the results for that month but when clicking on an event nothing happens. More importantly the dates are all over the place.

    The dates is the strangest of all. Have a look at the images below:

    In mysql the dates are correct as below:




    In admin of zen cart the dates that an event was added is correct but start and end dates are simple making no sense:



    Finally in the main site the dates in the calendar and on the drop down menu are correct but on the page itself are not again:



    You can also see it for yourself here:

    http://www.dollswithsoul.com/dedemarco/ (click on the month to see the events)

    Please any help will be appreciated as I am going crazy. I have installed thousands of scripts and nearly half the modules from zen cart without any major problem but this one just does not make sense.

    Thanks

    Tassos

  6. #86
    Join Date
    Jul 2008
    Posts
    19
    Plugin Contributions
    0

    Default Re: Event Calendar

    Very strange about the dates. When you enter an event are you including a description of the event? When I visit your site, it appears the calendar and events are displayed properly.

    If I click on the month hyperlink, it correctly displays the events for that month.

    If I click on an event from the calendar, it also displays the events for that month (which is the way it functions for me).

    If I click on an event from the events table nothing happens, but this might be because you've not added a description of the event.

  7. #87
    Join Date
    Jul 2008
    Posts
    19
    Plugin Contributions
    0

    Default Re: Event Calendar

    Disregard,

    I see you have descriptions in your SQL entry. As I'm sure you already know, I'm unable to navigate from the month of November. I'll poke around on my end and see if there is anything different from the scripts I sent you.

    Aaron

    edited to addd: The only other thing I can think of is the sql patch. That could explain why the dates are wrong in the Events Manager listing but correct from the SQL database and Events Manager. I would try running the tabelenupdate.sql through the SQL Query Executor thingy again.
    Last edited by falstaffpac; 2 Nov 2008 at 06:45 PM.

  8. #88
    Join Date
    May 2008
    Posts
    97
    Plugin Contributions
    0

    Default Re: Event Calendar

    Hi Aaron,

    Thanks for spending more time on it. I did check the sql and re-uploaded everything both through the install patch in admin as well as through phpadmin but no real change.

    In admin now the dates are correct after re-uploading all files again. Nevertheless the rest is the same. I can not help thinking that it is something to do with the select/form functions.

    Tassos

  9. #89
    Join Date
    Apr 2008
    Location
    Cape Cod, Massachusetts, USA
    Posts
    26
    Plugin Contributions
    0

    Default Re: Event Calendar

    Quote Originally Posted by Veronika7747 View Post
    I am having a strange problem with some of the "back" buttons. If I'll view calendar event (sample on Nov. 3) and go back & forth few time and than later on go to Site Map and/or any other page and click the "back" button I get to this page:

    http://skygarden.viana.on.ca/index.p...ode=eventframe

    this is a test site at: http://skygarden.viana.on.ca

    Any idea? Is this happening to anyone else??
    Tx Veronika

    P.S.
    I am still interested to modify the "End" to accept time of the event. Any suggestions?
    I am having a similar problem since installing the Event Calendar module. All of my back buttons go to

    index.php?main_page=events_calendar_include&_month=&_year=&eventmode=eventframe

    Annoying but I'm sure there is a fix for it somewhere. If I find it, I will reply.

    Thanks!

  10. #90
    Join Date
    Nov 2008
    Posts
    1
    Plugin Contributions
    0

    Default Re: Event Calendar

    Quote Originally Posted by falstaffpac View Post
    I'm a little reluctant to post these files because:
    1) It is not my work
    2) I am not a programmer so I cannot offer support

    Unfortunately, this script has not received much support lately and I think its pretty cool when it works. So, I've included the code of the 2 files I formatted below. I hope this is enough to get your calendar working. Beyond this, I don't know that I can be of much help.

    /includes/classes/calendar.php
    PHP Code:
    <?php

    /** --------------------------------------------------------------------- */
    /** zen-cart Open Source E-commerce                                       */
    /** --------------------------------------------------------------------- */
    /**  Copyright (c) 2003 The zen-cart developers                           */
    /**                                                                 */
    /**  http://www.zen-cart.com/index.php                                    */
    /**                                                                   */
    /** Portions Copyright (c) 2003 osCommerce                               */
    /** ----------------------------------------------------------------------   */
    /** This source file is subject to version 2.0 of the GPL license,       */
    /**  that is bundled with this package in the file LICENSE, and is       */
    /** available through the world-wide-web at the following url:           */
    /**  http://www.zen-cart.com/license/2_0.txt.                             */
    /**  If you did not receive a copy of the zen-cart license and are unable */
    /** to obtain it through the world-wide-web, please send a note to       */
    /** [email protected] so we can mail you a copy immediately.          */
    /** ----------------------------------------------------------------------  */
    /** $Id: events_manager.php 2007-07-10 [email protected]  */

    class Calendar
        
    {
        function 
    Calendar()
        {
        }
        function 
    getDayNames()
        {
            return 
    $this->dayNames;
        }
        function 
    setDayNames($names)
        {        
            
    $this->dayNames $names;
        }
        function 
    getMonthNames()
        {
            
    $this->monthNames;
        }
        function 
    setMonthNames($names)
        {
        
    $this->monthNames $names;
        }
        function 
    getStartDay()
        {
            return 
    $this->startDay;
        }
        function 
    setStartDay($day)
        {
            
    $this->startDay $day;
        }
        function 
    getStartMonth()
        {
            return 
    $this->startMonth;
        }
        function 
    setStartMonth($month)
        {
            
    $this->startMonth $month;
        }
        function 
    getCalendarLink($month$year)
        {
             return 
    "&_month=$month&_year=$year";
        }
        function 
    pad($s$n)
        {
            
    $r $s;    while (strlen($r) < $n)
        {    
               
    $r "0".$r;
        }
            return 
    $r;
        }
        
        function 
    getFileName($day$month$year)
        {
            return 
    $this->pad($year4) ."-"$this->pad($month2) ."-"$this->pad($day2);
        }
        
        function 
    getDbLink($day$month$year)
        {    
            global 
    $db
                
    $dateString $this->getFileName($day$month$year);    
            
    $event $db->Execute("select start_date from " TABLE_EVENTS_CALENDAR " where '" $dateString "' between start_date and end_date");
            if(
    $event->RecordCount() > 0)
            {
        while (!
    $event->EOF)
               {    
                
    /* get the first event for this day's start date for the link */

        
    list($year_start$month_start$day_start) = split ('[/.-]'$event->fields['start_date']);
                        break; 
    $event->MoveNext();
                 }   
                
            
    $bname FILENAME_EVENTS_CALENDAR;
                return 
    "index.php?main_page=".$bname."&_day=".$day_start."&_month=".$month_start."&_year=".$year_start."";
                  }
        }
            
        function 
    getCurrentMonthView()
        {
            
    $d getdate(time());
            return 
    $this->getMonthView($d["mon"], $d["year"]);
        }
            function 
    getCurrentYearView()
        {
            
    $d getdate(time());
            return 
    $this->getYearView($d["year"]);
        }
            function 
    getMonthView($month$year)
        {
            return 
    $this->getMonthHTML($month$year);
        }
        function 
    getYearView($year)
        {
            return 
    $this->getYearHTML($year);
        }
        function 
    getDaysInMonth($month$year)
        {
            if (
    $month || $month 12)
            {
                return 
    0;
            }
            
    $d $this->daysInMonth[$month 1];
            if (
    $month == 2)
            {
                if (
    $year%== 0)
                {
                    if (
    $year%100 == 0)
                    {
                        if (
    $year%400 == 0)
                        {
                            
    $d 29;
                        }
                    }
                    else
                    {
                        
    $d 29;
                    }
                }
            }
            return 
    $d;
        }

        function 
    getMonthHTML($m$y$show 1)
        {
            
    $s "";
            
    $a $this->adjustDate($m$y);
            
    $month $a[0];
            
    $year  $a[1];
            
    $daysInMonth $this->getDaysInMonth($month$year);
            
    $date getdate(mktime(1200$month1$year));
               
    $first $date["wday"];
            
    $monthName $this->monthNames[$month 1];
            
    $prev $this->adjustDate($month 1$year);
            
    $next $this->adjustDate($month 1$year);
            
    $this_month date('m');
            
    $this_year date('Y');
            
    $header $monthName . (($show 0) ? " " $year "");
            
    $D $this->monthNames[11].'&nbsp;';
            
    $J $this->monthNames[0].'&nbsp;';
                 if (
    $show == 1)
             {
             
    $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-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+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";
                
    $s .= "<table cellspacing=\"0\" cellpadding=\"0\" border=\"0\" class=\"calendarMonth\"><tr class=\"calendarHeader\">\n";
                
    $s .= "<td align=\"center\" valign=\"middle\">" $this->dayNames[($this->startDay)%7] . "</td>\n";
                
    $s .= "<td align=\"center\" valign=\"middle\">" $this->dayNames[($this->startDay+1)%7] . "</td>\n";
                
    $s .= "<td align=\"center\" valign=\"middle\">" $this->dayNames[($this->startDay+2)%7] . "</td>\n";
                
    $s .= "<td align=\"center\" valign=\"middle\">" $this->dayNames[($this->startDay+3)%7] . "</td>\n";
                
    $s .= "<td align=\"center\" valign=\"middle\">" $this->dayNames[($this->startDay+4)%7] . "</td>\n";
                
    $s .= "<td align=\"center\" valign=\"middle\">" $this->dayNames[($this->startDay+5)%7] . "</td>\n";
                
    $s .= "<td align=\"center\" valign=\"middle\">" $this->dayNames[($this->startDay+6)%7] . "</td>\n";
                
    $s .= "</tr>\n";$d $this->startDay $first;
            
            while (
    $d 1)
            {
                
    $d -= 7;
            }
                
    $today getdate(time());
                
    $start_day $this->getStartDay();
                
    $click BOX_CLICK_LINK;
                
            while (
    $d <= $daysInMonth)
            {
                
    $s .= "<tr>\n";
                for (
    $i 0$i 7$i++)
                {
    $class = (($i < (6-$start_day) &! $i <= $start_day) ? (($year == $today["year"] && $month == $today["mon"] && $d == $today["mday"]) ? "calendarToday" "calendar" ) : (($year == $today["year"] && $month == $today["mon"] && $d == $today["mday"]) ? "calendarToday" "calendarWeekend"));
                  if (
    $d && $d <= $daysInMonth)
                    {
                     
    $link $this->getDbLink($d$month$year);
                     
    $s .= (($link == "") ? "<td class=\"$class\" align=\"left\" valign=\"bottom\">" "<td class=\"$class\" onclick=top.window.location=\"$link\">" );
                    
                     if(
    $show == 1)
            {
                     
    $s .= (($link == "") ? $d "<a href=\"$link\" target=\"_parent\" title=\"$click\">$d</a>");
                    }
                else
                {
                         
    $s .= (($link == "") ? $d "<a href=\"$link\" title=\"$click\">$d</a>");
                }
            }
                    else
                    {
                        
    $s .= "<td class=\"empty\">&nbsp;";
                    }
                          
    $s .= "</td>\n";
                              
    $d++;
                 }
                
    $s .= "</tr>\n";
                }
                    
    $s .= "</table>\n";
                    
    $s .= "</td></tr></table>\n";
            
                    return 
    $s;
              }
              
        function 
    getYearHTML($year)
        {
            
    $year_view 1;
            
    $s "";
            
    $prev 'index.php?main_page='.FILENAME_EVENTS_CALENDAR $this->getCalendarLink(1$year 1) .'&year_view=1';
            
    $next 'index.php?main_page='.FILENAME_EVENTS_CALENDAR $this->getCalendarLink(1$year 1) .'&year_view=1';
            
    $this_year date('Y');
            
    $s .= "<table align=\"center\" cellspacing=\"0\" cellpadding=\"0\" border=\"0\" >\n";
            
    $s .= "<tr>";
                   if(
    $year $this_year)
            {
            
    $s .= "<td class=\"yearHeader\" align=\"center\" align=\"left\">" . (($prev == "") ? "&nbsp;" "<a href=\"$prev\">&lt;&lt;</a>")  . "</td>\n";
            }
            else
            {
            
    $s .= "<td class=\"yearHeader\" align=\"center\" align=\"left\">&nbsp;</td>\n";
            }
            
    $s .= "<td height=\"20\" class=\"yearHeader\" align=\"center\">" . (($this->startMonth 1) ? $year " - " . ($year 1) : $year) ."</td>\n";
                
    $s .= "<td class=\"yearHeader\" align=\"center\" align=\"right\">" . (($next == "") ? "&nbsp;" "<a href=\"$next\">&gt;&gt;</a>")  . "</td>\n";
                
    $s .= "</tr>\n";        $s .= "<tr>";        $s .= "<td valign=\"top\">" $this->getMonthHTML($this->startMonth$year0) ."</td>\n";
                    
    $s .= "<td valign=\"top\">" $this->getMonthHTML($this->startMonth$year0) ."</td>\n";
                    
    $s .= "<td valign=\"top\">" $this->getMonthHTML($this->startMonth$year0) ."</td>\n";
                    
    $s .= "</tr>\n";
                    
    $s .= "<tr>\n";
                    
    $s .= "<td valign=\"top\">" $this->getMonthHTML($this->startMonth$year0) ."</td>\n";
                    
    $s .= "<td valign=\"top\">" $this->getMonthHTML($this->startMonth$year0) ."</td>\n";
                    
    $s .= "<td valign=\"top\">" $this->getMonthHTML($this->startMonth$year0) ."</td>\n";
                    
    $s .= "</tr>\n";
                    
    $s .= "<tr>\n";
                    
    $s .= "<td valign=\"top\">" $this->getMonthHTML($this->startMonth$year0) ."</td>\n";
                    
    $s .= "<td valign=\"top\">" $this->getMonthHTML($this->startMonth$year0) ."</td>\n";
                    
    $s .= "<td valign=\"top\">" $this->getMonthHTML($this->startMonth$year0) ."</td>\n";
                    
    $s .= "</tr>\n";
                    
    $s .= "<tr>\n";
                    
    $s .= "<td valign=\"top\">" $this->getMonthHTML($this->startMonth$year0) ."</td>\n";
                    
    $s .= "<td valign=\"top\">" $this->getMonthHTML(10 $this->startMonth$year0) ."</td>\n";
                    
    $s .= "<td valign=\"top\">" $this->getMonthHTML(11 $this->startMonth$year0) ."</td>\n";
                    
    $s .= "</tr>\n";
                    
    $s .= "</table>\n";
                    return 
    $s;
                }
        function 
    adjustDate($month$year)
        {
            
    $a = array();
            
    $a[0] = $month;
            
    $a[1] = $year;
            while (
    $a[0] > 12)
            {
                
    $a[0] -= 12;
                
    $a[1]++;
            }
            while (
    $a[0] <= 0)
            {
                
    $a[0] += 12;
                
    $a[1]--;
            }
            return 
    $a;
        }
        
        
    /* 
            The start day of the week. This is the day that appears in the first column
            of the calendar. Sunday = 0.
        */
        
    var $startDay 0;

        
    /* 
            The start month of the year. This is the month that appears in the first slot
            of the calendar in the year view. January = 1.
        */
        
    var $startMonth 1;

        
    /*
            The labels to display for the days of the week. The first entry in this array
            represents Sunday.
        */
        
    var $dayNames = array("S""M""T""W""T""F""S");
        
        
    /*
            The labels to display for the months of the year. The first entry in this array
            represents January.
        */
        
    var $monthNames = array("January""February""March""April""May""June",
                                
    "July""August""September""October""November""December");
                                
                                
        
    /*
            The number of days in each month. You're unlikely to want to change this...
            The first entry in this array represents January.
        */
        
    var $daysInMonth = array(312831303130313130313031);
        }
    ?>
    /modules/events_calendar_listing.php
    PHP Code:
    <?php

    /** --------------------------------------------------------------------- */
    /** zen-cart Open Source E-commerce                                       */
    /** --------------------------------------------------------------------- */
    /**  Copyright (c) 2003 The zen-cart developers     */
    /**                                                                 */
    /**  [url]http://www.zen-cart.com/index.php[/url]           */
    /**                                                                   */
    /** Portions Copyright (c) 2003 osCommerce                               */
    /** ----------------------------------------------------------------------   */
    /** This source file is subject to version 2.0 of the GPL license,       */
    /**  that is bundled with this package in the file LICENSE, and is       */
    /** available through the world-wide-web at the following url:           */
    /**  [url]http://www.zen-cart.com/license/2_0.txt[/url].                             */
    /**  If you did not receive a copy of the zen-cart license and are unable */
    /** to obtain it through the world-wide-web, please send a note to       */
    /** [email protected] so we can mail you a copy immediately.          */
    /** ----------------------------------------------------------------------  */
    /** $Id: events_manager.php 2007-07-10 [email protected]  */




    if(isset($listingTitle))
    {
        echo 
    '<H2>' $listingTitle '</H2>';
    }
        
    $events_split = new splitPageResults($events_query_rawMAX_DISPLAY_NUMBER_EVENTS'DAYOFMONTH(start_date)');
        
    $events_query $db->Execute($events_query_raw);
        
        
    /** Show Paging Header ? */
        
    if (($events_split->number_of_rows 0) && ((PREV_NEXT_BAR_LOCATION == '1') || (PREV_NEXT_BAR_LOCATION == '3'))) 
     {
     
    ?>
            </td>
        </tr>

    <tr>
            <td>
                <table border="0" width="100%" cellspacing="0" cellpadding="2">
                    <tr>
                        <td class="smallText">
                            <?php
                                 
    if(isset($displayPagingSuffix))
                                {
                                    
    $displayPagingSuffix ' : ' $displayPagingSuffix;
                                }
                                echo 
    $events_split->display_count(TEXT_DISPLAY_NUMBER_OF_PAGES $displayPagingSuffix);
                             
    ?>
                        </td>
                        <td align="right" class="smallText">
                        <?php
                         
    echo TEXT_RESULT_PAGE ' ' $events_split->display_links(MAX_DISPLAY_PAGE_LINKSzen_get_all_get_params(array('page''info''x''y')));
                        
    ?>
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
        <tr>
            <td>

        <?php
    }
          
    $row 0;
          
    $list_box_contents = array();
          
          
    /** Add headings ... */
          
          
    $list_box_contents[$row][] = array('align' => 'left',
                                    
    'params' => 'class="event_header"',
                                    
    'text' => '&nbsp;' TEXT_EVENT_TITLE '&nbsp;');
          
          
    $list_box_contents[$row][] = array('align' => 'center',
                                    
    'params' => 'class="event_header"',
                                    
    'text' => '&nbsp;Start ' TEXT_EVENT_DATE '&nbsp;');
         
    $list_box_contents[$row][] = array('align' => 'center',
                                    
    'params' => 'class="event_header"',
                                    
    'text' => '&nbsp;End ' TEXT_EVENT_DATE '&nbsp;');

                                    
        
    /** Add listing rows ... */
                 
    $events $db->Execute($events_split->sql_query);
             
        
    /** while($events = zen_db_fetch_array($events_query)) */
        
            
    while (!$events->EOF)
            {
                
    $row++;
                
    $list_box_contents[$row][] = array('align' =>     'left',
                                                                   
    'params' => 'class="event_description"',
                                                            
    'text'  =>  '<a href="index.php?main_page='
                                               
    FILENAME_EVENTS_CALENDAR '&select_event=' $events->fields['event_id'] . '">' $events->fields['title'] . '</a>');
                       
    $events->MoveNext();
                list(
    $year$month$day) = split '[/.-]'$events->fields['start_date']);
                    
    $list_box_contents[$row][] = array( 'align'  => 'center',
                                        
    'params' => 'class="event_description"',
                                        
    'text'   => date("F j, Y"mktime(000$month$day$year)));
                    
    $endDate '-';
                    if(isset(
    $events->fields['end_date']) && trim($events->fields['end_date']) != '')
                    {
                        list(
    $year$month$day) = split ('[/.-]'$events->fields['end_date']);
                            
    $endDate date("F j, Y"mktime(000$month$day$year));
                            }
                            
    $list_box_contents[$row][] = array('align'  => 'center',
                                           
    'params' => 'class="event_description"',
                                           
    'text'   => $endDate);
                                
                           }
                           
         
    /** Show listing */
                  
    require($template->get_template_dir('tpl_tabular_display.php',DIR_WS_TEMPLATE$current_page_base,'common'). '/tpl_tabular_display.php');
         
         
    /** new productListingBox($list_box_contents); */
                 
    if (($events_split->number_of_rows 0) && ((PREV_NEXT_BAR_LOCATION == '2') || (PREV_NEXT_BAR_LOCATION == '3')))
         {
         
    ?>
            </td>
        </tr>
        <tr>
            <td>
                <table border="0" width="100%" cellspacing="0" cellpadding="2">
                    <tr>
                        <td class="smallText">
                            <?php
                                 
    if(isset($displayPagingSuffix))
                                {
                                    
    $displayPagingSuffix ' : ' $displayPagingSuffix;
                                }
                                echo 
    $events_split->display_count(TEXT_DISPLAY_NUMBER_OF_PAGES $displayPagingSuffix);
                             
    ?>
                        </td>
                        <td align="right" class="smallText">
                            <?php echo TEXT_RESULT_PAGE ' ' $events_split->display_links(MAX_DISPLAY_PAGE_LINKSzen_get_all_get_params(array('page''info''x''y'))); ?>                    </td>
                    </tr>
                </table>
            </td>
        </tr>
        <tr>
            <td><?php
        
    }
     else
    {
    ?>
        <table border=0 width="100%" cellspacing="0" cellpadding="4">
            <tr>
                        <td class="main"><br><?php echo TEXT_NO_EVENTS?></td>
                    </tr>
                </table>
    <?php
    }
    ?>
    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!

 

 
Page 9 of 50 FirstFirst ... 789101119 ... 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