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


Go Back   Easy PHP Calendar > General Discussion > Customizations (Themes / Templates)

Customizations (Themes / Templates) Help with customizing the themes and templates. Post your own custom themes for others to enjoy.

Closed Thread
 
Thread Tools Search this Thread Display Modes

modern.php
Old 09-23-2005, 11:53 AM   #1
ScottR
Calendar User
 
ScottR's Avatar
 
ScottR is offline
Join Date: Sep 2005
Location: Huntersville, NC
Posts: 72
Send a message via MSN to ScottR
Default modern.php

I am still having a problem with where in the modern.php file to adjust the width setting to shorten the width of the text based info box below the calendar itself. It is just to wide and I need to shorten the width. Any help would be appreciated, thanks.

http://64.255.6.181/calendar3.php
 

Old 09-23-2005, 12:17 PM   #2
Brian
EPC Developer
 
Brian's Avatar
 
Brian is offline
Join Date: Jun 2001
Location: Florida, USA
Posts: 10,887
Default

Can you attach a copy of the modern.php file you have?

What should the max width be set to?
__________________
-- Brian

Questions?

Instructions: Version 6 - Version 7 | FAQ | Errors FAQ | Paths FAQ | Forums | Support
| Web Site Hosting
 

Old 09-23-2005, 01:13 PM   #3
ScottR
Calendar User
 
ScottR's Avatar
 
ScottR is offline
Join Date: Sep 2005
Location: Huntersville, NC
Posts: 72
Send a message via MSN to ScottR
Default

.php is not allowed to be uploaded via the board.

I'de copy and paste the code here but the board will probably reject it since there would be to many characters.

If you could tell me what line# of code I need to dealing with, that would help.
 

Old 09-23-2005, 01:29 PM   #4
Brian
EPC Developer
 
Brian's Avatar
 
Brian is offline
Join Date: Jun 2001
Location: Florida, USA
Posts: 10,887
Default

Please Zip it up before attaching.
__________________
-- Brian

Questions?

Instructions: Version 6 - Version 7 | FAQ | Errors FAQ | Paths FAQ | Forums | Support
| Web Site Hosting
 

Old 09-23-2005, 01:44 PM   #5
ScottR
Calendar User
 
ScottR's Avatar
 
ScottR is offline
Join Date: Sep 2005
Location: Huntersville, NC
Posts: 72
Send a message via MSN to ScottR
Default

file attached

add a comment statement where you make the change so I know what to change if the width is not just right, thanks.
Attached Files
File Type: zip modern.zip (741 Bytes, 428 views)
 

Old 09-24-2005, 11:34 AM   #6
Brian
EPC Developer
 
Brian's Avatar
 
Brian is offline
Join Date: Jun 2001
Location: Florida, USA
Posts: 10,887
Default

Is this better?
Attached Files
File Type: zip modern.zip (742 Bytes, 424 views)
__________________
-- Brian

Questions?

Instructions: Version 6 - Version 7 | FAQ | Errors FAQ | Paths FAQ | Forums | Support
| Web Site Hosting
 

Old 09-24-2005, 12:20 PM   #7
ScottR
Calendar User
 
ScottR's Avatar
 
ScottR is offline
Join Date: Sep 2005
Location: Huntersville, NC
Posts: 72
Send a message via MSN to ScottR
Default

Quote:
Originally Posted by Brian
Is this better?
http://64.255.6.181/calendar3.php

No difference in the width from what it was.
 

Old 09-24-2005, 12:28 PM   #8
Brian
EPC Developer
 
Brian's Avatar
 
Brian is offline
Join Date: Jun 2001
Location: Florida, USA
Posts: 10,887
Default

Not sure the file was updated on your server?

The section below should read a width of 500 (not 680):

.tableListings {
width: 680px;
border: 1px solid #006699;
margin: 0px;
padding: 0px;


}
__________________
-- Brian

Questions?

Instructions: Version 6 - Version 7 | FAQ | Errors FAQ | Paths FAQ | Forums | Support
| Web Site Hosting
 

Old 09-29-2005, 02:47 PM   #9
ScottR
Calendar User
 
