I don't know for CakePHP v1.1.x. However, if you use CakePHP v1.2.2 -
-- Here is the User Model
array(
'foreignKey'=>false,
'type'=>'INNER',
'conditions'=>array('Page.user_id=User.id'),
t; documents or post any blog that will aid me in getting started?
>
> On Dec 10, 3:12 am, Reggie Mason wrote:
>
> > I've had success with the PEAR's Spreadsheet Excel Writer
> > --http://pear.php.net/package/Spreadsheet_Excel_Writer, with CakePHP.
> > I
Use $form->isFieldError() in your view to check if there is an error
for the field, and use $form->error() to display the error message.
-ReggieB
On Dec 10, 2:19 am, "Arthur Pemberton" <[EMAIL PROTECTED]> wrote:
> When using the form helper to bind controls to data, validation errors
> are helpf
I have this in a Directory block in my httpd.conf. It uses
mod_deflate
AddOutputFilterByType DEFLATE text/html text/plain \
text/javascript application/x-javascript text/
css
>From howtoforge - http://www.howtoforge.com/apache2_mod_deflate
-ReggieB
On
I've had success with the PEAR's Spreadsheet Excel Writer --
http://pear.php.net/package/Spreadsheet_Excel_Writer, with CakePHP.
I'm not sure about charts; I'd leave that to Excel. Make sure PEAR is
in your include path, and include it in your view. Enjoy.
On Nov 26, 12:54 am, liaogz82 <[EMAIL P
Mark,
The AuthComponent has an authenticate member. If you set this member
to an object with a hashPasswords method, it will be used instead of
the default behavior of the AuthComponent. One thing that
a.php.programmer left off is to set this member in your
app_controller. Here is an example i
You can always provide a base class other than AppModel that contains
the extra methods you need for text processing.
class TextModel extends AppModel {
function textProcessing(){...}
}
class Article extends TextModel
{
function save(...){
$this->textProcessing(...);
...
Or without modifying pages_controller.php
In /app/views/pages/one.ctp (for CakePHP1.2)
layout='eggs'; ?>
This page uses the eggs layout
And, in /app/view/pages/about.ctp
layout='bacon'; ?>
This page uses the bacon layout
On Apr 17, 7:59 am, grigri <[EMAIL PROTECTED]> wrote:
> If you really n
In my views, I've used:
$html->tags['meta'] = 'replacementHtml%s%s';
On Mar 7, 9:08 am, Greg Baker <[EMAIL PROTECTED]> wrote:
> Is there a standard way of changing a tag format? I notice in 1.2
> they're moved to htmlhelper.. I don't want to create a custom helper
> just to override a tag in h
Added http://www.todaysvalue.com - Realtor's Service - Find out how
much your home is worth today!
-reggieb
Click on http://groups.google.com/group/cake-php/web/cake-apps-sites-in-the-wild
- or copy & paste it into your browser's address bar if that doesn't
work.
--~--~-~--~~
bob,
Try the Wizard Component in the bakery -
http://bakery.cakephp.org/articles/view/wizard-component
There is also a tutorial -
http://bakery.cakephp.org/articles/view/wizard-component-tutorial
It already does what you want. It controls the flow from one page to
the next, gives you callback
Here is a quick solution to use the Configure object to save
configuration files and edit them.
http://bin.cakephp.org/view/908039160
On Jan 11, 5:09 am, "Dardo Sordi Bogado" <[EMAIL PROTECTED]> wrote:
> I usually create app/config/settings.php , then in AppController
> beforeFilter I do Configur
Darn, I'd love to go... but that's the week of Mardi Gras!
-reggie
On Dec 27, 9:13 pm, Gwoo <[EMAIL PROTECTED]> wrote:
> We hope everyone had a great holiday. We wanted to let you know about
> some plans for the new year. One of the most exciting will certainly
> be CakeFest. We hope you can joi
The bakery articles were for 1.1.x.x
For 1.2 you will need to add a variable to the helper classes
class PdfHelper {
.
.
.
var $helpers = array();
.
.
.
}
I hope this helps.
-reggie
On Oct 30, 6:41 am, kodienz <[EMAIL PROTECTED]> wrote:
> Im currently using Version 1.2.0.5427alpha.
>
> I ha
Mozilla Addons Site Implemented in CakePHP - Subversion
http://svn.mozilla.org/addons/trunk/site/
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email to cake-php@goog
I'm not sure under which conditions it occurs but in my new install of
1.2.5427, in CAKE/lib/controllers/components/auth.php:778, in
AuthComponent::_normalizeURL it seems possible for $paths['base'] to
be an empty string.
This causes an error in the call to stristr.
I no longer get the error,
16 matches
Mail list logo