Page 7 of 23 FirstFirst ... 5678917 ... LastLast
Results 61 to 70 of 229
  1. #61
    Join Date
    Apr 2009
    Posts
    52
    Plugin Contributions
    0

    Default Re: Scheduled Events Add-On

    Yes, I get the same message no matter what code I've tried. Makes me wonder if something else is over-ridding it.

    april_may

  2. #62
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,107
    Plugin Contributions
    11

    Default Re: Scheduled Events Add-On

    When you look in the database, is the table named events or something else? Perhaps zen_events?

  3. #63
    Join Date
    Apr 2009
    Posts
    52
    Plugin Contributions
    0

    Default Re: Scheduled Events Add-On

    it is zen_events



    An unrelated question... you say the events roll off when expired. Is there a way to have an option to have them "reset" if the event is a monthly re-occuring event.
    Example: I list 2nd Saturday Art Walk events. They are always on the 2nd sat of the month, so as soon as one expires and "rolls off" can it be programmed to re-set to show it for the next month?

    april_may

  4. #64
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,107
    Plugin Contributions
    11

    Default Re: Scheduled Events Add-On

    Let's try this as the header_php.php
    PHP Code:
     <?php
    // $Id: header_php.php 2008-12-31 08:07:26Z dbltoe $
    require(DIR_WS_MODULES zen_get_module_directory('require_languages.php'));

    // include template specific file name defines
    $define_page zen_get_file_directory(DIR_WS_LANGUAGES $_SESSION['language'] . '/html_includes/'FILENAME_DEFINE_EVENTS'false');

    $result $db->Execute("SELECT * FROM zen_events WHERE (EndDate >= NOW()-1) ORDER BY StartDate");
      
    $eventData = array();
      while (!
    $result->EOF) {
        
    $eventData[] = $result->fields;
        
    $result->MoveNext();
      }
    $breadcrumb->add(NAVBAR_TITLE);  
    ?>

  5. #65
    Join Date
    Apr 2009
    Posts
    52
    Plugin Contributions
    0

    Default Re: Scheduled Events Add-On

    Tried it. Still does not work - still getting same error message

  6. #66
    Join Date
    Apr 2009
    Posts
    52
    Plugin Contributions
    0

    Default Re: Scheduled Events Add-On

    Could it be in the files where I copied and pasted rather than WinMerging?

    in the informatio.php file I copied and pasted this code:

    if (DEFINE_EVENTS_STATUS <= 1) {
    $information[] = '<a href="' . zen_href_link(FILENAME_EVENTS) . '">' . BOX_INFORMATION_EVENTS . '</a>';
    }

    is this the ONLY code snip that you added to this file?
    Maybe I am missing something here.

  7. #67
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,107
    Plugin Contributions
    11

    Default Re: Scheduled Events Add-On

    Quote Originally Posted by april_may View Post
    Tried it. Still does not work - still getting same error message
    The EXACT SAME message as before or does it now contain "zen_events"?

  8. #68
    Join Date
    Apr 2009
    Posts
    52
    Plugin Contributions
    0

    Default Re: Scheduled Events Add-On

    exact same message as before... the error message has never changed no matter what code we've tried.

  9. #69
    Join Date
    Apr 2009
    Posts
    52
    Plugin Contributions
    0

    Default Re: Scheduled Events Add-On

    could this be it? In the extra_pages_filenames.php

    ?php
    // $Id: extra_pages_filenames.php 2008-12-31 08:07:26Z dbltoe $
    // define the extra page filenames
    define('FILENAME_DEFINE_EVENTS', 'define_events');
    define('FILENAME_EVENTS', 'events');
    ?>

    should I change it to
    define('FILENAME_EVENTS', 'zen_events');

  10. #70
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,107
    Plugin Contributions
    11

    Default Re: Scheduled Events Add-On

    No.
    If you can hold off to later today after I get out of the flea market my wife talked me into, we'll look at this a little more in depth.

 

 
Page 7 of 23 FirstFirst ... 5678917 ... LastLast

Similar Threads

  1. Scheduled sending of eCards
    By cna-tester in forum General Questions
    Replies: 0
    Last Post: 18 Aug 2010, 09:14 AM
  2. Send scheduled email to customers???
    By hifipj in forum General Questions
    Replies: 2
    Last Post: 16 Oct 2007, 02:39 PM
  3. USPS API Updates Scheduled
    By batteryman in forum Built-in Shipping and Payment Modules
    Replies: 2
    Last Post: 25 Apr 2007, 09:43 PM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR