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


Go Back   Easy PHP Calendar > General Discussion > General Support

General Support Questions about using the Easy PHP Calendar. (Not installation or customizations)

Closed Thread
 
Thread Tools Search this Thread Display Modes

Calendar in an HTML Table ? / 2 calendars ?
Old 12-10-2004, 09:53 AM   #1
Cappiels
Calendar User
 
Cappiels is offline
Join Date: Aug 2004
Posts: 42
Default Calendar in an HTML Table ? / 2 calendars ?

Is it possible to put the calendar in an HTML table ?
It hasn't seemed to work the times I've tried. The php doesn't seem to work or be recognized.


A separate question--- I've seen posts about this but am still unclear. I'm running two calendars, both with MySQL databases. How can I display both calendars on one web page.

Ideally, I want to have a table that has one calendar in one cell, the other calendar in the cell next to it,
and then listings below each calendar or stacked on top of one another.

Any help someone can offer would be greatly appreciated!!
 

Old 12-10-2004, 10:17 AM   #2
Brian
EPC Developer
 
Brian's Avatar
 
Brian is offline
Join Date: Jun 2001
Location: Florida, USA
Posts: 10,907
Default

Most servers require pages that run PHP code to be saved using the .php extension (.htm or .html, etc. usually won't work).

You can place the calendars in as many table cells as you wish. See http://www.stgeorgeisland.com/vacati...mefis#calendar for an example.
__________________
-- Brian

Questions?

Instructions | FAQs | Errors FAQ | Forums | Support
| Web Site Hosting
 

Thanks--- but how can I display 2 installations (different calendar)
Old 12-10-2004, 12:18 PM   #3
Cappiels
Calendar User
 
Cappiels is offline
Join Date: Aug 2004
Posts: 42
Default Thanks--- but how can I display 2 installations (different calendar)

Thanks! ah, it is working in the tables -- great.

But I have two installations of the script running-- with two different MySQL databases and two ESCAL folders.
currently I have the same exact code in two body.php files
that each sit in an ESCAL folder

so one is on one web page, the other, with different events is on another web page..

I'd like to call them both from the same web page.. how can I differentiate between the two installations ? I saw a post about this for text-file databases.. but didn't understand it !
 

Thanks
Old 12-30-2005, 05:38 PM   #4
thepopguy@mac.com
Calendar User
 
thepopguy@mac.com is offline
Join Date: Dec 2005
Posts: 11
Default Thanks

Thanks so much for the info. Easy fix when you know where to look.
Tim

Another question for you. Is it possible to show 2 month at once? the current month and the next month?

Thanks
Tim
 

Old 12-30-2005, 08:44 PM   #5
Brian
EPC Developer
 
Brian's Avatar
 
Brian is offline
Join Date: Jun 2001
Location: Florida, USA
Posts: 10,907
Default

Sure! The easiest way is to use the multi-calendar generator plugin (see the Plugin section of the instructions).

Or, just add this before the second calendar:

PHP Code:
 <?php
$mo
++;
if (
$mo>12) {
$mo=1;
$yr++;
}
?>
__________________
-- Brian

Questions?

Instructions | FAQs | Errors FAQ | Forums | Support
| Web Site Hosting
 
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
Multiple different calendars on the same page anthony General Support 6 04-07-2005 06:48 PM
So I played around with the calendar code... Mateo1041 General Support 1 02-04-2005 08:42 PM
HTML Format Coding in calendar. TK0432 General Support 14 07-16-2004 07:10 AM
Newbie problem getting calendar in web page Ian Cook General Support 4 05-31-2004 07:00 PM
Calendar in a table? RockyRR General Support 3 01-21-2004 12:58 PM



All times are GMT -4. The time now is 01:37 AM.


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 |