View Full Version : Where can I add a "header"?
KathrynBassett
11-21-2005, 09:18 PM
http://lacdcs.moonlink.net/calendar/
I want to add something above the setup and event managers to add text identify the site and make a link to go back to the home page of the site.
What file do I do that in, and will anything get overwritten in case of an update in EasyPHPCalender version?
Brian
11-22-2005, 12:37 AM
You're actually viewing the demo.php file at the provided link. Feel free to modify that page any way you need. You may want to check out the integration section of the instructions. It'll give you full details of what's happening in the demo.php file.
The demo.php file will be overwritten by the auto-installer when performing an upgrade. If this is the case, just back it up and restore it after installing.
KathrynBassett
11-22-2005, 02:48 AM
There was another of my posts that you said it's using demo.php and I'm curious as to why it's using that instead of index.php? This isn't a demo, so it seems odd.
ve9gra
11-22-2005, 07:55 AM
Demo as in demonstration of what it's capabale of... not demo as trial.
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/
KathrynBassett
11-22-2005, 06:50 PM
I'm confused about the demo vs index, so for the benefit of others, I will start a new thread called demo vs index
vBulletin® v3.8.4, Copyright ©2000-2012, Jelsoft Enterprises Ltd.