Saturday, January 1, 2011

Re: Using BindNode() function

check this:
http://groups.google.com/group/cake-php/browse_thread/thread/1a758f5511091d9d/2066d1837ca05bad?lnk=gst&q=bindnode#2066d1837ca05bad


On Dec 31 2010, 5:35 am, John Maxim <goog...@gmail.com> wrote:
> Hi,
> I added in bind node function as shown here:http://book.cakephp.org/view/1547/Acts-As-a-Requester
> (Bind node section)
>
> but my aros table doesn't seem to be:
>
> +----+-----------+-------+-------------+-------+------+------+
> | id | parent_id | model | foreign_key | alias | lft  | rght |
> +----+-----------+-------+-------------+-------+------+------+
> |  1 |      NULL | Group |           1 | NULL  |    1 |    2 |
> |  2 |      NULL | Group |           2 | NULL  |    3 |    4 |
> |  3 |      NULL | Group |           3 | NULL  |    5 |    6 |
> +----+-----------+-------+-------------+-------+------+------+
> 3 rows in set (0.00 sec)
>
> It's still messed up.
>
> I have checked users table, the users have a group_id each..
>
> What's the problem ?
>
> thanks,
> maxim

Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions.

You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en

Re: Hi need Help: How to log-out from Acl ?

I think I found a solution:

$this->Auth->allow('logout');

Is there a better way to logout other than allowing this in users
controller?

Regards,
Maxim

On Jan 1, 10:21 pm, John Maxim <goog...@gmail.com> wrote:
> Hi Thanks Jeremy,
>
> but let's say we deny group manager and user to have access to users
> model, and the logout function is located in users controller; would
> it be a good suggestion to place the logout function in posts
> controller instead because it is a public page (controller)..
>
> Is it less secure?
>
> I couldn't find a way to access users controller since it denies group
> manager and user, and therefore can't call the logout function in
> there..
>
> Regards,
> Maxim
>
> On Jan 1, 2:20 pm, Jeremy Burns | Class Outfit
>
> <jeremybu...@classoutfit.com> wrote:
> > Here's some sample code that you can place in an element and drop it in to views as and when needed:
>
> > <?php
> >         if ($this->Session->check('Auth.User')):
> >                 echo $this->Html->link(
> >                         'Log Out',
> >                         array(
> >                                 'controller' => 'users',
> >                                 'action' => 'logout'
> >                         )
> >                 );
> >         else:
> >                 echo $this->Html->link(
> >                         'Log In',
> >                         array(
> >                                 'controller' => 'users',
> >                                 'action' => 'login'
> >                         )
> >                 );
> >         endif;
> > ?>
>
> > I usually include this as part of my site navigation so that it is always available. You can also add links such as 'Your Details' to the logged in piece, and 'Register' to the logged out piece.
>
> > Jeremy Burns
> > Class Outfit
>
> > jeremybu...@classoutfit.comhttp://www.classoutfit.com
>
> > On 1 Jan 2011, at 03:17, John Maxim wrote:
>
> > > Hi, thanks for the reply..
>
> > > function logout() {
> > >            $this->Session->setFlash('Good-Bye');
> > >            $this->redirect($this->Auth->logout());
> > >    }
>
> > > I created it in usersController alright. I access it by creating a
> > > link to it am I correct?
>
> > > I'm looking for a uniform way to put it in one single place so it can
> > > be viewed 'only' after logging into users, groups, posts, and
> > > widgets.
>
> > > Can it be accomplished?
>
> > > (1)
> > > I could do this:
>
> > > <p><?php echo $html->link('logout', array('action' => 'logout')); ?>
>
> > > and place it on the indexes of groups, users, posts, widgets.. But I
> > > would need to create addition of 3 more function logout() for each of
> > > the 3 controllers.
>
> > > (2)
> > > But the link logout is displayed even we're not logged in. Is it we
> > > need to use Access method from the views? as attempted but failed in
> > > this post:
> > >http://groups.google.com/group/cake-php/browse_thread/thread/478daa30...
> > > I posted a solution but the Access for some reason wasn't called and
> > > the links for edit and delete were never displayed regardless of
> > > loggin status.
> > >http://groups.google.com/group/cake-php/browse_thread/thread/8a4aa816...
>
> > > Furthermore, the tutorial says it was like a 'hack' to get access
> > > component working in views I wonder if there's a proper way to do this
> > > without breaking MVC Cake convention.
> > > The tutorial for Access to work in Views:
> > >http://net.tutsplus.com/tutorials/php/how-to-use-cakephps-access-cont...
>
> > > Regards,
> > > Maxim
>
> > > On Jan 1, 3:18 am, AD7six <andydawso...@gmail.com> wrote:
> > >> On Dec 31, 3:01 pm, John Maxim <goog...@gmail.com> wrote:
>
> > >>> Hi,
>
> > >>> I'm right here:http://book.cakephp.org/view/1552/Logout
>
> > >>> May I ask if anyone could help to point out how exactly am I to log-
> > >>> out now ??
>
> > >> You access the function logout which after following the tutorial you
> > >> will have created in your users controller.
>
> > >>> I went through some comments on that page suggested to
>
> > >>> $this->Auth->allowedActions = array('logout');
>
> > >> for what reason?
>
> > >>> What's your suggestion?
>
> > >> You could start with explaining in what way the tutorial you're
> > >> following isn't working with exactly what you're doing and what you're
> > >> expecting to happen
>
> > >> AD
>
> > > Check out the new CakePHP Questions sitehttp://cakeqs.organdhelp others with their CakePHP related questions.
>
> > > You received this message because you are subscribed to the Google Groups "CakePHP" group.
> > > To post to this group, send email to cake-php@googlegroups.com
> > > To unsubscribe from this group, send email to
> > > cake-php+unsubscribe@googlegroups.com For more options, visit this group athttp://groups.google.com/group/cake-php?hl=en

Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions.

