PDA

View Full Version : Start Installation from scratch


joeschoe
04-30-2009, 04:44 AM
I installed the free version for trial and tested different options.
I like the 'feel' of the system but am spending too much time on trivial problems.
I now want to begin my real project but am getting hung-up with display option problems. probably because I changed things during the trial (and error) sessions.
The help I get from the forum is great but it involves waiting on responses.
There is no easy reference in your documentation on "how to.." different things. This means I have to search through hundreds of entries on the forums to find out what to do.
At present my problems involve colors not showing on the calendars (a section on categories and sub categories would be very useful, it is not intuitive at all).
I can't get to editing an event from the TOC view.
In the demo calendar on the epc site when I edit events, the pop-up shows options to edit or delete an event, is there a way to get that directly from the calendar TOC view?
I don't mind editing .css files or .php files if I knew which one to use, there are various versions of these files with the same name in multiple sub folders.
Perhaps I should start again, how do I restart the entire setup?

ve9gra
04-30-2009, 07:16 AM
Not seeing colors is because you're missing the $CSS line as described in the Online Docs (http://docs.easyphpcalendar.com/) - Integration - Important section.

The calendar is divided in three generic sections; the public view, the event manager, and the setup manager. In the public view, that's where you get the regular small calendar, the TOC, the List, and the Blog modes... those are entirely separate from the Event Manager where you add/edit/delete events from. The Event Manager and Setup Manager sections are entirely encrypted and not modifiable, so you will never get the TOC view with the option to add events as those are two different sections.

As for what you can modify, there is four areas; your public view (any file you want the calendar integrated in), the calendar themes (/calendar/theme/), the List templates (/calendar/templates/), and the plugins (/calendar/plugins/). The themes and templates can be used as building blocks, so you would copy and original one and rename it for your own (rename the folder for a theme, and the file itself for a template). You would not want to start from scratch as you would likely miss some things.

There hasn't been a need (yet) to put up a tutorial on how to create you own List template as it is simple HTML and people have easily picked up on it. For the themes however, because you're dealing with classes and it's hard to figure out what does what, CSS Maps were created for the Regular Mode calendar (http://www.epctutorials.com/tutorials/regular-calendars-css-map/), and the Popups (both on-click and mouseover) (http://www.epctutorials.com/tutorials/popups-css-map/).

As for starting the setup from scratch, you can simply delete your /calendar folder and the epc_tutorials table in your database (if you used mySQL for your database). That will get you going from scratch. If you do not want to lose your settings and modified themes/templates, then you can save /calendar/config.inc.php, /calendar/license.php, and /calendar/calendar.php along with your /calendar/theme and /calendar/templates folders and restore them after you've reinstalled from scratch. However, there is hardly ever a situation where that is called for. You can simply restore the /calendar/demo*.php files from a fresh zip, if that is where you've made your modifications.

joeschoe
04-30-2009, 07:30 AM
Thanks for a very enlightening reply.
I see that the table used in the database is named in the config.inc.php as follows.
$sqlTableName="epc_calendar";
It would suite me to have different tables for different users.
If I change the name programmatically to read
$sqlTableName="epc_calendar_user1"; when user1 logs in, would the system accept the change?

ve9gra
04-30-2009, 09:13 AM
You cannot specify a table per user as the calendar system has no way of intepreting that setup. If you wanted such a setup, then each user would have to have its own entire calendar.. folder, database and all....

(The entire /events and /setup folders are encrypted, so you cannot add any shims to do that table pass-off.)

joeschoe
04-30-2009, 09:26 AM
Thanks for your help.