ScottR's Avatar
 
ScottR is offline
Join Date: Sep 2005
Location: Huntersville, NC
Posts: 72
Send a message via MSN to ScottR
Default

That is what it says, I just checked. But the width of the text based info is still to wide. It needs to be much less as we need to put back the left side stuff we have on the other pages.

.tableListings {
width: 500px;
border: 1px solid #006699;
margin: 0px;
padding: 0px;
}

http://64.255.6.181/calendar3.php This is our test page.

http://64.255.6.181/ This page you will see the left side info that we need to put back in on the above page.

Quote:
Originally Posted by Brian
Not sure the file was updated on your server?

The section below should read a width of 500 (not 680):

.tableListings {
width: 680px;
border: 1px solid #006699;
margin: 0px;
padding: 0px;


}
 

Old 09-29-2005, 02:57 PM   #10
Brian
EPC Developer
 
Brian's Avatar
 
Brian is offline
Join Date: Jun 2001
Location: Florida, USA
Posts: 10,887
Default

If you look at the source of (http://64.255.6.181/calendar3.php), you'll see that it's still using 680 for the width.

So, something isn't uploaded correctly on the server for it to grab the updated file...
__________________
-- Brian

Questions?

Instructions: Version 6 - Version 7 | FAQ | Errors FAQ | Paths FAQ | Forums | Support
| Web Site Hosting
 

Old 09-29-2005, 03:25 PM   #11
ScottR
Calendar User
 
ScottR's Avatar
 
ScottR is offline
Join Date: Sep 2005
Location: Huntersville, NC
Posts: 72
Send a message via MSN to ScottR
Default

Quote:
Originally Posted by Brian
If you look at the source of (http://64.255.6.181/calendar3.php), you'll see that it's still using 680 for the width.

So, something isn't uploaded correctly on the server for it to grab the updated file...
Yes I see the 680 if I go to that web page and look at the code. If I download the calendar3.php file to my editor and search for 680 that number is no where to be found.

I even looked at calendar/calendar.php and same thing, no 680 can be found. I did update the modern.php to say 500 and not 680.
 

Old 09-29-2005, 03:38 PM   #12
Brian
EPC Developer
 
Brian's Avatar
 
Brian is offline
Join Date: Jun 2001
Location: Florida, USA
Posts: 10,887
Default

The number is in the modern.php file. Please check the file on your server for the correct width setting.
__________________
-- Brian

Questions?

Instructions: Version 6 - Version 7 | FAQ | Errors FAQ | Paths FAQ | Forums | Support
| Web Site Hosting
 

Old 09-29-2005, 03:42 PM   #13
ScottR
Calendar User
 
ScottR's Avatar
 
ScottR is offline
Join Date: Sep 2005
Location: Huntersville, NC
Posts: 72
Send a message via MSN to ScottR
Default

Quote:
Originally Posted by Brian
The number is in the modern.php file. Please check the file on your server for the correct width setting.
It was changed days ago but it is still not working. I have copied the exact code here.

.tableListings {
width: 500px;
border: 1px solid #006699;
margin: 0px;
padding: 0px;
}
 

Old 09-29-2005, 03:51 PM   #14
ScottR
Calendar User
 
ScottR's Avatar
 
ScottR is offline
Join Date: Sep 2005
Location: Huntersville, NC
Posts: 72
Send a message via MSN to ScottR
Default

modern.php file is attached
Attached Files
File Type: zip modern.zip (742 Bytes, 450 views)
 

Old 09-29-2005, 03:56 PM   #15
Brian
EPC Developer
 
Brian's Avatar
 
Brian is offline
Join Date: Jun 2001
Location: Florida, USA
Posts: 10,887
Default

Please open a support ticket with your FTP information so I can take a look...
__________________
-- Brian

Questions?

Instructions: Version 6 - Version 7 | FAQ | Errors FAQ | Paths FAQ | Forums | Support
| Web Site Hosting
 

Old 09-29-2005, 04:20 PM   #16
ScottR
Calendar User
 
ScottR's Avatar
 
ScottR is offline
Join Date: Sep 2005
Location: Huntersville, NC
Posts: 72
Send a message via MSN to ScottR
Default

Quote:
Originally Posted by Brian
Please open a support ticket with your FTP information so I can take a look...
I have attached the modern.php as modern.zip to this. I have also copied and pasted the code here and as you see the code is set to 500 and not 680.

.tableListings {
width: 500px;
border: 1px solid #006699;
margin: 0px;
padding: 0px;
}
Attached Files
File Type: zip modern.zip (742 Bytes, 416 views)
 

Old 09-29-2005, 04:34 PM   #17
Brian
EPC Developer
 
Brian's Avatar
 
Brian is offline
Join Date: Jun 2001
Location: Florida, USA
Posts: 10,887
Default

The page is still using the original modern.php file... So, as far as the server is concerned, the modified modern.php file is not in the calendar/templates directory where it is expecting it to be...

Do you have more than one calendar install on the server?

Could you be uploading the file to the wrong directory?

Are the paths correct in the calendar.php file (if there is more than one install).

Is the page set to use the modern.php template and not another?
__________________
-- Brian

Questions?

Instructions: Version 6 - Version 7 | FAQ | Errors FAQ | Paths FAQ | Forums | Support
| Web Site Hosting
 

Old 09-29-2005, 05:16 PM   #18
ScottR
Calendar User
 
ScottR's Avatar
 
ScottR is offline
Join Date: Sep 2005
Location: Huntersville, NC
Posts: 72
Send a message via MSN to ScottR
Default

Quote:
Originally Posted by Brian
The page is still using the original modern.php file... So, as far as the server is concerned, the modified modern.php file is not in the calendar/templates directory where it is expecting it to be...

It is in the calendar/templates/ directory.

Do you have more than one calendar install on the server?
NO

Could you be uploading the file to the wrong directory?
See above.

Are the paths correct in the calendar.php file (if there is more than one install).
NA

Is the page set to use the modern.php template and not another?
If it is not can the text based display and the standard calendar be used at the same time?
 

Old 09-29-2005, 05:46 PM   #19
Brian
EPC Developer
 
Brian's Avatar
 
Brian is offline
Join Date: Jun 2001
Location: Florida, USA
Posts: 10,887
Default

You can use any combination of the various calendar modes on the same page.
__________________
-- Brian

Questions?

Instructions: Version 6 - Version 7 | FAQ | Errors FAQ | Paths FAQ | Forums | Support
| Web Site Hosting
 

Old 09-29-2005, 06:00 PM   #20
ScottR
Calendar User
 
ScottR's Avatar
 
ScottR is offline
Join Date: Sep 2005
Location: Huntersville, NC
Posts: 72
Send a message via MSN to ScottR
Default

Quote:
Originally Posted by Brian
You can use any combination of the various calendar modes on the same page.
That's good just like on http://64.255.6.181/calendar3.php where I am using both. Per my previous message the modern.php file is in the correct folder and as you saw the code for the width is correct. So what is wrong?
 

Old 09-29-2005, 07:09 PM   #21
Brian
EPC Developer
 
Brian's Avatar
 
Brian is offline
Join Date: Jun 2001
Location: Florida, USA
Posts: 10,887
Default

Please attach your code for the page calendar3.php.
__________________
-- Brian

Questions?

Instructions: Version 6 - Version 7 | FAQ | Errors FAQ | Paths FAQ | Forums | Support
| Web Site Hosting
 

Old 09-29-2005, 08:12 PM   #22
Brian
EPC Developer
 
Brian's Avatar
 
Brian is offline
Join Date: Jun 2001
Location: Florida, USA
Posts: 10,887
Default

The demo.php file is using the correct modern.php file. It must be something in the calendar3.php

http://64.255.6.181/calendar/demo.php
__________________
-- Brian

Questions?

Instructions: Version 6 - Version 7 | FAQ | Errors FAQ | Paths FAQ | Forums | Support
| Web Site Hosting
 

Old 09-29-2005, 08:13 PM   #23
Brian
EPC Developer
 
Brian's Avatar
 
Brian is offline
Join Date: Jun 2001
Location: Florida, USA
Posts: 10,887
Default

Actually, you're not using the modern.php template on calendar3.php. What template file are you using?

(It's defined by $template="templateName.php"; )
__________________
-- Brian

Questions?

Instructions: Version 6 - Version 7 | FAQ | Errors FAQ | Paths FAQ | Forums | Support
| Web Site Hosting
 

Old 09-30-2005, 07:57 AM   #24
ScottR
Calendar User
 
ScottR's Avatar
 
ScottR is offline
Join Date: Sep 2005
Location: Huntersville, NC
Posts: 72
Send a message via MSN to ScottR
Default

Quote:
Originally Posted by Brian
Actually, you're not using the modern.php template on calendar3.php. What template file are you using?

(It's defined by $template="templateName.php"; )
This came out of the calendar3.php file.

<?php $LIST=1; $listWeeks = 4; $DF = "D - M d"; $template="monthly.php"; $CSS=1; require("calendar/calendar.php"); ?>
 

Old 09-30-2005, 08:53 AM   #25
Brian
EPC Developer
 
Brian's Avatar
 
Brian is offline
Join Date: Jun 2001
Location: Florida, USA
Posts: 10,887
Default

I didn't realize that you were using the monthly.php template instead of the default modern.php one. It's the monthly.php file that needs to be edited to reduce the size of the List Mode.

Try editing that file, and if you get stuck, please attach a copy of what you currently have here and we'll be glad to help.
__________________
-- Brian

Questions?

Instructions: Version 6 - Version 7 | FAQ | Errors FAQ | Paths FAQ | Forums | Support
| Web Site Hosting
 

Old 09-30-2005, 10:13 AM   #26
ScottR
Calendar User
 
ScottR's Avatar
 
ScottR is offline
Join Date: Sep 2005
Location: Huntersville, NC
Posts: 72
Send a message via MSN to ScottR
Default

Quote:
Originally Posted by Brian
I didn't realize that you were using the monthly.php template instead of the default modern.php one. It's the monthly.php file that needs to be edited to reduce the size of the List Mode.

Try editing that file, and if you get stuck, please attach a copy of what you currently have here and we'll be glad to help.
Sorry for all the confusion but I should have sent you the code I had in the php file to inform me. I made the change from 680 to 500 and it worked just fine. http://64.255.6.181/calendar3.php
 

Old 09-30-2005, 10:25 AM   #27
Brian
EPC Developer
 
Brian's Avatar
 
Brian is offline
Join Date: Jun 2001
Location: Florida, USA
Posts: 10,887
Default

Phew! I thought I was losing my mind there for a bit.
__________________
-- Brian

Questions?

Instructions: Version 6 - Version 7 | FAQ | Errors FAQ | Paths FAQ | Forums | Support
| Web Site Hosting
 

Old 09-30-2005, 11:30 AM   #28
ScottR
Calendar User
 
ScottR's Avatar
 
ScottR is offline
Join Date: Sep 2005
Location: Huntersville, NC
Posts: 72
Send a message via MSN to ScottR
Default

Quote:
Originally Posted by Brian
Phew! I thought I was losing my mind there for a bit.
No not at all :-) Just a little confusion here and there. Anyway here is the final layout http://64.255.6.181/calendar.php

Thanks for all your help and patient by the way.
 

Old 09-30-2005, 12:06 PM   #29
Brian
EPC Developer
 
Brian's Avatar
 
Brian is offline
Join Date: Jun 2001
Location: Florida, USA
Posts: 10,887
Default

Looks good!
__________________
-- Brian

Questions?

Instructions: Version 6 - Version 7 | FAQ | Errors FAQ | Paths FAQ | Forums | Support
| Web Site Hosting
 

Old 09-30-2005, 02:49 PM   #30
ScottR
Calendar User
 
ScottR's Avatar
 
ScottR is offline
Join Date: Sep 2005
Location: Huntersville, NC
Posts: 72
Send a message via MSN to ScottR
Default

Quote:
Originally Posted by Brian
Looks good!
happy now for sure
 
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



All times are GMT -4. The time now is 02:56 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 |