You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en

Re: Hi need Help: How to log-out from Acl ?

Hi Thanks Jeremy,

but let's say we deny group manager and user to have access to users
model, and the logout function is located in users controller; would
it be a good suggestion to place the logout function in posts
controller instead because it is a public page (controller)..

Is it less secure?

I couldn't find a way to access users controller since it denies group
manager and user, and therefore can't call the logout function in
there..

Regards,
Maxim

On Jan 1, 2:20 pm, Jeremy Burns | Class Outfit
<jeremybu...@classoutfit.com> wrote:
> Here's some sample code that you can place in an element and drop it in to views as and when needed:
>
> <?php
>         if ($this->Session->check('Auth.User')):
>                 echo $this->Html->link(
>                         'Log Out',
>                         array(
>                                 'controller' => 'users',
>                                 'action' => 'logout'
>                         )
>                 );
>         else:
>                 echo $this->Html->link(
>                         'Log In',
>                         array(
>                                 'controller' => 'users',
>                                 'action' => 'login'
>                         )
>                 );
>         endif;
> ?>
>
> I usually include this as part of my site navigation so that it is always available. You can also add links such as 'Your Details' to the logged in piece, and 'Register' to the logged out piece.
>
> Jeremy Burns
> Class Outfit
>
> jeremybu...@classoutfit.comhttp://www.classoutfit.com
>
> On 1 Jan 2011, at 03:17, John Maxim wrote:
>
> > Hi, thanks for the reply..
>
> > function logout() {
> >            $this->Session->setFlash('Good-Bye');
> >            $this->redirect($this->Auth->logout());
> >    }
>
> > I created it in usersController alright. I access it by creating a
> > link to it am I correct?
>
> > I'm looking for a uniform way to put it in one single place so it can
> > be viewed 'only' after logging into users, groups, posts, and
> > widgets.
>
> > Can it be accomplished?
>
> > (1)
> > I could do this:
>
> > <p><?php echo $html->link('logout', array('action' => 'logout')); ?>
>
> > and place it on the indexes of groups, users, posts, widgets.. But I
> > would need to create addition of 3 more function logout() for each of
> > the 3 controllers.
>
> > (2)
> > But the link logout is displayed even we're not logged in. Is it we
> > need to use Access method from the views? as attempted but failed in
> > this post:
> >http://groups.google.com/group/cake-php/browse_thread/thread/478daa30...
> > I posted a solution but the Access for some reason wasn't called and
> > the links for edit and delete were never displayed regardless of
> > loggin status.
> >http://groups.google.com/group/cake-php/browse_thread/thread/8a4aa816...
>
> > Furthermore, the tutorial says it was like a 'hack' to get access
> > component working in views I wonder if there's a proper way to do this
> > without breaking MVC Cake convention.
> > The tutorial for Access to work in Views:
> >http://net.tutsplus.com/tutorials/php/how-to-use-cakephps-access-cont...
>
> > Regards,
> > Maxim
>
> > On Jan 1, 3:18 am, AD7six <andydawso...@gmail.com> wrote:
> >> On Dec 31, 3:01 pm, John Maxim <goog...@gmail.com> wrote:
>
> >>> Hi,
>
> >>> I'm right here:http://book.cakephp.org/view/1552/Logout
>
> >>> May I ask if anyone could help to point out how exactly am I to log-
> >>> out now ??
>
> >> You access the function logout which after following the tutorial you
> >> will have created in your users controller.
>
> >>> I went through some comments on that page suggested to
>
> >>> $this->Auth->allowedActions = array('logout');
>
> >> for what reason?
>
> >>> What's your suggestion?
>
> >> You could start with explaining in what way the tutorial you're
> >> following isn't working with exactly what you're doing and what you're
> >> expecting to happen
>
> >> AD
>
> > Check out the new CakePHP Questions sitehttp://cakeqs.organd help others with their CakePHP related questions.
>
> > You received this message because you are subscribed to the Google Groups "CakePHP" group.
> > To post to this group, send email to cake-php@googlegroups.com
> > To unsubscribe from this group, send email to
> > cake-php+unsubscribe@googlegroups.com For more options, visit this group athttp://groups.google.com/group/cake-php?hl=en

Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions.

