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(); ?> diff --git a/View/Sections/index.ctp b/View/Sections/index.ctp index ab4b04c..2ac5707 100644 --- a/View/Sections/index.ctp +++ b/View/Sections/index.ctp @@ -1,8 +1,5 @@ -params['action'] == "index" ): - echo $this->element('MainMenu'); -?> +params['action'] == "index" ): ?>
diff --git a/webroot/aloha/README.md b/webroot/aloha/README.md deleted file mode 100644 index 2b5f235..0000000 --- a/webroot/aloha/README.md +++ /dev/null @@ -1,2 +0,0 @@ -Please Clone Ahola Editor inthis folder -there should be the lib, plugin, css, and img folders \ No newline at end of file diff --git a/webroot/css/siteeng.css b/webroot/css/siteeng.css index af13bc3..da2ef23 100644 --- a/webroot/css/siteeng.css +++ b/webroot/css/siteeng.css @@ -42,9 +42,20 @@ } #msgbox { + position: absolute; + top: 0px; + left: 10%; + width: 80%; + min-height: 20px; + z-index: 100; margin: 10px; padding: 10px; - display: none; + display: block; +} +#msgbox-text{ + float: left; + font-size: 2em; + } #msgbox-close { @@ -54,4 +65,33 @@ #SiteEng-Editor{ margin-left: 10%; margin-right: 10%; -} \ No newline at end of file +} + +#SiteInfo{ + text-align: center; + border-bottom: solid 1px #555; + margin: 5px 20px; +} +.SiteInfoItem { + padding-left: 5px; + padding-right: 5px; + font-size: 1.1em; + color: black; + border-right: solid 1px #555; +} + +.SiteInfoItem a{ + text-decoration:underline; + color: black; + +} + +.SiteInfoItem:last-child { + border-right: none; +} + + + +#TechUsed{ + text-align: center; +} diff --git a/webroot/img/raptor-avatar.jpg b/webroot/img/raptor-avatar.jpg new file mode 100644 index 0000000..593043f Binary files /dev/null and b/webroot/img/raptor-avatar.jpg differ