1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. To combat forum spam, new accounts will need to make at least one (valid) post.
    Otherwise, we will periodically purge all users without posts or that haven't confirmed their account.

How Do I Remove Event Listings Below Calendar

Discussion in 'General' started by chrisj, Jun 18, 2005.

Thread Status:
Not open for further replies.
  1. chrisj

    chrisj New Member

    I wish to turn off the event list below the calendar. (I have the latest version of this program.)

    Maybe someone would be kind enough to tell me where I can do this in the setup menus.

    Many thanks
    Chris
     
  2. chrisj

    chrisj New Member

    OK I have worked it out now....I edited the calendar.php file.// DISPLAY EVENT LIST
    if ($LIST==0) {
    if ($license=="" || !isset($license) || !isset($gmt) || $gmt=="") {require ($serverPath."config.inc.php");}
    require ($serverPath."functions/listings.php");
    }


    Hope that was correct way of doing it.

    Chris
     
  3. Brian

    Brian EPC Developer Staff Member

    Actually, that isn't the "correct" way to do that. :classic:

    From your post, I assume your viewing the demo.php file? (Or the index.php file in the main calendar directory which redirects to the demo.php file).

    If you open the demo.php file with your favorite editor, you'll see all the different code to make the calendar and the list mode to appear on the page. To turn this feature off, you can comment out the list mode section or delete it completely.

    For complete details on how to integrate the calendar with your own pages, please see the Integration section of the instructions.
     
Thread Status:
Not open for further replies.

Share This Page