diff --git a/Config/SiteEng.php b/Config/SiteEng.php index fd4649c..f5d15d5 100644 --- a/Config/SiteEng.php +++ b/Config/SiteEng.php @@ -1,18 +1,93 @@ "SiteEng 2 - The Easiest Way to Edit Websites", - 'SiteEng.Site.URL' => "www.siteaddress.com", - 'SiteEng.Site.EditClass' => "editable", - 'SiteEng.Business.Schema' => "LocalBusiness", - 'SiteEng.Business.RealName' => "John Doe", - 'SiteEng.Business.Phone' => "(xxx) - xxx - xxx", - 'SiteEng.Business.Email' => "hepl@site.com", - 'SiteEng.Business.Address' => "123 abc road", - 'SiteEng.Business.City' => "wondervilee", - 'SiteEng.Business.State' => "MAGIC", - 'SiteEng.Business.Zip' => "12345", -); +$config = array ( + 'debug' => 1, + 'App' => + array ( + 'fullBaseUrl' => 'http://designanddollc.com', + 'imageBaseUrl' => 'img/', + 'cssBaseUrl' => 'css/', + 'jsBaseUrl' => 'js/', + 'base' => false, + 'baseUrl' => false, + 'dir' => 'app', + 'webroot' => 'webroot', + 'www_root' => '/home2/jjprogra/public_html/designanddollc/app/webroot/', + 'encoding' => 'UTF-8', + ), + 'Error' => + array ( + 'handler' => 'ErrorHandler::handleError', + 'level' => 24575, + 'trace' => true, + ), + 'Exception' => + array ( + 'handler' => 'ErrorHandler::handleException', + 'renderer' => 'ExceptionRenderer', + 'log' => true, + ), + 'Session' => + array ( + 'cookie' => 'CAKEPHP', + 'timeout' => 240, + 'ini' => + array ( + 'session.use_trans_sid' => 0, + 'session.cookie_path' => '/', + 'session.cookie_lifetime' => 14400, + 'session.name' => 'CAKEPHP', + 'session.gc_maxlifetime' => 14400, + 'session.cookie_httponly' => 1, + ), + 'defaults' => 'php', + 'cookieTimeout' => 240, + ), + 'Security' => + array ( + 'salt' => 'vFeT6nnOKJjqhdPMCvvBLV2xEmVNGudHqufXAztMbpmBmubnvHTtXpW2siI6bS3uRlnHF1BLLTz8PYubbQEqXYCInb8YwQKMTE4l02bhSL2n9pkpDdIonp77WZyajthg', + 'cipherSeed' => '47135367344545474569512402556285040834666378960090196570268554633197103182531795236040878422597103013069478217719947226765961420', + ), + 'Acl' => + array ( + 'classname' => 'DbAcl', + 'database' => 'default', + ), + 'Dispatcher' => + array ( + 'filters' => + array ( + 0 => 'AssetDispatcher', + 1 => 'CacheDispatcher', + 2 => 'AssetDispatcher', + 3 => 'CacheDispatcher', + 4 => 'AssetDispatcher', + 5 => 'CacheDispatcher', + 6 => 'AssetDispatcher', + 7 => 'CacheDispatcher', + ), + ), + 'SiteEng' => + array ( + 'Site' => + array ( + 'Title' => 'Design and Do LLC', + 'URL' => 'http://www.designanddollc.com', + 'EditClass' => 'editable', + ), + 'Business' => + array( + 'Schema' => "LocalBusiness", + 'Name' => "John Doe", + 'Phone' => "(xxx) - xxx - xxx", + 'Email' => "hepl@site.com", + 'Address' => "123 abc road", + 'City' => "wondervilee", + 'State' => "MAGIC", + 'Zip' => "12345", + ), + ), + 'Config' => + array ( + 'language' => 'en-us', + ), +); \ No newline at end of file diff --git a/View/Elements/Footer.ctp b/View/Elements/Footer.ctp new file mode 100644 index 0000000..6d211e7 --- /dev/null +++ b/View/Elements/Footer.ctp @@ -0,0 +1,32 @@ +
diff --git a/View/Layouts/default.ctp b/View/Layouts/default.ctp index 98c64d8..1c6bb8a 100644 --- a/View/Layouts/default.ctp +++ b/View/Layouts/default.ctp @@ -32,13 +32,6 @@ echo $this->Html->meta('icon'); echo $this->Html->css('designanddo'); echo $this->Html->css('cake.generic'); - echo $this->Html->css('http://cdn.aloha-editor.org/latest/css/aloha.css'); - - echo $this->Html->script('http://cdn.aloha-editor.org/latest/lib/require.js'); - echo $this->Html->script('http://cdn.aloha-editor.org/latest/lib/vendor/jquery-1.7.2.js'); - echo $this->Html->script("http://cdn.aloha-editor.org/latest/lib/aloha.js", - array("data-aloha-plugins" => "common/ui,common/format,common/list,common/link,common/highlighteditables" )) ; - echo $this->Html->script('designanddo'); echo $this->fetch('meta'); echo $this->fetch('css'); diff --git a/View/Layouts/siteeng.ctp b/View/Layouts/siteeng.ctp index a200e4a..5c60834 100644 --- a/View/Layouts/siteeng.ctp +++ b/View/Layouts/siteeng.ctp @@ -49,20 +49,9 @@ ?> - - - Session->flash(); ?> - - fetch('content'); ?> - - element('sql_dump'); */ ?> + element('MainMenu'); ?> + fetch('content'); ?> + element('Footer'); ?> Js->writeBuffer(); ?>