Questions tagged with bootstrap

1 answer

0 votes

Asked by dimis283, on 9/7/10 in Installation / Configuration

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

Asked by steveking5891, on 24/8/10 in Models

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

Asked by tradyblix, on 8/7/11 in Views

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

Asked by MetZ, on 28/9/11 in Installation / Configuration

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

Asked by Lucky1968, on 1/2/12 in Models

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

Asked by trader5050, on 22/2/12 in Models

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

Asked by trante, on 9/4/12 in Models

Twitter Bootstrap

What should i do to use Twitter Bootstrap with CakePHP ?

2 answers

0 votes

Asked by SyntaX, on 10/4/12 in Models

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...

<< previous next >>