Easy PHP Calendar - We really take care of your dates!


Go Back   Easy PHP Calendar > Pre-Sales Questions > General

General Get answers to your questions before purchasing the Easy PHP Calendar.

Closed Thread
 
Thread Tools Search this Thread Display Modes

Demo.php vs Index.php vs Calendar.php
Old 07-05-2005, 10:29 PM   #1
briggs
Calendar User
 
briggs is offline
Join Date: Jul 2005
Posts: 1
Default Demo.php vs Index.php vs Calendar.php

Almost there with getting the demo to run but a quick question...

Which of the above three php's is the correct one to begin using? Demo and Index are formatted nicely. Calendar.php has no formatting. Is that correct?

Should I just modify to my tastes and use index.php? That way I can simply point to www.mydomain.com/calendar/ and it will work. But then what is calendar.php for; and does the setup and event manager drive all three files?

Thanks from a newbie.
 

Old 07-06-2005, 06:02 AM   #2
Tvhawk
Calendar User
 
Tvhawk is offline
Join Date: Jun 2005
Posts: 18
Default

If i remember correctly...the default index page is setup basically as a pull for the demo.php file.....

the demo.php file is where you would want to look for how to set up a page of your own(or to intigrate it into a page already designed)......it shows you how to do the TOC, the normal calendar as well as the events....you define the variable...and then link to the calendar file...which holds the calendar software(well, it links to other files, which link to other files and so on and so on).....so basically.....it all links to the calendar.php file, but you can't just use that file(i don't believe anyways...never tried....does a calendar come up if you point the browser right there?.....)

but i would suggest not touching the demo.php file.....and do all you want to the index file by using the demo.php file as a cheat sheet for ya to get your calendar up and running
 

Old 07-06-2005, 06:32 AM   #3
ve9gra
Support Team
 
ve9gra's Avatar
 
ve9gra is offline
Join Date: Jun 2003
Location: New Brunswick, Canada
Posts: 4,965
Default

That's basically it... Currently the index is there mostly to help with new installs as it will check to see if the licence has been entered or not and it will show either a help screen or fetch the demo accordingly.

The demo.php file should be what you base yourself on to build your own pages (or you can use demo.php directly if you want, just like the index.php uses it).

The file calendar.php should not be touched (except in rare cases where you'd have to manually edit the file paths that are saved up inside). Look inside of demo.php to see how to use the calendar.php.

For always up to date instructions, have a look at http://docs.easyphpcalendar.com/
 
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to link Events Index.php to existing page mkillian General Support 1 09-06-2005 06:31 AM
css on demo.php BigG General Support 3 06-30-2005 08:51 PM
index.php all one line? swong General Support 5 03-04-2005 01:31 PM
add es and ee variable in demo.php alex_m General Support 3 03-16-2004 10:43 PM
Parse Error on Demo.PHP after Install HaloFX General Support 17 01-22-2004 01:09 PM



All times are GMT -4. The time now is 03:27 PM.


vBulletin skins developed by: eXtremepixels
Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Copyright 2009 NashTech, Inc.

| Home | Register | Today's Posts | Search | New Posts |