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", "
Tile 3D Gallery is a plug-ins for Adobe Lightroom which allow making instant gallery. Now photographers can make their own stylish 3D tile gallery without using Flash. With extremely "easy-to-use" interface, just a few click from the interface to create a gallery. And that's it!
| | |
| | |
|
|
|
Easy to Install - Tile 3D Gallery comes with self-extract installer which copy the plug in into Lightroom automatically and create shortcut for help documents. Custom Control Bar Icon- The icon on the control bar are customizable. Simply replace the icon images file and the icon will changed. Custom Background Image - The background is not limited to solid color. You can even place your favor image as background. Simply replace the background.jpg in the skin folder. |
Authoring environment:
Photoshop Lightroom 2.0 for authoring (Windows or Mac).
Client environment:
Safari, FireFox and Internet Explorer with Flash Player 9 player.