class BlogEntry extends Page { static $default_parent = array('BlogHolder'); static $can_be_root = false; static $icon = "blog/images/blogpage"; static $db = array( "Date" => "Datetime", "Author" => "Text", "Tags" => "Text" ); static $casting = array( "Date" => "Date" ); static $defaults = array( "ProvideComments" => true ); static $allowed_children = "none"; /** * overload so that the default date is today. */ public function populateDefaults(){ parent::populateDefaults(); $this->Date = date("d/m/Y H:i:s",time()); } /** * Ensures the most recent article edited on the same day is shown first. */ public function setDate($val){ $datepart = date("Y-m-d",strtotime($val)); $minutepart = date("H:i:s",time()); $date = $datepart . " " . $minutepart; return $this->setField("Date",$date); } function getCMSFields() { Requirements::javascript('blog/javascript/bbcodehelp.js'); Requirements::css('blog/css/bbcodehelp.css'); $firstName = Member::CurrentMember() ? Member::currentMember()->FirstName : ''; $codeparser = new BBCodeParser(); $fields = parent::getCMSFields(); $fields->removeFieldFromTab("Root.Content.Main","Content"); $fields->addFieldToTab("Root.Content.Main", new TextareaField("Content", "Content", 20)); $fields->addFieldToTab("Root.Content.Main", new CalendarDateField("Date", "Date"),"Content"); $fields->addFieldToTab("Root.Content.Main", new TextField("Author", "Author", $firstName),"Content"); $fields->addFieldToTab("Root.Content.Main", new LiteralField("BBCodeHelper", "
Build amazing 3D rotation menu with a few easy steps. This component is easy and fast to add a 3D rotational navigation menu into your flash project. Easy to setup and fully customizable plus several amazing effects. Just drag and drop to your flash project and no Action Script needed.
Authoring environment:
Macromedia Flash 8 or CS 3 for authoring (Windows or Mac).
Publishing environment:
Flash Player 8 or 9, ActionScript 2.0
(blur effect and mirror effect are not supported in Flash Player 6 and 7).
RotationMenu component |
|
USD$ 24.90
|
|
RotationMenu and RotationMenu CS component |
|
USD$ 59.80 USD$ 49.90 |
|
Do you need help on your Flash/Flex/AIR project or want to build a custom component?
We also help on iPhone project. Let us know if you need us. Our team is ready for you. Get a quote today by contact us.