1 answer
0 votes
Add controller at Bootstrap.php
I want to add at Bootstrap.php the BackController.
So I write
App::build(array( 'controllers' => array('app'.DIRECTORY_SEPARATOR.'controllers'.DIRECTORY_SEPARATOR.'back_controller.php')));
But it does not work.
How to do...
0 answers
0 votes
How do I get relational data from bootstrapped models?
Hi all. I am new to CakePHP and I am building a CMS with the following folder structure:
/public_html/cake/
/public_html/admin/
/public_html/frontend/
index.php
I have setup the bootstrap.php file in the frontend to look for models in the admin app. ...
0 answers
0 votes
How to setup custom Views and layout path using bootstrap?
I'm using bootstrap.php in cakePHP 1.3.10 to setup a custom views path for different websites, ex:
App::build(array(
'views' = array($_SERVER['DOCUMENT_ROOT'] . 'path/to/views/' . $SiteName . '/')
));
What this does currently is enable me to access...
2 answers
0 votes
Shared webroot
Hi.
I am running an app on my webserver. This app is shared by two websites, and both are retrieving views/controllers/models and so on, from the main shared app.
Each website has their own webroot, config, db, tmp and so on.
However, there are...
1 answer
0 votes
move bootstrap into Themed folder
Hi,
I have an application which uses Themes but in bootstrap.php there are settings that should change according to the selected theme, so
Does anyone know if there's a possibility to move the bootstrap.php file from app/Config/bootstrap.php to...
1 answer
0 votes
Offline DB config
Hello,
I have two databases. One local for testing, the other online for production. I'm using bootstrap to set up a number of offline-vs-online configurations (debug level, etc.). I have a simple config to determine whether the site should treat...
0 answers
0 votes
Twitter Bootstrap
What should i do to use Twitter Bootstrap with CakePHP ?
2 answers
0 votes
Using Subfolders for Model, View, Controller
Hello,
I am totally new to cakePHP, sorry if this is a newbie question. ;-)
My application is separated into four parts. I want to organize my Model/View/Controller sourcecode by using subfolders. Can I store the php files like in the following...






