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

Xhtml Strict Validation problem
Old 12-11-2006, 09:25 AM   #1
trigger_tre
Calendar User
 
trigger_tre is offline
Join Date: May 2006
Posts: 13
Default Xhtml Strict Validation problem

Hello,

I am currently redesigning my pro-bono church site to comply with current xhtml strict doctype web standards.

So far I pass validation until I try to insert the calendar on a page.

With the calendar inserted I fail with one error and 2 warnings. I am not so worried about the warnings, however I would like to fix the error so that my pages can be xhtml strict valid.

I understand that version 7 should take care of this however, that could be awhile from now.

I dont mind trying to fix it myself however I can't even find the file If womeone could point me in the right direction I dont mind trying to fix myself.

Here is an example page that passes strict validation:
http://harvestwhitecounty.com/newtest.php

Here is an identical page that fails stict validation due to the calendar:
http://harvestwhitecounty.com/newtestnew.php

If you click the "Xhtml" link at the bottom it will automatically refer you to the w3-validator for that page.

thanks.
-trigger
 

Old 12-11-2006, 10:13 AM   #2
Brian
EPC Developer
 
Brian's Avatar
 
Brian is offline
Join Date: Jun 2001
Location: Florida, USA
Posts: 10,878
Default

This most likely can't be changed in the current version.

How would you correct this? (I'd look it up but I'm not in my office at the moment).
__________________
-- Brian

Questions?

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

Old 12-11-2006, 10:37 AM   #3
trigger_tre
Calendar User
 
trigger_tre is offline
Join Date: May 2006
Posts: 13
Default

Quote:
Originally Posted by Brian
This most likely can't be changed in the current version.
I was affraid of that.

I will dig a little more, however waiting for v.7 seems inevitable.

-trigger
 

Old 12-11-2006, 10:30 PM   #4
trigger_tre
Calendar User
 
trigger_tre is offline
Join Date: May 2006
Posts: 13
Default

Just to be sure. Will Version 7 take care of the validation errors?

I read the post on it but it wasnt very descriptive concerning being valid doctype or not.

thanks,

-trigger
 

Old 12-12-2006, 06:24 AM   #5
ve9gra
Support Team
 
ve9gra's Avatar
 
ve9gra is offline
Join Date: Jun 2003
Location: New Brunswick, Canada
Posts: 4,965
Default

Version 7 will allow for more modification of the output through the use of templates. So you will be able to fix the template, whereas now the calendar is generated all from code which is encrypted and not modifyable.
__________________
-- Gervais
EPC Tutorials... We're here to help!
Offering custom integration services. Contact me here.
* Not affiliated with EasyPHPCalendar or NashTech Inc.
 

Old 12-12-2006, 12:12 PM   #6
trigger_tre
Calendar User
 
trigger_tre is offline
Join Date: May 2006
Posts: 13
Default

I am definently looking forward to v.7

As for the new template system... I wonder if it also accounts for the login pages?

It would be nice to have the actually index.php login page look like the rest of the sitemy site. (just to keep with the ebb and flow)

I know I can change the header so that it looks similar but its not exactly the same.

-trigger
 

Old 12-12-2006, 09:01 PM   #7
Brian
EPC Developer
 
Brian's Avatar
 
Brian is offline
Join Date: Jun 2001
Location: Florida, USA
Posts: 10,878
Default

There may be a few minor Version 6 updates (there's one on the horizon). Can you tell me what needs to be changed to make this work for you?
__________________
-- Brian

Questions?

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

Old 12-12-2006, 09:58 PM   #8
trigger_tre
Calendar User
 
trigger_tre is offline
Join Date: May 2006
Posts: 13
Default

The only error I get comes from the Strict doctype not excepting the width attribute in your coding for one of the tables that has the class="dayNamesRow" (not sure if its for saturday or sunday)

The link to the w3.validator test of my page is HERE

The actual test page is below if you would like to look at the source.

http://harvestwhitecounty.com/newtestnew.php


Could the width that is added to the table in question simple be added to the CSS file instead? Or would that have adverse effects?

-trigger
 

Old 12-13-2006, 08:16 PM   #9
Brian
EPC Developer
 
Brian's Avatar
 
Brian is offline
Join Date: Jun 2001
Location: Florida, USA
Posts: 10,878
Default

I'm out of the office until Monday. If you will, open a support ticket then so we can look at possible solutions.
__________________
-- Brian

Questions?

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

Old 12-13-2006, 11:20 PM   #10
trigger_tre
Calendar User
 
trigger_tre is offline
Join Date: May 2006
Posts: 13
Default

Quote:
Originally Posted by Brian
I'm out of the office until Monday. If you will, open a support ticket then so we can look at possible solutions.
Will do.

-trigger
 

Old 12-14-2006, 06:28 AM   #11
ve9gra
Support Team
 
ve9gra's Avatar
 
ve9gra is offline
Join Date: Jun 2003
Location: New Brunswick, Canada
Posts: 4,965
Default

Like I said in the other post (saw this one after), as a quick fix you could do the following.

PHP Code:
ob_start();
require(
"calendar/calendar.php");
$obCalendar ob_get_clean();
$obCalendar str_replace(" width=\"14%\""""$obCalendar);
echo 
$obCalendar
I've tested it and it works (it removes the width) but I haven't tried to get it validated. If you can check and let me know if there's other places that make the validation fail.
__________________
-- Gervais
EPC Tutorials... We're here to help!
Offering custom integration services. Contact me here.
* Not affiliated with EasyPHPCalendar or NashTech Inc.

Last edited by ve9gra; 12-14-2006 at 07:15 AM.
 
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
Install Problem SinJin Installation / Upgrade Questions 3 11-19-2006 09:41 PM
A problem with "add an event" button iraultza General 1 07-17-2006 11:49 AM
XHTML 1.0 Valid Coding usermanual General Support 9 01-10-2005 03:28 PM



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