Results 1 to 10 of 500

Hybrid View

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

    Default Re: Event Calendar

    Quote Originally Posted by LaCamus View Post
    Just researched...others have had issues with this, looks like there is a way to do it from what I am reading. Give me a few days. This is happening to GIF's? or just to PNG's?
    Both gif's and png's. Had no trouble with other types, although did not test for docx as I had none at hand.


    Quote Originally Posted by LaCamus View Post
    My new function also supports extra parameters...the existing code as is can be changed to:
    Code:
    echo event_flink_small($event_array['image'], $event_array['title'], 'class="c1" hspace="0" vspace="0"');
    Hopefully this will work.

    Quote Originally Posted by LaCamus View Post
    We could add another option to "delete physical file", it would only work if the deselect was checked...your call.
    Happy to leave out "delete physical file", as I prefer to do such tasks manually and always after creating a backup.


    Quote Originally Posted by LaCamus View Post
    I like that one, good idea: On my end I made it a dynamic option via the defines file...
    Code:
    in /includes/languages/english/extra_definitions/your_template/events_calendar_include_defines.php
    added:
    // use long dates (includes day of week) when displaying events
    define(EVENTS_LONG_DATES, true);
    
    on the two lines above I changed them to:
              $date_start = ( EVENTS_LONG_DATES ? zen_date_long($events->fields['start_date']) 
                                                : date($dateDisplayFormat, mktime(0,0,0,$month,$day,$year)) );
    
                $date_end = ( EVENTS_LONG_DATES ? zen_date_long($events->fields['end_date'])
                                                : date($dateDisplayFormat, mktime(0,0,0,$month_end,$day_end,$year_end)) );


    Rus
    Excellent - will try.

    Re: stripping css and js from events manager.
    I largely agree, although I am not adverse to inline css. I can handle the css but am a bit green with js. Should js be shoved into a function file?

    Re: developer attributions
    Since you have done so much work upon certain files, I believe it more than fair to give yourself credit as in events_manager_drop_dns.php

    Generally, I am standing in awe at your rapid responses and prompt solutions, and feel I should almost check myself for experiencing so much pleasure in our dealings. I have been at this for years and have never gained so much in so short a time.

    Cheers

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

    Default Re: Event Calendar

    Quote Originally Posted by dw08gm View Post
    Both gif's and png's. Had no trouble with other types, although did not test for docx as I had none at hand.
    If one "other" type file works for testing then all will, the function just creates a raw link (href) to the file with the default "click" image used to make it look pretty.

    Happy to leave out "delete physical file", as I prefer to do such tasks manually and always after creating a backup.
    I'll let you and Diva hash that one out, I'm open to either way...remember we can always have a define that triggers whether or not the question is ever asked.

    Re: stripping css and js from events manager.
    I largely agree, although I am not adverse to inline css. I can handle the css but am a bit green with js. Should js be shoved into a function file?
    I've pulled the bulk of my inline css out but haven't gone through it all, I look at this as a starting point...I have 3 new files on the admin side...1 each for extra php functions, javascript, and css. Give me a few more days before you add anything of significance, this is creating lots of changes...I don't know if you just want to take my files and clean out the remarks, it will save you some time.

    Re: developer attributions
    Since you have done so much work upon certain files, I believe it more than fair to give yourself credit as in events_manager_drop_dns.php
    Thanks, I had made that one change as a reference and never went back to change it, I didn't do it on any others because I didn't want to overstep my bounds. I had actually taken it out last night (the reference in drop_dns). I'll leave it to your discretion.

    Generally, I am standing in awe at your rapid responses and prompt solutions, and feel I should almost check myself for experiencing so much pleasure in our dealings. I have been at this for years and have never gained so much in so short a time.
    Wow, thank you my friend, great praise coming from someone who has done so much for this mod...really, thank you.

    Rus

  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 LaCamus View Post
    I'll let you and Diva hash that one out, I'm open to either way...remember we can always have a define that triggers whether or not the question is ever asked.
    What's to hash out here?? This isn't introducing anything that isn't already a part of core Zen Cart (product and category images have a function to delete the files from the server)

    This module should be FLEXIBLE and cover all levels of shopowners not just the ones who know how to do stuff on their own.. IJS.. If it's easy enough to add a delete file function AND you are willing to do the work to add this code (beacause afterall this is something we'd be asking YOU to do), then it really SHOULD be a part of the mod.. Not everyone is going to know HOW to clean out their images or even that they should, AND adding this feature doesn't preclude those who know how to do this themselves from doing it themselves.. I'm just not a fan of keeping features out of the module simply because some shopowners may know how to do something on their own.. Many shopowners who come here for help are DIYers and many aren't even that familiar with ALL the things they can do with their FTP tools, and others barely know how to use their cPanel file managers.. This feature is for THAT shopowner not folks like the ones participating in this discussion.. The features should be based on the POV of the NOVICE shopowner, not the advanced shopowner or site/code developers.. That said as long as there is flexibility for more advanced users then this should be a non-issue..

    That's my three cents.. (if it matters.. )
    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.

 

 

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