Page 17 of 50 FirstFirst ... 7151617181927 ... LastLast
Results 161 to 170 of 500
  1. #161
    Join Date
    Oct 2010
    Posts
    4
    Plugin Contributions
    0

    Default Re: Event Calendar

    Did anyone ever find a solution to the back button issue? Everything is working great for me except that the back buttons often go to the monthly calendar on the main page now.
    Last edited by cayenne17; 23 Dec 2010 at 02:54 AM.

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

    Default Re: Event Calendar

    I tend to disable back_buttons in my store that do not work properly, including those in event_calendar, which thus forces the user to use their browser back_button.

    However, with fixes to back_buttons in several other mods released over the last month or so, I may take another look at this problem.

    But please dont hold your breath waiting for an answer.

  3. #163
    Join Date
    Oct 2010
    Posts
    4
    Plugin Contributions
    0

    Default Re: Event Calendar

    Quote Originally Posted by dw08gm View Post
    I tend to disable back_buttons in my store that do not work properly, including those in event_calendar, which thus forces the user to use their browser back_button.

    However, with fixes to back_buttons in several other mods released over the last month or so, I may take another look at this problem.

    But please dont hold your breath waiting for an answer.

    Thanks for the reply. I don't think I explained the problem well enough though. It isn't an issue with the back buttons in the calender mod itself but the way the back buttons on other pages are behaving now that I have installed the calendar mod. Someone else described the same problem and it seems to be some kind of issue with how the navigation history is built. For instance, if I enter the shopping cart by adding a product and then click the Continue Shopping button, it correctly goes back to the product description page, but if I click the shopping cart link from the main navigation or from the side box and then click on the Continue Shopping button, it now goes back to a page that shows the contents on the events calendar sidebox on the main page and no other content. In this case, the URL being passed to the ContinueShopping button by the navigationHistory object is <mysite>/index.php?main_page=events_calendar_include&_month=&_year=&eventmode=eventframe so that seems to be the problem. This probelm is also affecting the Back buttons on the Contact Us and Privacy Notice pages and probably others around the site. I know that I could disable all back buttons but I would rather fix the issue. I am going to look at it today but thought I would see if anyone else had already fixed it first.

  4. #164
    Join Date
    Oct 2010
    Posts
    4
    Plugin Contributions
    0

    Default Re: Event Calendar

    Quote Originally Posted by kencor1 View Post
    Good news I have got the calendar working except for the same error that the post above mine was having with the dates in the ALL Events view. They are all the same dates as the date that is the furthest out. Has anyone got a fix for this?

    Thanks
    Tom
    I was having an issue with how the dates are displayed although it isn't exactly the same problem that you are describing. My dates were all shifted up by one event. So the first event had the second event's date, the second event had the third event's date etc. and the last two events had the same date. I fixed this by changing when the events array increments in the file /modules/events_calendar_listing.php.

    You need to change this code:

    PHP Code:
            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); 
                                 
                           } 
    to this code:

    PHP Code:
            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>'); 
                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); 
                
                
    $events->MoveNext();                   
             } 

    If you are using the reformatted files from post #57, then the code that needs to be resplaced will be on lines 89-111.

    Hope that helps.

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

    Default Re: Event Calendar

    Quote Originally Posted by cayenne17 View Post
    Thanks for the reply. I don't think I explained the problem well enough though. It isn't an issue with the back buttons in the calender mod itself but the way the back buttons on other pages are behaving now that I have installed the calendar mod. Someone else described the same problem and it seems to be some kind of issue with how the navigation history is built. For instance, if I enter the shopping cart by adding a product and then click the Continue Shopping button, it correctly goes back to the product description page, but if I click the shopping cart link from the main navigation or from the side box and then click on the Continue Shopping button, it now goes back to a page that shows the contents on the events calendar sidebox on the main page and no other content. In this case, the URL being passed to the ContinueShopping button by the navigationHistory object is <mysite>/index.php?main_page=events_calendar_include&_month=&_year=&eventmode=eventframe so that seems to be the problem. This probelm is also affecting the Back buttons on the Contact Us and Privacy Notice pages and probably others around the site. I know that I could disable all back buttons but I would rather fix the issue. I am going to look at it today but thought I would see if anyone else had already fixed it first.
    I suspect the problem lies with the iframe. I have tried so many times to replace same with a div structure and have all but given up as coding is not my forte.

    If you are using the reformatted files from post #57, then the code that needs to be resplaced will be on lines 89-111.
    I already had your revised code in place.

  6. #166
    Join Date
    Oct 2010
    Posts
    4
    Plugin Contributions
    0

    Default Re: Event Calendar

    Quote Originally Posted by dw08gm View Post
    I suspect the problem lies with the iframe. I have tried so many times to replace same with a div structure and have all but given up as coding is not my forte..
    Yes, the problem was related to the iframe. It turned out to be a really easy fix. I replaced the code that the readme has us insert at the top of includes/templates/your_template/common/tpl_main_page.php with the following:

    PHP Code:
    <?php
      
    if (isset($_GET['eventmode']) && $_GET['eventmode'] == 'eventframe') {
      
    $_SESSION['navigation']->remove_current_page();
      require(
    $body_code);
      }else{
    ?>
    That way the call by the iframe to the event calendar is removed from the navigation history. It seems to be working well.

    I also attempted to replace the iframe with a div structure and was successful except that you can no longer browse through the months in the sidebox which I think is a really nice feature so I'm going to leave it as the iframe for now.

    I already had your revised code in place..
    The other code I posted was regarding the date problem someone else had asked for help with and was not related to the back button issue.

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

    Default Re: Event Calendar

    Quote Originally Posted by cayenne17 View Post
    PHP Code:
    <?php
      
    if (isset($_GET['eventmode']) && $_GET['eventmode'] == 'eventframe') {
      
    $_SESSION['navigation']->remove_current_page();
      require(
    $body_code);
      }else{
    ?>
    That way the call by the iframe to the event calendar is removed from the navigation history. It seems to be working well.
    Hi cayenne17

    That works for me and allowed me to reinstate the Continue Shopping button. I am glad it was an easy fix for you.

    Many Thanks.

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

    Default Re: Event Calendar

    I went to edit an event via Event Manager and discovered that the event image I had input for an event was removed regardless of whether the "No Image" checkbox was ticked or not. This checkbox only appears when an event image had been input.

    Lines 348-353 in admin/events_manager.php (v1.02) reads:

    Code:
            <td class="main"><?php
          echo zen_draw_file_field('event_image') . zen_draw_hidden_field('event_previous_image', (($HTTP_POST_VARS['event_image']) ? $HTTP_POST_VARS['event_image'] : $events->fields['event_image'])) .'</td><td class="main">'. (($HTTP_POST_VARS['event_image']) ? $HTTP_POST_VARS['event_image'] : $events->fields['event_image']) .'&nbsp;&nbsp</td>';
          if ($HTTP_POST_VARS['event_image'] || $events->fields['event_image']) {
          $event_image = ($HTTP_POST_VARS['event_image'] ? $HTTP_POST_VARS['event_image'] : $events->fields['event_image']);
          echo '<td class="main">'. zen_image(DIR_WS_CATALOG_IMAGES .'events_images/' . $event_image , $HTTP_POST_VARS['title'][$language_id], 50, 50, 'align="right" hspace="2" vspace="2"') .'</td>'.
               '<td class="main">&nbsp;'. TEXT_EVENT_NO_IMAGE .'&nbsp;&nbsp;'. zen_draw_checkbox_field('no_image', $value = '', $checked = false, $compare = '') .'</td>';
    While I can live with this problem, it will become a pain to keep track of the events images as I roll one year's events to the next.

    I suspect the bit highlighted in blue above is the cause but cannot work out how to fix. Help much appreciated.

    In the above code, I have also boldly highlighted in red two (2) bits ("/" and ";") that I deem need fixing.

    Thanks in advance.

  9. #169
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,021
    Plugin Contributions
    32

    Default Re: Event Calendar

    So I've been looking through this thread ad two things stand out for me:

    1. What's available in the downloads is nearly three years old, seems un-stable and requires one to sift through this support thread for a bunch of tweaks and patches (and it's difficult to tell which ones are still legit or not)
    2. I've yet to see a GOOD example of this module working on ANYONE'S site..


    Now all that said, what is the advantage of using a three year old unstable mod which requires a ton of patches over this one: http://www.zen-cart.com/index.php?ma...oducts_id=1230

    Scheduled Events seems stable ad well supported.. So I assume it's the feature set between the two that makes people continue to bang their heads against the wall with this mod..

    So riddle me this?? What's the difference between these two modules in terms of features..
    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.

  10. #170
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,021
    Plugin Contributions
    32

    Default Re: Event Calendar

    Okay.. So I'm back.. and I've installed this thing and applied every patch that's been posted here and I cannot create events.. I click the "New Events" button and NOTHING happens.. So I'm confused how ANY can claim this mod works because I don't see it..

    Hoping someone with a working version of this mod would be kind enough to bundle up their files and post them here as a zip file.. Because right now from where I stand, this thing ain't working at ALL..
    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.

 

 
Page 17 of 50 FirstFirst ... 7151617181927 ... 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