KathrynBassett
11-22-2005, 07:11 PM
In another thread http://www.easyphpcalendar.com/forums/showthread.php?p=12198#post12198 I asked about the demo.php file. I was told that "if you'd check through the code in index.php, you'll see that all it does is check to make sure that this isn't the first time the calendar is used (a new setup) and that everything is running ok. Then it checks what you've chosen in the Setup Manager to see if you've disabled the display of demo.php. If you haven't then it includes demo.php and that's what it displays. You're not using demo.php directly, but you'll see that if you modify demo.php in any way, you'll see those changes by going to /calendar/"
I'm thoroughly confused about this. If I choose http://lacdcs.moonlink.net/calendar/demo.php it comes up the way I want. And if I choose http://lacdcs.moonlink.net/calendar/index.php it also looks right. However, if, in the setup manager, I choose to "Disable Demo: This will prevent users from viewing the index.php file in the main calendar directory." then go to http://lacdcs.moonlink.net/calendar/ without the specific php file, I see nothing. (It's enabled at present as it needs to be seen.
So, if the demo.php is disabled, then what is the purpose of index.php? Am I supposed to be making changes in index.php INSTEAD of demo.php? What happens if I do a copy of the contents of demo.php to replace the content of index.php. What is the purpose of being enabled vs disabled?
I'm sorry, but since php coding is brand new to me (I'm conversant with html coding), I'm finding the instructions at http://docs.easyphpcalendar.com/ to be not very user friendly for beginners. Has anyone written a step-by-step tutorial? Not for the initial installation which is fine, but for how to set up for other than the default, and to integrate a header, etc.
I'd also love to see a few links in this thread with examples of other people's customizations.
I'm thoroughly confused about this. If I choose http://lacdcs.moonlink.net/calendar/demo.php it comes up the way I want. And if I choose http://lacdcs.moonlink.net/calendar/index.php it also looks right. However, if, in the setup manager, I choose to "Disable Demo: This will prevent users from viewing the index.php file in the main calendar directory." then go to http://lacdcs.moonlink.net/calendar/ without the specific php file, I see nothing. (It's enabled at present as it needs to be seen.
So, if the demo.php is disabled, then what is the purpose of index.php? Am I supposed to be making changes in index.php INSTEAD of demo.php? What happens if I do a copy of the contents of demo.php to replace the content of index.php. What is the purpose of being enabled vs disabled?
I'm sorry, but since php coding is brand new to me (I'm conversant with html coding), I'm finding the instructions at http://docs.easyphpcalendar.com/ to be not very user friendly for beginners. Has anyone written a step-by-step tutorial? Not for the initial installation which is fine, but for how to set up for other than the default, and to integrate a header, etc.
I'd also love to see a few links in this thread with examples of other people's customizations.