Page 40 of 50 FirstFirst ... 303839404142 ... LastLast
Results 391 to 400 of 500
  1. #391
    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
    Yep....
    1) Editing of tpl_main_page.php no longer needed
    2) Now able to Select or Delete existing images in the events_images directory
    3) Calendar class makes only 1 query to the DB for years and months now

    Done, done & done.
    Everything I've done since joining is attached...
    Attachment 12371
    Still needs Diva's admin config mojo.

    Rus
    Okay.. everything is cool.. I LOVE that the sidebox works without the tpl_main_page.php edit..

    Had to make one small change to get the long/short months to look/work consistently:
    /includes/templates/custom_template/templates/tpl_events_calendar_default.php
    change this:
    Code:
    $cal->setMonthNames(explode(",", (EVENTS_LONG_MONTHS_TITLES ? EVENTS_MONTHS_LONG : EVENTS_MONTHS_SHORT)));  //**rus: via diva: add
    to this:
    Code:
    $cal->setMonthNames(explode(",", (EVENTS_LONG_MONTHS_DROPDOWNS ? EVENTS_MONTHS_LONG : EVENTS_MONTHS_SHORT)));  //**rus: via diva: add
    The dropdown on this page was not using the dropdown define for long/short months..

    I will be posting up my consolidated fileset shortly.. This will include the updated install and uninstall SQL files. The SQL files will contain the admin menu settings. I will list out all the modifications I made to the files in support of the admin settings menu in that post.

    Also I hope dw08gm doesn't mind, but I took the liberty of converting the text based readme file to an HTML format. I will include this in the fileset I upload later..
    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. #392
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,021
    Plugin Contributions
    32

    Default Re: Event Calendar

    **deleted**
    Last edited by DivaVocals; 19 Apr 2013 at 07:34 AM.
    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. #393
    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
    Yep....
    1) Editing of tpl_main_page.php no longer needed
    2) Now able to Select or Delete existing images in the events_images directory
    3) Calendar class makes only 1 query to the DB for years and months now

    Done, done & done.
    Everything I've done since joining is attached...
    Attachment 12371
    Still needs Diva's admin config mojo.

    Rus
    Still going through my test scripts and testing this last version.. Another finding to report.. The images/events_images/.htaccess is not needed and in fact should NOT be included in the final Events Calendar fileset. The required changes needed should be applied to the images/.htaccess file instead as any sub folders will inherit these settings..
    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. #394
    Join Date
    Sep 2008
    Location
    DownUnder, overlooking South Pole.
    Posts
    984
    Plugin Contributions
    6

    Default Re: Event Calendar

    Quote Originally Posted by DivaVocals View Post
    Still going through my test scripts and testing this last version.. Another finding to report.. The images/events_images/.htaccess is not needed and in fact should NOT be included in the final Events Calendar fileset. The required changes needed should be applied to the images/.htaccess file instead as any sub folders will inherit these settings..
    I suspected as much, as certain changes I introduced seemed to have no effect.

    Also I hope dw08gm doesn't mind, but I took the liberty of converting the text based readme file to an HTML format. I will include this in the fileset I upload later.
    I have no objections, as I will not be able to commence work on the mod until tomorrow afternoon. Generally I prefer plain old-fashioned txt/rtf over html because the former are usually quicker to load, scan and edit, and do not require the use of a mouse. Nevertheless, looking forward to your upload.

    Re: Event image True switch.
    I saw your original post, but other distractions made it slip my mind.

    Re: tpl_main_page edit.
    I have a splash page and several other pages on which I do not want the calendar to appear, and am hoping the automation of this required edit is strictly limited to tpl_main_page.

    Re: Start Day of Week switch
    I prefer to group Saturday with Sunday (Monday=1) because I like seeing the weekend as a single unit rather than split by the other days (Sunday=0). Interested to hear other opinions.

    cheers

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

    Default Re: Event Calendar

    Quote Originally Posted by DivaVocals View Post
    Okay.. everything is cool.. I LOVE that the sidebox works without the tpl_main_page.php edit..
    It still could be more efficient (currently loads header and side boxes and then I strip them from the buffer) but is better than before due to less db queries. I think there is a better solution, but I'm still new to the workings of Zen Cart. Ultimately I think ajax is the best way but would require putting a script in the main directory...what are the rules on this (are there any)?

    Had to make one small change to get the long/short months to look/work consistently:
    /includes/templates/custom_template/templates/tpl_events_calendar_default.php
    change this:
    Code:
    $cal->setMonthNames(explode(",", (EVENTS_LONG_MONTHS_TITLES ? EVENTS_MONTHS_LONG : EVENTS_MONTHS_SHORT)));  //**rus: via diva: add
    to this:
    Code:
    $cal->setMonthNames(explode(",", (EVENTS_LONG_MONTHS_DROPDOWNS ? EVENTS_MONTHS_LONG : EVENTS_MONTHS_SHORT)));  //**rus: via diva: add
    The dropdown on this page was not using the dropdown define for long/short months...
    Not sure if you saw it but there are two trigger defines (EVENTS_LONG_MONTHS_TITLES + EVENTS_LONG_MONTHS_DROPDOWNS) now, 1 for the drop down and one for the calendar titles. It allows owners to set either way (long or short) for both (titles and drop down). That was an addition I made since our last set of posts (2 days ago?). Sorry, I should have said something. The change you made above affects only the titles on the yearly views and event views in the main window.

    Rus

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

    Default Re: Event Calendar

    Quote Originally Posted by DivaVocals View Post
    Still going through my test scripts and testing this last version.. Another finding to report.. The images/events_images/.htaccess is not needed and in fact should NOT be included in the final Events Calendar fileset. The required changes needed should be applied to the images/.htaccess file instead as any sub folders will inherit these settings..
    Yeah...I figured that people may not want docs in the main image directory. In my version the .htaccess file in images didn't support the new docs, so instead of changing the stock zen cart file I copied and edited one specifically for the events calendar.

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

    Default Re: Event Calendar

    Quote Originally Posted by dw08gm View Post
    Re: Start Day of Week switch
    I prefer to group Saturday with Sunday (Monday=1) because I like seeing the weekend as a single unit rather than split by the other days (Sunday=0). Interested to hear other opinions.
    I didn't make changes to that...I saw the code for it, but noone made mention of it not working correctly. I haven't tested it, does it do what you need?

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

    Default Re: Event Calendar

    Quote Originally Posted by LaCamus View Post
    Yeah...I figured that people may not want docs in the main image directory. In my version the .htaccess file in images didn't support the new docs, so instead of changing the stock zen cart file I copied and edited one specifically for the events calendar.
    If you don't use this file you will need to include instructions to have the store owner make changes to the .htaccess file under images.

  9. #399
    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
    Re: tpl_main_page edit.
    I have a splash page and several other pages on which I do not want the calendar to appear, and am hoping the automation of this required edit is strictly limited to tpl_main_page.
    The latest version of the Event Calendar module no longer requires ANY edit to this page at all.. So when I upload my consolidated module files, this file is no longer included as it's no longer needed.

    Quote Originally Posted by LaCamus View Post
    It still could be more efficient (currently loads header and side boxes and then I strip them from the buffer) but is better than before due to less db queries. I think there is a better solution, but I'm still new to the workings of Zen Cart. Ultimately I think ajax is the best way but would require putting a script in the main directory...what are the rules on this (are there any)?
    No rules on this at all that I'm aware of..I personally would like to see this further improved as the iframe does add to the page load speeds, and anything to improve this is a GREAT idea.. So long as the script doesn't compromise site security (which is a HUGE part of Zen Cart v1.5.1) there shouldn't be an issue. On my test site I have a script running in the main directory (one which makes the site images responsive), and there are no issues with this script.
    Quote Originally Posted by LaCamus View Post
    Not sure if you saw it but there are two trigger defines (EVENTS_LONG_MONTHS_TITLES + EVENTS_LONG_MONTHS_DROPDOWNS) now, 1 for the drop down and one for the calendar titles. It allows owners to set either way (long or short) for both (titles and drop down). That was an addition I made since our last set of posts (2 days ago?). Sorry, I should have said something. The change you made above affects only the titles on the yearly views and event views in the main window.

    Rus
    Yes I did see this which is why I modified the dropdown define that appears on the Events page. The admin setting for the long/short months dropdown implies it applies to ALL dropdowns. So to make the results of this setting consistent in the UI, I changed the define being used on the Events page dropdown.. Otherwise we would need to add a THIRD define for the Events page dropdown to separate it from the sidebox month dropdown. (see the images I attached)

    Quote Originally Posted by LaCamus View Post
    Yeah...I figured that people may not want docs in the main image directory. In my version the .htaccess file in images didn't support the new docs, so instead of changing the stock zen cart file I copied and edited one specifically for the events calendar.
    Quote Originally Posted by LaCamus View Post
    If you don't use this file you will need to include instructions to have the store owner make changes to the .htaccess file under images.
    Understood, but there's no reason to introduce another .htaccess file. An instruction in the readme (which I fully intend to include) will solve this.. There are other Zen Cart modules which modify the main .htaccess file (URL re-writers for example) so editing any of the stock .htaccess files are not an out of the ordinary edit at all.

    Editing the .htaccess file in the main image folder should be an easy edit for most shopowners in comparison to the edits that URL re-writer modules require since it's unlikely that the image folder's .htaccess has any other edits to it. (unlike the main .htaccess file where shopowners may have made other edits in addition to the ones required for something like a URL re-writer).

    In any case, in the VAST MAJORITY of cases, I don't think folks will have to merge the Event Calendar changes to the images .htaccess file at all. Most will be able to get away with simply replacing their existing images .htaccess file with the one included with the Events Calendar module.
    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. #400
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,021
    Plugin Contributions
    32

    Default Re: Event Calendar

    I found something that I thing is a bug..

    If you look at this page:
    http://zentestcart(dot)overthehillwe...13&year_view=0

    You will see that it lists all of the Events for the month of April. There an event for today that appear in the list of events that DOES NOT appear in the "Select Event" dropdown.
    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 40 of 50 FirstFirst ... 303839404142 ... 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