Not sure if anyone has had this problem:
I created a Safety Tips section. In the admin side i have a date field. but when ever i enter the date and save/publish; if i exit that page on the admin side and come back to it the date field is empty. Any ideas why? does it have anything to do with the fact that i have date fields in other pages?
also: i notice that usingFF i got this error:
Error: Permission denied to get property HTMLDivElement.parentNode
Source File: http://site/jsparty/calendar/calendar.js
Line: 133
How do i get this removed? i do not get the error when i am on a blog entry which does not delete the calander date.
here is some code:
SafetyTipsHolder.php
<?php
class SafetyTipsPage extends RightNav {
static $db = array(
);
static $has_one = array(
"Photo" => "Image",
"Date" => "SSDatetime",
);
function getCMSFields() {
$fields = parent::getCMSFields();
$fields->addFieldToTab("Root.Content.Main", new PopupDateTimeField("Date"), "Content");
$fields->addFieldToTab("Root.Content.Images", new ImageField("Photo"));
return $fields;
}
}
class SafetyTipsPage_Controller extends RightNav_Controller {
}
?>
Please, please! any help??