Results 1 to 10 of 500

Hybrid View

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

    Default Re: Event Calendar

    Quote Originally Posted by LaCamus View Post
    Then...
    in: includes/templates/your_template/templates/tpl_events_calendar_default.php
    Code:
      <div class="event_image_outer">
        <div class="event_image_inner">
          <?php echo event_flink_small($event_array['image'], $event_array['title'], 'class="c1" hspace="0" vspace="0"'); ?>
        </div>
        <div class="clearLeft"> </div>
      </div>
    ...will work.

    For those who still want to utilize the auto size detection feature of zen carts' image functions, they should use:
    Code:
      <div class="event_image_outer">
        <div class="event_image_inner">
          <?php echo event_flink_small($event_array['image'], $event_array['title'], 'class="c1" hspace="0" vspace="0"',true); ?>
        </div>
        <div class="clearLeft"> </div>
      </div>
    one more thing.. in this code the hspace and vspace attributes of <img> are deprecated in HTML 4.01. This code is going run into validation issues..

    would be better to add a margins setting (margin: 0px;) to the "c1" class in the stylesheet instead..
    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.

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

    Default Re: Event Calendar

    Diva

    Thanks for headsup on deprecation. As for margins, these are provided for in the inner and outer divs.

    Re fileset update - I am away from my office until Monday so am unable to provide until then. Rus no doubt will have more to add.

    Cheers

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

    Default Re: Event Calendar

    Quote Originally Posted by dw08gm View Post
    Diva

    Thanks for headsup on deprecation. As for margins, these are provided for in the inner and outer divs.
    That's very true.. I was merely suggesting though moving those deprecated attributes to their proper CSS place.. a setting of margin: 0px; won't affect the settings of the inner our outer divs at all..



    Quote Originally Posted by dw08gm View Post
    Re fileset update - I am away from my office until Monday so am unable to provide until then. Rus no doubt will have more to add.

    Cheers
    Rus probably has all the changes in his files.. Hopefully he can submit them so I can work on testing over the weekend.. I'm flying to Nashville tonight and I can work on some things while at the airport and during my downtime at my hotel.
    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.

  4. #4
    Join Date
    Mar 2013
    Location
    New Orleans
    Posts
    81
    Plugin Contributions
    0

    Default Re: Event Calendar

    I have to run but will be back on this tonight. The files aren't in a testing state yet. Maybe something for Sunday.

  5. #5
    Join Date
    Mar 2013
    Location
    New Orleans
    Posts
    81
    Plugin Contributions
    0

    Default Re: Event Calendar

    Quote Originally Posted by DivaVocals View Post
    ...Rus probably has all the changes in his files.. Hopefully he can submit them so I can work on testing over the weekend.. I'm flying to Nashville tonight and I can work on some things while at the airport and during my downtime at my hotel.
    HTML Code:
    Files I have "touched" since the alpha (ec_4_alpha.zip) release:
    
      On the admin (back end) side:
        events_manager.php
          * changed 
          : located in: admin/
          - main program on administrative side
    
        events_manager_rec_poll.php
          * new
          : located in: admin/
          - added for javascript ajax/sjax calls from main events_manager.php
    
        events_manager_drop_dns.php
          * changed
          : located in: admin/includes/
          - called from events_manager.php to handle link creation drop down boxes
    
        events_manager.css 
          * new
          : located in: admin/includes/
          - created to separate the bulk of css from events_manager.php
    
        events_manager_image_manipulator.php 
          * new
          : located in: admin/includes/classes/
          - called from events_manager.php, holds image manipulation class/functions
          ! was originally named image_manipulator.php, changed to be consistent with events module
    
        events_manager_js.php
          * new
          : located in: admin/includes/javascript/
          - created to separate the bulk of javascript from main events_manager.php
          ! file is called as a php require not from a javascript file tag, this is due to needed php define references
    
        events_manager_functions.php
          * new
          : located in: admin/includes/functions/
          - created to separate some of the larger php functions from main events_manager.php
    
        events_manager.php
          * changed
          : located in: admin/includes/languages/english/
          - hold english language php DEFINEs for text in the events manager module
    
        events_manager.php
          * changed
          : located in: admin/includes/languages/english/extra_definitions/
          - hold english language php DEFINEs for configurable options in the events manager
    
    -----
    
      On the store (front end) side:
    
        tpl_events_calendar_default.php
          * changed
          : located in: /includes/templates/your_template/templates/
          - main events calendar program for store front side
    
        events_calendar_include_defines.php
          * changed
          : located in: /includes/languages/english/extra_definitions/your_template/
          - hold english language php DEFINEs for configurable options in the events calendar
    
        events_calendar_functions.php
          * changed
          : located in: /includes/functions/extra_functions/
          - holds functions shared by events calendar module 
    That should do you...
    Rus

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

    Default Re: Event Calendar

    Quote Originally Posted by LaCamus View Post
    HTML Code:
    Files I have "touched" since the alpha (ec_4_alpha.zip) release:
    
      On the admin (back end) side:-
        events_manager.php
          * changed 
          : located in: admin/
          - main program on administrative side
    
        events_manager_rec_poll.php
          * new
          : located in: admin/
          - added for javascript ajax/sjax calls from main events_manager.php
    
        events_manager_drop_dns.php
          * changed
          : located in: admin/includes/
          - called from events_manager.php to handle link creation drop down boxes
    
        events_manager.css 
          * new
          : located in: admin/includes/
          - created to separate the bulk of css from events_manager.php
    
        events_manager_image_manipulator.php 
          * new
          : located in: admin/includes/classes/
          - called from events_manager.php, holds image manipulation class/functions
          ! was originally named image_manipulator.php, changed to be consistent with events module
    
        events_manager_js.php
          * new
          : located in: admin/includes/javascript/
          - created to separate the bulk of javascript from main events_manager.php
          ! file is called as a php require not from a javascript file tag, this is due to needed php define references
    
        events_manager_functions.php
          * new
          : located in: admin/includes/functions/
          - created to separate some of the larger php functions from main events_manager.php
    
        events_manager.php
          * changed
          : located in: admin/includes/languages/english/
          - hold english language php DEFINEs for text in the events manager module
    
        events_manager.php
          * changed
          : located in: admin/includes/languages/english/extra_definitions/
          - hold english language php DEFINEs for configurable options in the events manager
    
    -----
    
      On the store (front end) side:
    
        tpl_events_calendar_default.php
          * changed
          : located in: /includes/templates/your_template/templates/
          - main events calendar program for store front side
    
        events_calendar_include_defines.php
          * changed
          : located in: /includes/languages/english/extra_definitions/your_template/
          - hold english language php DEFINEs for configurable options in the events calendar
    
        events_calendar_functions.php
          * changed
          : located in: /includes/functions/extra_functions/
          - holds functions shared by events calendar module 
    That should do you...
    Rus
    Would it be too much to ask if you could bundle up your changed files in a zip file and attach it to a post here? Ourty please.
    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.

  7. #7
    Join Date
    Mar 2013
    Location
    New Orleans
    Posts
    81
    Plugin Contributions
    0

    Default Re: Event Calendar

    Quote Originally Posted by DivaVocals View Post
    Would it be too much to ask if you could bundle up your changed files in a zip file and attach it to a post here? Ourty please.
    This is the front end, back end is still messy.

    ec_4_alpha_rus_alpha.02b_includes.zip

  8. #8
    Join Date
    Mar 2013
    Location
    New Orleans
    Posts
    81
    Plugin Contributions
    0

    Default Re: Event Calendar

    Quote Originally Posted by LaCamus View Post
    This is the front end, back end is still messy.
    Here's the whole thing: ec_4_alpha_rus_alpha.03.zip

    1) Has the fix/request on the link section to now show "no link selected" (not just when added and deleted).
    2) Also in link section, drop downs will show "None" at the top if not selected (except for products, those are based on a manufacturer or category being selected).
    3) Fixed problems at the bottom of the "review" page with the image resize info/warning boxes.
    4) Includes the changes to the Image function on the front end to support dw08gm's request.
    5) Has dw08gm's view long date option in there.
    6) Took CSS out in vicinity of my changes and moved to separate file, still some inline...needed in some special situations. (back end)
    7) Moved majority of javascript out into another file (back end)
    8) Moved some larger php functions out into another file (front & back)
    9) I think I caught most (maybe all) of my text, even in the drop downs, for the code I created/changed and moved it to the language file. (back end)
    10) I made a number of table and formatting changes for the screen layouts (admin side only), you may want to check to see if they look ok. For one, you will notice the default table on all events pages now stretches to 100%.
    11) Worked out "some" of the issues with checking the start and end dates before moving to the "review" page (javascript errors instead of php).
    12) Changed "delete event" section to provide user with info on what he/she is deleting (just in case).
    13) Put in the ability to delete other "matching" events that have the same title and creation date (needed for #17, see below). Warns before pulling the trigger.
    14) I think I worked out all the cross-browser issues. I would have been finished yesterday if it wasn't for this. I had to compromise(give up) on a couple of issues.
    15) Added some functionality for popup errors/warnings and help, incorporated into #17.
    16) Added the ability to copy an event. Allows you to grab an existing event and use it's data to seed a new event. (Would you believe me if I told you I pulled this off with just 3 lines of code?)
    17) The big one is the ability to add multiple events, this is not a TRUE recurring events mod, meaning that 1 event would be saved to the db and dates would be calculated from it on the front end when building the calendars/lists. What is does is calculate a # of dates into the future (configurable based on your input) and sticks them in the database, 1 event for each newly calculated date. Has the ability to see all the dates before they are added (using popup help...#15). Gives you info about your start & end dates which is completely configurable in the language file (includes the use of mergeable variables).

    Things that need to be done....
    1) More testing to make sure it works for everyone else.
    2) There are lots of align and valign cellpadding border, etc. tags in the tables that will have to be addressed at some point.
    3) More inline css can still come out.
    4) The ability to delete and select (link back to) existing image files.
    5) Maybe the start/end date info mod should be added to the base edit window (currently it only shows when you click on "Multiple Events").

    Testing encouraged, constructive criticism welcome...

    Thanks,
    Rus

 

 

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