Exemplo n.º 1
0
	protected function common() {
		// Run the parent
		parent::common();
		
		// And now we can customize
		$this->view->section	= 'post';
		$this->view->gmap_key   = isset($this->_config->gmap->key) ? $this->_config->gmap->key : false;
		
		// Add required javascript files
		$this->view->headScript()->appendFile('js/calendar_date_select/calendar_date_select.js');				
		$this->view->headScript()->appendFile('js/storytlr/validateForm.js');
		$this->view->headScript()->appendFile('js/controllers/post.js');
		
		// Add required css files
		$this->view->headLink()->appendStylesheet('style/calendar.css');	
		$this->view->headLink()->appendStylesheet('style/calendar_date_select/blue.css');		
	}
Exemplo n.º 2
0
 public function init()
 {
     parent::init();
 }