"WidgetArea" ); static $allowed_children = array( 'BlogEntry' ); function getCMSFields() { $fields = parent::getCMSFields(); $fields->removeFieldFromTab("Root.Content.Main","Content"); $fields->addFieldToTab("Root.Content.Widgets", new WidgetAreaEditor("SideBar")); return $fields; } public function BlogEntries($limit = 10) { $start = isset($_GET['start']) ? (int)$_GET['start'] : 0; $tagCheck = ''; $dateCheck = ""; if(isset($_GET['tag'])) { $tag = addslashes($_GET['tag']); $tag = str_replace(array("\\",'_','%',"'"), array("\\\\","\\_","\\%","\\'"), $tag); $tagCheck = "AND `BlogEntry`.Tags LIKE '%$tag%'"; } if(Director::urlParams()){ $year = Director::urlParam('Action'); $month = Director::urlParam('ID'); if(is_numeric($month) && is_numeric($month)){ $dateCheck = "AND Date BETWEEN '$year-$month-1' AND '$year-$month-31'"; } else if(isset($year)){ $dateCheck = "AND Date BETWEEN '$year-1-1' AND '$year-12-31'"; } } return DataObject::get("Page","`ParentID` = $this->ID AND ShowInMenus = 1 $tagCheck $dateCheck","`BlogEntry`.Date DESC",'',"$start, $limit"); } function Tag() { return isset($_GET['tag']) ? $_GET['tag'] : false; } function BlogEntryForm(){ Requirements::javascript('jsparty/behaviour.js'); Requirements::javascript('jsparty/prototype.js'); Requirements::javascript('jsparty/scriptaculous/effects.js'); Requirements::javascript('cms/javascript/PageCommentInterface.js'); Requirements::javascript('blog/javascript/bbcodehelp.js'); $id = 0; if(Director::urlParam('ID')){ $id = Director::urlParam('ID'); } $codeparser = new BBCodeParser(); $membername = Member::currentMember() ? Member::currentMember()->getName() : ""; $fields = new FieldSet( new HiddenField("ParentID", "ParentID", $this->ID), new HiddenField("ID","ID"), new HiddenField("Date","Date"), new TextField("Title","Subject"), new TextField("Author","Author",$membername), new CompositeField( new LiteralField("BBCodeHelper","BBCode help
" ), new TextareaField("Content", "Content",20), new LiteralField("BBCodeTags","") ), new TextField("Tags","Tags"), new LiteralField("Tagsnote"," ") ); $submitAction = new FormAction('postblog', 'Post blog entry'); $actions = new FieldSet($submitAction); $validator = new RequiredFields('Title','Content'); $form = new BlogEntry_Form($this, 'BlogEntryForm',$fields, $actions,$validator); if($id != 0){ $form->loadNonBlankDataFrom(DataObject::get_by_id('BlogEntry',$id)); }else{ $form->loadNonBlankDataFrom(array("Author" => Cookie::get("BlogHolder_Name"))); } return $form; } function isPost(){ return Director::urlParam('Action') == 'post'; } function postURL(){ return $this->Link('post'); } function requireDefaultRecords() { parent::requireDefaultRecords(); if(!DataObject::get_one('BlogHolder')) { $blogholder = new BlogHolder(); $blogholder->Title = "Blog"; $blogholder->URLSegment = "blog"; $blogholder->Status = "Published"; $widgetarea = new WidgetArea(); $widgetarea->write(); $blogholder->SideBarID = $widgetarea->ID; $blogholder->write(); $blogholder->publish("Stage", "Live"); $managementwidget = new BlogManagementWidget(); $managementwidget->ParentID = $widgetarea->ID; $managementwidget->write(); $tagcloudwidget = new TagCloudWidget(); $tagcloudwidget->ParentID = $widgetarea->ID; $tagcloudwidget->write(); $archivewidget = new ArchiveWidget(); $archivewidget->ParentID = $widgetarea->ID; $archivewidget->write(); $widgetarea->write(); $blog = new BlogEntry(); $blog->Title = "SilverStripe blog module successfully installed"; $blog->URLSegment = 'sample-blog-entry'; $blog->setDate(date("Y-m-d H:i:s",time())); $blog->Tags = "silverstripe, blog"; $blog->Content = "Congratulations, the SilverStripe blog module has been successfully installed. This blog entry can be safely deleted. You can configure aspects of your blog (such as the widgets displayed in the sidebar) in [url=admin]the CMS[/url]."; $blog->Status = "Published"; $blog->ParentID = $blogholder->ID; $blog->write(); $blog->publish("Stage", "Live"); Database::alteration_message("Blog page created","created"); } } } class BlogHolder_Controller extends Page_Controller { function init() { parent::init(); // This will create a tag point to the RSS feed RSSFeed::linkToFeed($this->Link() . "rss", "RSS feed of this blog"); Requirements::themedCSS("blog"); Requirements::themedCSS("bbcodehelp"); } function showarchive() { $month = addslashes($this->urlParams['ID']); return array( "Children" => DataObject::get('SiteTree', "ParentID = $this->ID AND DATE_FORMAT(`BlogEntry`.`Date`, '%Y-%M') = '$month'"), ); } function ArchiveMonths() { $months = DB::query("SELECT DISTINCT DATE_FORMAT(`BlogEntry`.`Date`, '%M') AS `Month`, DATE_FORMAT(`BlogEntry`.`Date`, '%Y') AS `Year` FROM `BlogEntry` ORDER BY `BlogEntry`.`Date` DESC"); $output = new DataObjectSet(); foreach($months as $month) { $month['Link'] = $this->Link() . "showarchive/$month[Year]-$month[Month]"; $output->push(new ArrayData($month)); } return $output; } function rss() { global $project; $rss = new RSSFeed($this->Children(), $this->Link(), $project . " blog", "", "Title", "ParsedContent"); $rss->outputToBrowser(); } function BBTags() { return BBCodeParser::usable_tags(); } function post(){ if(!Permission::check('ADMIN')){ Security::permissionFailure($this, "Posting blogs is an administrator task. Please log in."); } return array(); } } class BlogEntry_Form extends Form { function postblog($data) { Cookie::set("BlogHolder_Name", $data['Author']); $blogentry = new BlogEntry(); $this->saveInto($blogentry); if($data['ID'] != 0){ //new post $blogentry = DataObject::get_by_id("BlogEntry",$data['ID']); $this->saveInto($blogentry); $blogentry->setDate($data['Date']); }else{ $blogentry->setDate(date("Y-m-d H:i:s",time())); $blogentry->URLSegment = $data['Title']; } $blogentry->Status = "Published"; $blogentry->writeToStage("Stage"); $blogentry->publish("Stage", "Live"); Director::redirect(Director::currentURLSegment()); } } ?> White Mountain Info
 

White Mountain Info

Need a Mortgage loan CLICK HERE

Museums

Apache County Historical Museum

Estimated Trip: Time: 1 hour 29 minutes, Distance: 78.90 miles
180 W. Cleveland Ave. (P.O. Box 146), St. Johns, Arizona 85936
(928) 337-2000- Hours: 9:00 AM-5:00 PM Monday - Friday
Come and see the fascinating exhibits of the early pioneer families that carved a home in our area's early history.

State Wonders

Painted Desert and Petrified Forest National Park

Estimated Trip: Time: 1 hour 17 minutes, Distance: 70.87 miles
1 Park Road, P.O. Box 2217, Petrified Forest, AZ 86028
(928) 524-6228

* Colorful concentrations of petrified wood
* Historic structures
* Archeological sites
* 225 million year old fossils
* Scenic wonders
* Fascinating science
* Painted Desert Trail

Meteor Crater

Estimated Trip: Time: 1 hour 43 minutes, Distance: 105.66 miles
Meteor Crater Enterprises, Inc., Interstate 40, Exit 233, Winslow, AZ 86047
(928)-289-2362

* Museum of Astrogeology
* Learning Center
* Impressive artifact exhibits
* American Astronaut Wall
* Four observation areas
* Daily guided rim tours
* Meteor Crater gift shop

Sunset Crater Volcano National Monument

Estimated Trip: Time: 2 hour 30minutes, Distance: 147.66 miles
From Flagstaff, take U.S 89 north for 12 miles, turn right on the Sunset Crater - Wupatki Loop road and continue 2 miles to the visitor center
(928) 526-0502

* Dramatic geologic features
* Walk the Lava Flow Trail- explore an exciting volcanic landscape.
* Visitor Center
* Campgrounds
* Interactive museum exhibits

Wupatki National Monument

Estimated Trip: Time: 2 hour 43 minutes, Distance: 168.66 miles
From Flagstaff, take US 89 north for 12 miles turn right at sign for Sunset Crater Volcano - Wupatki National Monuments. The Visitor Center is 21 miles from this junction
(928) 679-2365

* Visitor Center
* Campgrounds
* Self-guided trail
* Doney Mountain Trail
* See five prehistoric pueblos
o Wukoki, Citadel, and Nalakihu Pueblos
o Lomaki Pueblo
o Wupatki Pueblo- Don't miss the blowhole, a fascinating geologic feature.

Grand Canyon National Park

Estimated Trip: Time: 3 hour 45 minutes, Distance: 222.64 miles
(928) 638-7888

* Hiking Trails
* Mule Trails
* Phantom Ranch
* River Trip
* Overnight Hikes
* Lodging
* Guided Tours
* Campgrounds
And much more...

State Parks

Fool Hollow Lake Recreation Area

Estimated Trip: Time: 33 minutes, Distance: 31.25 miles
The park is located two miles north of US 60 off Highway 260.
1500 N. Fool Hollow Lake, Show Low, Arizona 85901
(928) 537-3680- Hours: 10p.m. and 5a.m

* 123 camping sites, hookups or tents
* Lake access
* Boat ramps
* Picnic tables, picnic ramadas, and grills
* Private showers and restrooms
* Playgrounds

Tonto Natural Bridge State Park

Estimated Trip: Time: 1 hour 10 minutes, Distance: 56.98 miles
Located off Hwy 87, just 10 miles north of Payson
P.O. Box 1245, Payson, Arizona 85547
(928) 476-4202

* Walking trails
* Lookout points
* Picnic tables
* Gift shop
* Portable restrooms

Lyman Lake State Park

Estimated Trip: Time: 1 hour 33 minutes, Distance: 92.47 miles
The park is located 11 miles south of St. Johns on US 191
P.O. Box 1428, St. Johns, Arizona 85936
(928) 337-4441

* Two day-use/picnic areas, log cabins and yurts, shade ramadas, tables, grills
* 61 camping units
* Trails
* Horse shoe pits
* Volleyball court
* Restrooms and showers
* Group camping area and group-use ramadas

Homolovi Ruins State Park

Estimated Trip: Time: 1 hour 56 minutes, Distance: 101.12 miles
HCR 63, Box 5, Winslow, Arizona 86047
Phone: (928) 289-4106- Fax: (928) 289-2021

* Showers available year-round
* Water hook-ups available April thru mid November
* Picnic tables and grills
* trails
* Well-designed for all visitors
* camping sites with electric hook-ups,
* Three main pueblo ruins
* 53 day-use armadas

 

Hiking and Bike Trails

http://www.tracks-pinetop-lakeside.org/trails/trails.htm

http://www.wmonline.com/attract/trails/overview.htm

http://www.swlink.net/~hokans/AZWM_Trails.html

Additional Information

AZ Concerts
Movies

AZ Visitors Guide
Arizona Highways Magazine

US Government
State Government

White Mountains Area

Road Conditions
Ski Report
Fishing Report
Weather
Calendar 2008
Attractions
Things to do
Fire Report

Weekly Fishing Report

Heber-Overgaard Chamber of Commerce

 
 
 
Copyright © by Buckskin Mountain Homes, LLC. All Rights Reserved
Web Site Design and Hosting Webside Builderby Steve Nyhof Enterprises, Inc.