Results 1 to 10 of 500

Hybrid View

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

    Default Re: Event Calendar

    Quote Originally Posted by dw08gm View Post
    ...I would be inclined to set:

    Code:
    define(EVENTS_FILE_MAX_HEIGHT,'');
    and expect proportionality to be preserved.

    My only concern, however, if both happen to be set, is whether an image will be resized to fit within both bounds simultaneously, whilst also preserving proportionality.
    One more note: When the auto resizing is used for viewing (and for calculating a suggested size during review) the program looks at the width, if defined max is not 0 and the image is greater than max width then the new width (suggested) becomes max and new height (suggested) is adjusted proportionately. Then height (after the previous adjustment is made) is checked, if defined max is not 0 and height is greater than max height then new height becomes max and a new width is adjusted proportionately. This gives me in the end a height and width that are both less than or equal to their maxes while both being proportionate to each other. All this happens on the admin side only.

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

    Default Re: Event Calendar

    So I'm still testing.. so far so good.. there's some layout stuff in the admin I'm working through.. and all these daggone nested tables are a NIGHTMARE to wade through.. Really quickly I changed all the places where the table width was hardcoded to 1080px to simply 100%.. I removed the table border on the preview page.. What I cannot seem to get to work properly is how to widen the preview table so that the image resizing section doesn't wrap the way it does..

    Gotta go to work.. will be doing more testing tonight when I get home.. So far so good though.. The IMMEDIATE issues I was having with linking products and categories is GONE!!!!
    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.

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

    Default Re: Event Calendar

    Quote Originally Posted by DivaVocals View Post
    ... What I cannot seem to get to work properly is how to widen the preview table so that the image resizing section doesn't wrap the way it does..

    Gotta go to work.. will be doing more testing tonight when I get home.. So far so good though.. The IMMEDIATE issues I was having with linking products and categories is GONE!!!!
    I don't have any wrapping...not even on my laptop. I see something I have to change...quirk under IE9, shows different in firefox.

  4. #4
    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 don't have any wrapping...not even on my laptop. I see something I have to change...quirk under IE9, shows different in firefox.
    Yep in Firefox the preview is wrapping the text on the image resizing section. I removed the border because the image was extending outside the table border in the preview..

    However looking at this in IE8, (yeah that's what the job has on our desktops) like Firefox, the table on the preview is a little narrow thing BUT it cuts the image off.. and the text doesn't wrap but the display is not right in IE either..


    The image preview needs to be set at 85% of the screen width... Not this little narrow thing it is now.. and the rest of the layout needs to just behave.. I attached a screenprint of what I am seeing and a prototype of my suggestion for the preview layout..

    Personally I'd like to see all these tables replaced with divs, but that's my own personal hangup..
    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.

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

    Default Re: Event Calendar

    My version looks nothing like this, it stretches across the page. The colorful rainbow is the div's for reporting success/warning/info. In firefox when text is empty they are hidden, easy fix.

    What I think's going on is you have some default widths for tables or td's that I don't have. Could be coming any of the css's in your package. I will give the tables and their child elements a class and that "should" fix the issue.

  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
    My version looks nothing like this, it stretches across the page. The colorful rainbow is the div's for reporting success/warning/info. In firefox when text is empty they are hidden, easy fix.

    What I think's going on is you have some default widths for tables or td's that I don't have. Could be coming any of the css's in your package. I will give the tables and their child elements a class and that "should" fix the issue.
    The only thing in my admin stylesheet that is different is this:

    Code:
    /* BOF Added so that the configuration settings displayed will wrap correctly */
       table {border-collapse:collapse; table-layout:fixed;}
       table td {word-wrap:break-word;vertical-align:top;}
    /* EOF Added so that the configuration settings displayed will wrap correctly */
    This was added for a custom template that I am using.. The template has some configuration settings in Configuration > Layout Settings that were not wrapping correctly so they mucked up the settings display.. so I added this to fix the issue..
    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
    The only thing in my admin stylesheet that is different is this:

    Code:
    /* BOF Added so that the configuration settings displayed will wrap correctly */
       table {border-collapse:collapse; table-layout:fixed;}
       table td {word-wrap:break-word;vertical-align:top;}
    /* EOF Added so that the configuration settings displayed will wrap correctly */
    This was added for a custom template that I am using.. The template has some configuration settings in Configuration > Layout Settings that were not wrapping correctly so they mucked up the settings display.. so I added this to fix the issue..
    It may be the collapse setting, you could try removing both lines temporarily just to test it. Those settings, the way they are written will apply to all tables and td's that don't have those attributes set.

    Now if you remove them and it works I then know and can go in and create those attributes in a class for the tables/td's in the events manager which then will override yours.

    fyi: i started taking css out of events manager and putting it in a separate file, same for javascript...this should make the code a little easier to read through. Being able to flip back and forth between the 3 languages using multiple editor windows really helps speed up the coding process.

 

 

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