Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 30
  1. #11
    Join Date
    Nov 2013
    Location
    TX
    Posts
    1
    Plugin Contributions
    0

    Default Re: Events Calendar v4 [Support Thread]

    Installed the the calendar mod, but it will not post any pages.
    The admin functions appear to work, but will not create the calendar.

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

    Default Re: Events Calendar v4 [Support Thread]

    Converts Events Calendar v4 to responsive-fluid template design.

    Override Files
    \includes\classes\events_calendar.php
    \includes\modules\events_calendar_listing.php
    \includes\templates\YourTemplate\css\stylesheet_events_calendar_sidebox.css
    \includes\templates\YourTemplate\css\events_calendar.css
    \includes\templates\YourTemplate\templates\tpl_events_calendar_default.php
    \includes\templates\YourTemplate\templates\tpl_events_calendar_include_default.p hp
    New files
    \includes\templates\YourTemplate\templates\tpl_events_divular_display.php

    Notes:
    The files have largely been converted from table to div layout, except for the monthly calendar (as used in the sidebox) which retains the table layout.
    Most adjustments to the display will be done by editing \includes\templates\YourTemplate\css\events_calendar.css.
    The width of the centre column events dropdown is not responsive, so be careful of using lengthy event titles.
    The Paging Header (displaying page x of y) code has been upgraded.

    Installation:
    No admin or database files affected.
    Firstly, change the single reference to "YOUR_TEMPLATE" in the folder structure provided to the exact name of your template.
    To upgrade from the Events Calendar 4 fileset, merge the contents of each override file provided with its counterpart in the Events Calendar 4 fileset and copy the new file provided to your store.
    For new installations, first install the Events_Calendar 4 fileset and then simply copy all of the files provided to your store.

    Menu links for when the sidebox is not displayed:
    In order to access certain parts of the calendar when the sidebox is not displayed, you may need to place a link to one or other calendar view in your menu structure.
    For example, the link to display the Year calendar view in the centre column will look like this (change "whatever" and "YourView" to suit):
    <li class="whatever"><a href="index.php?main_page=events_calendar&year_view=1">YourView</a></li>
    Other links can be obtained by opening the page you seek in your browser and noting the URL displayed in the address bar of your browser. The relevent part is everything after and including "index.php?main_page=".

    Caveat:
    This works 100% on my own responsive-fluid template.
    May not work 100% or as expected in other responsive templates.
    Install at own risk.

    EC_4_Responsive.zip

  3. #13
    Join Date
    Apr 2007
    Location
    Coventry, West Midlands
    Posts
    36
    Plugin Contributions
    0

    Default Re: Events Calendar v4 [Support Thread]

    dw08gm,

    Thanks for this link: http://www.zen-cart.com/showthread.p...306#post975306
    It has worked a dream and my 'back button' problem is resolved. I switched in parts of the shopping cart and did find as you suspected that the problem extended beyond the 'back button' and affected other buttons like 'continue shopping' and the like. I opened up my tpl_main_page and inserted this code right at the beginning (line 1, before the <?php):

    <?php
    if (isset($_GET['eventmode']) && $_GET['eventmode'] == 'eventframe') {
    $_SESSION['navigation']->remove_current_page();
    require($body_code);
    }else{
    ?>


    Then at the end of the page (immediately after the final <?php) closed it off with:

    <?php
    }
    ?>

    All's good now and thanks again for a very useful module buddy

  4. #14
    Join Date
    Apr 2014
    Location
    Philippines
    Posts
    3
    Plugin Contributions
    0

    Default Re: Events Calendar v4 [Support Thread]

    I'd like to show past events as well. But I noticed only upcoming events are shown. I don't use the calendar view, only the list of events view

    index.php?main_page=events_calendar&select_event=1

    And I want to show past events too as it is useful in showing customer use the products you sell a lot in both past and future events.

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

    Default Re: Events Calendar v4 [Support Thread]

    tpl_events_calendar_default.php

    <!-- bof event dropdown -->

    $q_events = $db->Execute("select *, DAYOFMONTH(start_date) AS day, MONTH(start_date) AS month, YEAR(start_date) AS year"
    . " from ".TABLE_EVENTS_CALENDAR." where start_date >= '" . date('Y-m-d') . "' and language_id = '" . $_SESSION['languages_id'] . "'"
    . " order by start_date");

    <!-- eof event dropdown -->

    Change start date to suit. eg year = year -1

  6. #16
    Join Date
    Aug 2009
    Location
    Tampa Bay
    Posts
    251
    Plugin Contributions
    1

    Default Re: Events Calendar v4 [Support Thread]

    This Calender is Marvelous.....
    How can I remove the double border (grid) on the Years View?
    blessed be the day we make tomorrow a better yesterday

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

    Default Re: Events Calendar v4 [Support Thread]

    To not display border in Year Calendar
    \includes\classes\events_calendar.php
    around line 256

    /* bof table */
    $s .= "<table class=\"calWidth\" cellspacing=\"1\" cellpadding=\"0\" border=\"1\">\n";
    change to
    $s .= "<table class=\"calWidth\" cellspacing=\"1\" cellpadding=\"0\" border=\"0\">\n";


    To display border in Sidebox Calendar
    includes\templates\YOUR_TEMPLATE\templates\tpl_events_calendar_include_default.p hp
    around line 69

    <table class="calendarBox" cellspacing="1" cellpadding="2">
    change to
    <table class="calendarBox" cellspacing="1" cellpadding="2" border="1">
    or more for greater.

    You can change any of the border, cellspacing and cellpadding variables of any table to suit, however may cause alignment issues, especially with months > 30 days.

  8. #18
    Join Date
    Aug 2009
    Location
    Tampa Bay
    Posts
    251
    Plugin Contributions
    1

    Default Re: Events Calendar v4 [Support Thread]

    Thank You dw08gm! I was able to figure out the border. Just when I thought all was gravy it appears the side box is effecting the CSS back buttons :-( On any page when the back button is clicked it loads the calender MONTH Box only into website. Turning off CSS buttons everything is fine or when turning off the side box. I cant get them both to work together. CSS back button hover link shows
    domain.com/index.php?main_page=events_calendar_include&eventmode=eventframe&_month=01&_year =2014

    just for my created pages as a work around I am using

    <input class="cssButton button_custom" style="width: 60px;" onmouseover="this.className='cssButtonHover button_custom button_customHover'" onmouseout="this.className='cssButton button_custon'" onclick="location='Javascript:history.go(-1);'" type="button" value="Back">

    but the template pages wont work with the side box and CSS button on at the same time??? Any suggestions?
    blessed be the day we make tomorrow a better yesterday

  9. #19
    Join Date
    Aug 2009
    Location
    Tampa Bay
    Posts
    251
    Plugin Contributions
    1

    Default Re: Events Calendar v4 [Support Thread]

    Quote Originally Posted by Lackew View Post
    Thank You dw08gm! I was able to figure out the border. Just when I thought all was gravy it appears the side box is effecting the CSS back buttons :-( On any page when the back button is clicked it loads the calender MONTH Box only into website. Turning off CSS buttons everything is fine or when turning off the side box. I cant get them both to work together. CSS back button hover link shows
    domain.com/index.php?main_page=events_calendar_include&eventmode=eventframe&_month=01&_year =2014

    just for my created pages as a work around I am using

    <input class="cssButton button_custom" style="width: 60px;" onmouseover="this.className='cssButtonHover button_custom button_customHover'" onmouseout="this.className='cssButton button_custon'" onclick="location='Javascript:history.go(-1);'" type="button" value="Back">

    but the template pages wont work with the side box and CSS button on at the same time??? Any suggestions?
    I found your solution in the other thread..... WONDERFUL thank you again for this mod!
    blessed be the day we make tomorrow a better yesterday

  10. #20
    Join Date
    Aug 2009
    Location
    Tampa Bay
    Posts
    251
    Plugin Contributions
    1

    Default Re: Events Calendar v4 [Support Thread]

    I turned on the side box but noticed the header is not formatted like the rest of my sideboxes. The font is too large and cannot find where to change the font size?????
    blessed be the day we make tomorrow a better yesterday

 

 
Page 2 of 3 FirstFirst 123 LastLast

Similar Threads

  1. Events Calendar and SSU/SEO URLs
    By mutinyzoo in forum All Other Contributions/Addons
    Replies: 5
    Last Post: 24 Feb 2012, 04:10 AM
  2. Calendar of Events Template?
    By jmcasale in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 22 Apr 2011, 05:58 PM
  3. Events Calendar
    By pixelpadre in forum Addon Sideboxes
    Replies: 1
    Last Post: 5 Apr 2010, 06:01 PM

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