You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en

How to get work PHPRtfLite in cake ???

Hi all...

Does anyone know how to get PHPRtfLite (http://sourceforge.net/
projects/phprtf/
) to work in cake 1.3.x ??
I've copy the library in Vendor and i've use App::import but can't get
worked... :(
even with the hello world example, i can't get it worked.
please help...

Thanks

Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions.

You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en

Re: Running a function in URL only once ?

SOLVED.

It can only be run when new actions are added,.. someone by nick -
savant (IRC) has helped me with this.

Regards,
Maxim

On Jan 1, 1:13 pm, John Maxim <goog...@gmail.com> wrote:
> Hi,
>
> I'm still thinking why I could only run this function once in my url,
> after acos table is populated with data, I tried to run once again, it
> doesn't work anymore. What's the reason? Aren't we supposed to run it
> to update new acos ?
>
> The url won't load and says make sure to create a file named build_acl
> in my users model / groups model--which is the function's name.
> Link here:http://book.cakephp.org/view/1549/An-Automated-tool-for-creating-ACOs
>
> ~~
> function build_acl() {
>                 if (!Configure::read('debug')) {
>                         return $this->_stop();
>                 }
>                 $log = array();
>
>                 $aco =& $this->Acl->Aco;
>                 $root = $aco->node('controllers');
>                 if (!$root) {
>                         $aco->create(array('parent_id' => null, 'model' => null, 'alias' =>
> 'controllers'));
>                         $root = $aco->save();
>                         $root['Aco']['id'] = $aco->id;
>                         $log[] = 'Created Aco node for controllers';
>                 } else {
>                         $root = $root[0];
>                 }
>
>                 App::import('Core', 'File');
>                 $Controllers = Configure::listObjects('controller');
>                 $appIndex = array_search('App', $Controllers);
>                 if ($appIndex !== false ) {
>                         unset($Controllers[$appIndex]);
>                 }
>                 $baseMethods = get_class_methods('Controller');
>                 $baseMethods[] = 'build_acl';
>
>                 $Plugins = $this->_getPluginControllerNames();
>                 $Controllers = array_merge($Controllers, $Plugins);
>
>                 // look at each controller in app/controllers
>                 foreach ($Controllers as $ctrlName) {
>                         $methods = $this->_getClassMethods($this-
>
> >_getPluginControllerPath($ctrlName));
>
>                         // Do all Plugins First
>                         if ($this->_isPlugin($ctrlName)){
>                                 $pluginNode = $aco->node('controllers/'.$this->_getPluginName($ctrlName));
>
>                                 if (!$pluginNode) {
>                                         $aco->create(array('parent_id' => $root['Aco']['id'], 'model' =>
> null, 'alias' => $this->_getPluginName($ctrlName)));
>                                         $pluginNode = $aco->save();
>                                         $pluginNode['Aco']['id'] = $aco->id;
>                                         $log[] = 'Created Aco node for ' . $this->_getPluginName($ctrlName) . ' Plugin';
>
>                                 }
>                         }
>                         // find / make controller node
>                         $controllerNode = $aco->node('controllers/'.$ctrlName);
>                         if (!$controllerNode) {
>                                 if ($this->_isPlugin($ctrlName)){
>                                         $pluginNode = $aco->node('controllers/' . $this->_getPluginName($ctrlName));
>
>                                         $aco->create(array('parent_id' => $pluginNode['0']['Aco']['id'],
> 'model' => null, 'alias' => $this->_getPluginControllerName($ctrlName)));
>
>                                         $controllerNode = $aco->save();
>                                         $controllerNode['Aco']['id'] = $aco->id;
>                                         $log[] = 'Created Aco node for ' . $this->_getPluginControllerName($ctrlName) . ' ' . $this-
> >_getPluginName($ctrlName) . ' Plugin Controller';
>
>                                 } else {
>                                         $aco->create(array('parent_id' => $root['Aco']['id'], 'model' =>
> null, 'alias' => $ctrlName));
>                                         $controllerNode = $aco->save();
>                                         $controllerNode['Aco']['id'] = $aco->id;
>                                         $log[] = 'Created Aco node for ' . $ctrlName;
>                                 }
>                         } else {
>                                 $controllerNode = $controllerNode[0];
>                         }
>
>                         //clean the methods. to remove those in Controller and private
> actions.
>                         foreach ($methods as $k => $method) {
>                                 if (strpos($method, '_', 0) === 0) {
>                                         unset($methods[$k]);
>                                         continue;
>                                 }
>                                 if (in_array($method, $baseMethods)) {
>                                         unset($methods[$k]);
>                                         continue;
>                                 }
>                                 $methodNode = $aco->node('controllers/'.$ctrlName.'/'.$method);
>                                 if (!$methodNode) {
>                                         $aco->create(array('parent_id' => $controllerNode['Aco']['id'],
> 'model' => null, 'alias' => $method));
>                                         $methodNode = $aco->save();
>                                         $log[] = 'Created Aco node for '. $method;
>                                 }
>                         }
>                 }
>                 if(count($log)>0) {
>                         debug($log);
>                 }
>         }
>
>         function _getClassMethods($ctrlName = null) {
>                 App::import('Controller', $ctrlName);
>                 if (strlen(strstr($ctrlName, '.')) > 0) {
>                         // plugin's controller
>                         $num = strpos($ctrlName, '.');
>                         $ctrlName = substr($ctrlName, $num+1);
>                 }
>                 $ctrlclass = $ctrlName . 'Controller';
>                 $methods = get_class_methods($ctrlclass);
>
>                 // Add scaffold defaults if scaffolds are being used
>                 $properties = get_class_vars($ctrlclass);
>                 if (array_key_exists('scaffold',$properties)) {
>                         if($properties['scaffold'] == 'admin') {
>                                 $methods = array_merge($methods, array('admin_add', 'admin_edit',
> 'admin_index', 'admin_view', 'admin_delete'));
>                         } else {
>                                 $methods = array_merge($methods, array('add', 'edit', 'index',
> 'view', 'delete'));
>                         }
>                 }
>                 return $methods;
>         }
>
>         function _isPlugin($ctrlName = null) {
>                 $arr = String::tokenize($ctrlName, '/');
>                 if (count($arr) > 1) {
>                         return true;
>                 } else {
>                         return false;
>                 }
>         }
>
>         function _getPluginControllerPath($ctrlName = null) {
>                 $arr = String::tokenize($ctrlName, '/');
>                 if (count($arr) == 2) {
>                         return $arr[0] . '.' . $arr[1];
>                 } else {
>                         return $arr[0];
>                 }
>         }
>
>         function _getPluginName($ctrlName = null) {
>                 $arr = String::tokenize($ctrlName, '/');
>                 if (count($arr) == 2) {
>                         return $arr[0];
>                 } else {
>                         return false;
>                 }
>         }
>
>         function _getPluginControllerName($ctrlName = null) {
>                 $arr = String::tokenize($ctrlName, '/');
>                 if (count($arr) == 2) {
>                         return $arr[1];
>                 } else {
>                         return false;
>                 }
>         }
>
> /**
>  * Get the names of the plugin controllers ...
>  *
>  * This function will get an array of the plugin controller names, and
>  * also makes sure the controllers are available for us to get the
>  * method names by doing an App::import for each plugin controller.
>  *
>  * @return array of plugin names.
>  *
>  */
>         function _getPluginControllerNames() {
>                 App::import('Core', 'File', 'Folder');
>                 $paths = Configure::getInstance();
>                 $folder =& new Folder();
>                 $folder->cd(APP . 'plugins');
>
>                 // Get the list of plugins
>                 $Plugins = $folder->read();
>                 $Plugins = $Plugins[0];
>                 $arr = array();
>
>                 // Loop through the plugins
>                 foreach($Plugins as $pluginName) {
>                         // Change directory to the plugin
>                         $didCD = $folder->cd(APP . 'plugins'. DS . $pluginName . DS .
> 'controllers');
>                         // Get a list of the files that have a file name that ends
>                         // with controller.php
>                         $files = $folder->findRecursive('.*_controller\.php');
>
>                         // Loop through the controllers we found in the plugins directory
>                         foreach($files as $fileName) {
>                                 // Get the base file name
>                                 $file = basename($fileName);
>
>                                 // Get the controller name
>                                 $file = Inflector::camelize(substr($file, 0, strlen($file)-
> strlen('_controller.php')));
>                                 if (!preg_match('/^'. Inflector::humanize($pluginName). 'App/',
> $file)) {
>                                         if (!App::import('Controller', $pluginName.'.'.$file)) {
>                                                 debug('Error importing '.$file.' for plugin '.$pluginName);
>                                         } else {
>                                                 /// Now prepend the Plugin name ...
>                                                 // This is required to allow us to fetch the method names.
>                                                 $arr[] = Inflector::humanize($pluginName) . "/" . $file;
>                                         }
>                                 }
>                         }
>                 }
>                 return $arr;
>         }
> ~~
>
> happy new year 2011, regards.
> Maxim

Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions.

You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en

Re: Urgent Help needed: How to Correct this table so it doesn't have Composite Primary Key?

..Thanks Jeremy and everyone who contributed here.

Regards,
Maxim

On Jan 1, 2:47 pm, Jeremy Burns | Class Outfit
<jeremybu...@classoutfit.com> wrote:
> I think what AD was saying is that the primary purpose of a UUID *when compared with an integer* is that it is globally unique across all servers, not just 'this' server, which of course I forgot to point out in my original reply. This means you have a choice of data type when creating a primary key, both of which have pros/cons. However, it is still a primary key, which has the primary purpose of ensuring data/model integrity.
>
> As far as coding data saves, seehttp://book.cakephp.org/view/75/Saving-Your-Datafor full details.
>
> Jeremy Burns
> Class Outfit
>
> jeremybu...@classoutfit.comhttp://www.classoutfit.com
>
> On 31 Dec 2010, at 17:09, John Maxim wrote:
>
> > So normally we don't use char(36) ? and its primary purpose is not for
> > data /model integrity .. if I hear you right, AD.
>
> > Is the Model::save method the way we usually save by calling
>
> > function add()
> > {
> > }
>
> > are there additional steps ?
>
> > thanks, best regards.
> > Maxim
>
> > On Dec 29 2010, 7:29 am, AD7six <andydawso...@gmail.com> wrote:
> >> On Dec 28, 3:55 am, John Maxim <goog...@gmail.com> wrote:
>
> >>> Hi Jeremy, Thanks for your link will definitely look into that.
>
> >>> ~~Continue my question~~
> >>> I was going to ask about using this:http://book.cakephp.org/view/1027/query
>
> >>> There are 2 options if I'm correct based on cookbook 1.3
> >>> ~~
> >>> Rather than using an auto-increment key as the primary key, you may
> >>> also use char(36). Cake will then use a unique 36 character uuid
> >>> (String::uuid) whenever you save a new record using the Model::save
> >>> method.
>
> >>> according to:http://book.cakephp.org/view/903/Model-and-Database-Conventions
> >>> ~~
> >>> What's the advantage of using char(36) ?
>
> >> A uuid (a 36 char string) is unique - always. It's main purpose is to
> >> be unique, nothing else. Obfuscation is a side effect, not the goal.
>
> >> They are most relevant with distributed datastores whereby you need to
> >> synchronize data and inserts across multiple servers. An insert on
> >> server A can safely and without concern be replicated to server B
> >> because a row with the same ID cannot exist originating from another
> >> server.
>
> >>http://en.wikipedia.org/wiki/Universally_unique_identifier
>
> >> AD
>
> > Check out the new CakePHP Questions sitehttp://cakeqs.organd help others with their CakePHP related questions.
>
> > You received this message because you are subscribed to the Google Groups "CakePHP" group.
> > To post to this group, send email to cake-php@googlegroups.com
> > To unsubscribe from this group, send email to
> > cake-php+unsubscribe@googlegroups.com For more options, visit this group athttp://groups.google.com/group/cake-php?hl=en

Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions.

You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en

Re: Urgent Help: Path for Production environment..

Yes, I understand, will work on it soon. Thanks..
Regards,
Maxim

On Jan 1, 2:31 pm, Jeremy Burns | Class Outfit
<jeremybu...@classoutfit.com> wrote:
> Slight typo: it is of course /cake/libs/controllers, not /cake/libs/controller.
>
> Jeremy Burns
> Class Outfit
>


> jeremybu...@classoutfit.comhttp://www.classoutfit.com
>
> On 1 Jan 2011, at 06:27, Jeremy Burns | Class Outfit wrote:
>
> > This is the standard way of doing things. The /cake/libs folder contains /controller/pages_controller.php and /views/pages/home.ctp that provide the default home page. There is also a default layout. You should never adjust these as it breaks the upgrade path, but one of the first things you should do when developing an app is to copy these into the /app directory and customise as you wish (although I tend to leave the controller as and where it is). Then you can create your own css stylesheet and replace the default Cake one in the default layout and your site starts to like like your own.
>
> > Jeremy Burns
> > Class Outfit
>
> > jeremybu...@classoutfit.com
> >http://www.classoutfit.com
>
> > On 1 Jan 2011, at 04:31, John Maxim wrote:
>
> >> Since I found a solution, share this if someone facing this too it may
> >> help..
>
> >> not sure if it's exactly suggested production setting (installation)
>
> >> I copied and pasted home.ctp from cake/ to my app/views/pages
>
> >> from here I edit the home.ctp and works fine.
>
> >> reference: IRC cakephp user: know1edge
>
> >> Regards,
> >> Maxim
>
> >> On Dec 31 2010, 10:22 pm, John Maxim <goog...@gmail.com> wrote:
> >>> Hi people,
> >>> I need this solved, help if you can. how exactly do I start my page at
> >>> localhost/ without displaying Cake's system info page..?
> >>> Rgds,
> >>> Maxim
>
> >>> On Dec 31, 9:00 pm, John Maxim <goog...@gmail.com> wrote:
>
> >>>> Hello everyone,
>
> >>>> My index now is in my root */www/
>
> >>>> Anyone knows how to remove the cake system page ? now it just display
> >>>> the Cake system page everytime it is routed tohttp://localhost/
>
> >>>> I need it to be a customised page, such as, "Welcome to ABC company
> >>>> etc... "
>
> >>>> Urgently need help with this.
>
> >>>> Regards,
> >>>> Maxim
>
> >>>> On Dec 30, 8:43 pm, John Maxim <goog...@gmail.com> wrote:
>
> >>>>> My document root is:
>
> >>>>> DocumentRoot "c:/wamp/www/"
>
> >>>>> Isn't it already pointing to the correct folder ?
>
> >>>>> Regards,
> >>>>> Maxim
>
> >>>>> On Dec 30, 8:37 pm, John Maxim <goog...@gmail.com> wrote:
>
> >>>>>>http://book.cakephp.org/view/914/Production
>
> >>>>>> Hi, following the above link, I tried to build my App so it starts
> >>>>>> here:
> >>>>>> ------http://localhost/
> >>>>>> ------
> >>>>>> I don't understand the link above..
>
> >>>>>> I unzipped the cake's folder into my root which is in */www/ and
> >>>>>> renamed the index.php file to something else but it still brings up
> >>>>>> the cake system information page each time I loadhttp://localhost/
>
> >>>>>> Can someone share how to remove or rename/replace the cake's index
> >>>>>> page to somewhere so I can start my app athttp://localhost
>
> >>>>>> Thanks,
> >>>>>> Maxim
>
> >> Check out the new CakePHP Questions sitehttp://cakeqs.organd help others with their CakePHP related questions.
>
> >> You received this message because you are subscribed to the Google Groups "CakePHP" group.
> >> To post to this group, send email to cake-php@googlegroups.com
> >> To unsubscribe from this group, send email to
> >> cake-php+unsubscribe@googlegroups.com For more options, visit this group athttp://groups.google.com/group/cake-php?hl=en
>
> > Check out the new CakePHP Questions sitehttp://cakeqs.organd help others with their CakePHP related questions.
>
> > You received this message because you are subscribed to the Google Groups "CakePHP" group.
> > To post to this group, send email to cake-php@googlegroups.com
> > To unsubscribe from this group, send email to
> > cake-php+unsubscribe@googlegroups.com For more options, visit this group athttp://groups.google.com/group/cake-php?hl=en

Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions.

You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en