are you sure that the contents_for_layout is in the body section of your
default.ctp layout?
should be
snip
(add whatever here)
(add more if you need it)
In the name of Life, Liberty, and the pursuit of my sanity.
Siebren Bakker(Aevum Decessus)
On Sat, Jul 19, 2008 at 05:53, vibhor
to link to
them:
css('name_of_stylesheet'); ?>
Hope this helps a little.
--
In the name of Life, Liberty, and the pursuit of my sanity.
Siebren Bakker(Aevum Decessus)
On Sat, Jul 19, 2008 at 09:09, Aquarius.Chifi <[EMAIL PROTECTED]> wr
me of Life, Liberty, and the pursuit of my sanity.
Siebren Bakker(Aevum Decessus)
On Thu, Jul 17, 2008 at 02:05, Sizofrenick <[EMAIL PROTECTED]> wrote:
>
> Hi there all,
>
> I am new with CakePHP and have a question. I find FormHelper very
> useful, but I have a customization
27;confirm_email' => array(
'rule' => array('identicalFields', 'email'),
'message' => 'E-Mail addresses must match')
Hope this helps!
In the name of Life, Liberty, and the pursuit of my sanity.
Siebren
Would you mind posting the code you have that is creating this data as well,
so we can see if there are any discrepancies? It would help diagnosing the
issue.
In the name of Life, Liberty, and the pursuit of my sanity.
Siebren Bakker(Aevum Decessus)
On Wed, Jul 16, 2008 at 06:57, liammc87
done!
In the name of Life, Liberty, and the pursuit of my sanity.
Siebren Bakker(Aevum Decessus)
On Mon, Jul 14, 2008 at 14:25, puneetratan <[EMAIL PROTECTED]> wrote:
>
> Hello
>
> In the config file of cake php , there is an option for Cake Cache
> true and false, and mak
to this.
In the name of Life, Liberty, and the pursuit of my sanity.
Siebren Bakker(Aevum Decessus)
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send email t
if nothing than to
point people in the right direction. I know I've been helped a lot through
the group, and I've helped others with things they didn't know. It's a kind
of mutual give-and-take here.
In the name of Life, Liberty, and the pursuit of my sanity.
Siebren Bakker(Aevum
$this->params['controller'] should be able to get the name of the controller
for you :-P
Hope that's what your looking for!
Good luck!
In the name of Life, Liberty, and the pursuit of my sanity.
Siebren Bakker(Aevum Decessus)
On Thu, Jul 10, 2008 at 05:57, babar <[EM
looking through the html.php file source.
--
In the name of Life, Liberty, and the pursuit of my sanity.
Siebren Bakker(Aevum Decessus)
On Wed, Jul 9, 2008 at 15:02, Jonathan Snook <[EMAIL PROTECTED]>
wrote:
>
> > Well, I think including something that is browser-specific is
functionality to do add this to
a cake application, or layout. Does anyone know if there are any plans to do
so?
¤«§»¤
In the name of Life, Liberty, and the pursuit of my sanity.
Siebren Bakker(Aevum Decessus)
--~--~-~--~~~---~--~~
You received this message because you are
In 1.2RC1, when using uses(), I get a deprecated warning, so I'm assuming
that uses will be removed in the near future, as App::import() replaces it
completely in the new system.
In the name of Life, Liberty, and the pursuit of my sanity.
Siebren Bakker(Aevum Decessus)
On Mon, Jul 7, 2008
d the pursuit of my sanity.
Siebren Bakker(Aevum Decessus)
On Sat, Jun 28, 2008 at 09:09, Louie Miranda <[EMAIL PROTECTED]> wrote:
> Yeah. I figured.
>
> On Sat, Jun 28, 2008 at 10:07 PM, Marcin Domanski <[EMAIL PROTECTED]>
> wrote:
>
>>
>> you can do some googl
s as well.
In the name of Life, Liberty, and the pursuit of my sanity.
Siebren Bakker(Aevum Decessus)
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send email to cake
ife, Liberty, and the pursuit of my sanity.
Siebren Bakker(Aevum Decessus)
On Wed, Jun 25, 2008 at 00:44, kaushik <[EMAIL PROTECTED]> wrote:
>
> I have a product table and a category table. primary key of category
> table i.e. category_id is foreign key. so in product module i want to
&g
If you are using debug level >1, your cache might be interfering with bake
seeing your database, as it is running off a cached model list. Try removing
the files in /app/tmp/cache/models, see if that works out for you.
In the name of Life, Liberty, and the pursuit of my sanity.
Siebren Bak
Exactly, you need to use separate files for different layouts. I have a
default.ctp and a game.ctp for logged in and not logged in users. To switch
between the two, in your controller, use $this->layout('layoutname');.
In the name of Life, Liberty, and the pursuit of my sanity.
S
@Joel
I'd never fully read the API documentation on Model::find and Model::findAll
before, thanks for the advice, find('all') works a lot better for what I
needed done!
In the name of Life, Liberty, and the pursuit of my sanity.
Siebren Bakker(Aevum Decessus)
On Fri, Jun 20, 2008
ts/news
When you go there, you should see all of the information contained in the
layout, and wherever you placed the tag,
that is where everything that you placed in your app/views/posts/news.ctp
file will be contained.
Hope this explains things!
In the name of Life, Liberty, and the purs
y
could be added, it would cut out a decent amount of code scattered around my
controllers from it.
In the name of Life, Liberty, and the pursuit of my sanity.
Siebren Bakker(Aevum Decessus)
On Fri, Jun 20, 2008 at 10:22, leo <[EMAIL PROTECTED]> wrote:
>
> When I create a user,
name of Life, Liberty, and the pursuit of my sanity.
Siebren Bakker(Aevum Decessus)
On Fri, Jun 20, 2008 at 08:58, Marcelius <[EMAIL PROTECTED]> wrote:
>
> If you turn debug mode to 1, cache is refreshed so any changes in the
> database will be recognized :-)
>
> On 20 jun,
.
Siebren Bakker(Aevum Decessus)
On Fri, Jun 20, 2008 at 03:10, leo <[EMAIL PROTECTED]> wrote:
>
> I guess if bake doesn't work, Cake can't see the tables. Make sure
> they are defined in the same database as users (!)
>
> Check your database config file in app/confi
anize, this
is not really an issue.
In the name of Life, Liberty, and the pursuit of my sanity.
Siebren Bakker(Aevum Decessus)
On Fri, Jun 20, 2008 at 00:48, SajjadRaza <[EMAIL PROTECTED]> wrote:
>
> Hi
> i am novice to php and cake i have shifted from java and now in fix
> about lka
id. To fix this problem, I searched and
found that if you clear the contents of your app/tmp/cache/models/ folder,
cake will rebuild all associations and database configurations on the next
refresh, fixing that problem.
In the name of Life, Liberty, and the pursuit of my sanity.
Siebren Bakker(Aevu
.
Does anyone know who I could go about doing this, or could point me out to
any examples of anyone doing something similar to this.
In the name of Life, Liberty, and the pursuit of my sanity.
Siebren Bakker(Aevum Decessus)
--~--~-~--~~~---~--~~
You received this
make sure that your webroot in Apache or IIS(Whichever you're using) is set
to /app/webroot, instead of the cake directory itself, and that should
fix the issue.
In the name of Life, Liberty, and the pursuit of my sanity.
Siebren Bakker(Aevum Decessus)
On Thu, Jun 12, 2008 at 20:05, M
'rule' => 'isUnique',
'message' => 'Username is in use. Choose another.'
)
)
The way this works, the username must be A) Unique, B) between 5 and 30
characters, and C) of the character
pagination, it really depends on what version of CakePHP you are using, as
to how it's implemented.
Perhaps you could give us some more information as to exactly what you are
looking for?
In the name of Life, Liberty, and the pursuit of my sanity.
Siebren Bakker(Aevum Decessus)
On Wed, Jun 11
ath Path to the image file, relative to the app/
> webroot/img/ directory."
> is this configurable? I don't want photos in the same place as
> graphics.
> >
>
--
In the name of Life, Liberty, and the pursuit of my sanity.
Siebren Bakker(Aevum Decessus)
--~--~--
Try running this shell to find leading/trailing whitespaces in your
> php files:
> http://bin.cakephp.org/view/1837474952
>
> On Jun 3, 3:23 am, "Siebren Bakker" <[EMAIL PROTECTED]> wrote:
> > I'm not sure exactly what's causing this issue, but I am runn
> >
>
--
In the name of Life, Liberty, and the pursuit of my sanity.
Siebren Bakker(Aevum Decessus)
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, sen
-direct to the proper locations?
--
In the name of Life, Liberty, and the pursuit of my sanity.
Siebren Bakker(Aevum Decessus)
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this g
In the name of Life, Liberty, and the pursuit of my sanity.
Siebren Bakker(Aevum Decessus)
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send email to cake-php@google
e 1.9 and tried every solution given on this forum.
> > I hope someone can help me!
> >
>
--
In the name of Life, Liberty, and the pursuit of my sanity.
Siebren Bakker(Aevum Decessus)
--~--~-~--~~~---~--~~
You received this message because you
I haven't got any redirects to the login page in the controller or my
> app_controller a bit confusing.
>
> I'm using cake 1.9 and tried every solution given on this forum.
> I hope someone can help me!
>
> >
>
--
In
he name of Life, Liberty, and the pursuit of my sanity.
Siebren Bakker(Aevum Decessus)
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send email to cake-php@googlegroup
, array('controller' => 'customs', 'action'
> => 'testValidate'));
> echo $form->input('my_field');
> echo $form->create('submit');
>
> If both the minlength and alphanumeric rules fail, only the
> minlength
tRuleSet];
120 return parent::validates($data)?true:false;
121
122 }
and a print_r of the $this->data array produces:
Array
(
[User] => Array
(
[email] => [EMAIL PROTECTED]
[confirm_email] => [EMAIL PROTECTED]
There's a proper channel for critique - the mailing list isn't it.
> 2. Since this is an open source project, there's a certain amount of
> civility we require in our communications.
>
> Thanks,
>
> John
>
> >
>
--
In the name of Life, Liberty, and
Customer`.`id`)
> WHERE `Lightbox`.`id` = '21' LIMIT 1
>
> SELECT `LightboxImage`.`id`, `LightboxImage`.`image_id`,
> `LightboxImage`.`lightbox_id`, `LightboxImage`.`price_id`,
> `LightboxImage`.`quantity` FROM `lightbox_images` AS `LightboxImage`
> WHERE `LightboxImage`.`lightb
the lack of crankiness will cost you
> >
> > - its a fine line between a real question and an idiot
> >
> >
> http://blog.samdevore.com/archives/2007/03/05/when-open-source-bugs-me/http://blog.samdevore.com/cakephp-pages/my-cake-wont-bake/http://blog.samdevore.com/cakephp-pages/i-cant-ba
who want more information is:
http://www.tummblr.com/web-development/redirect-visitors-from-high-traffic-sites-like-digg-to-coralcdn-mirror-using-htaccess/
any ideas?
--
In the name of Life, Liberty, and the pursuit of my sanity.
Siebren Bakker(Aevum Decessus)
-BEGIN GEEK CODE BLOCK-
Version:
but I could not find a solution:
> >
> > How can I access the schema of a model in a view?
> >
> > Tomka.
> >
>
--
In the name of Life, Liberty, and the pursuit of my sanity.
Siebren Bakker(Aevum Decessus)
-BEGIN GEEK CODE BLOCK-
Version: 3.12
GCS d- s+: a20 C
=array())
> {
> $this->validate = $this->$validationSets[$this->currentRuleSet];
> parent::validates($data);
> }
>
>
> }
>
> }
>
>
> Also this can be put on a behavior.
>
>
> On Feb 7, 2008 2:25 PM, Siebren Bakker <[EMAIL PROTECTED]>
;
> > class UsersController extends AppController
> > {
> > function login() {
> > if (...)
> >// default: render with view login.thtml
> > else
> > // render with a different view, f.e. login_error.thtml
> >
> > }
>
PHP 5.2.2 enabled,
> did you have to modify the default htaccess files that come with Cake
> for it to work?
>
> I have my domain pointing to /home/yoursusername/yourdomain.com/app/
> webroot/ in the web panel.
> >
>
--
In the name of Life, Liberty, and the pursuit of my sani
ender
.
Hope that's not too confusing.
On Feb 10, 2008 10:45 PM, bob <[EMAIL PROTECTED]> wrote:
> in the controller i mean
>
>
> On Feb 10, 2008 7:45 PM, bob <[EMAIL PROTECTED]> wrote:
>
> > In cakephp 1.2, how do i determine which radio button the user selected?
&
ts to e.g.
> http://localhost/users/admin/campanas/view/36,
> when it should be redirecting to http://localhost/admin/campanas/view/36.
>
> Do you know the solution? Please tell me
>
> >
>
--
In the name of Life, Liberty, and the pursuit of my sanity.
Siebren Bakker(Aevum D
on someone's blog that it's now depreciated, but with
> no clue as to what by. I know there's a bunch of new validation types
> such as credit card in the new system, but I can't seem to find "not
> empty" anymore. Is this depreciated or not?
>
> Than
o $this->Session in the controller. That's what you can use
> to store the information about the user who's logging in, so it
> remembers them as they move around the site.
>
> Hope that helps,
> Zoe.
> >
>
--
In the name of Life, Liberty, and the pursuit of my san
ata);
> $this->redirect('login');
>}
>}
>}
>
> what am I doing wrong?
> >
>
--
In the name of Life, Liberty, and the pursuit of my sanity.
Siebren Bakker(Aevum Decessus)
-BEGIN GEEK CODE BLOCK-
Version: 3.
o the
controller
On Feb 6, 2008 10:18 PM, Rgarg <[EMAIL PROTECTED]> wrote:
>
>
> do you want to cum pair user written data with database??
> >
>
--
In the name of Life, Liberty, and the pursuit of my sanity.
Siebren Bakker(Aevum Decessus)
-BEGIN GEEK CODE BLOCK-
V
know of a way to just validate a select amount of data?
--
In the name of Life, Liberty, and the pursuit of my sanity.
Siebren Bakker(Aevum Decessus)
-BEGIN GEEK CODE BLOCK-
Version: 3.12
GCS d- s+: a19 C UL++ P L++
!E W++ N(-) o? K? w(+) O? M-- V?
PS+ PE Y- PGP- t+ 5? X-
method's second
> argument
> > array
> >
> > Code is below...
> >
> >
> >
> > >
> > > View
> > >
> > > echo $form->error('username');
> > > echo $form->input('user
VALID_NOT_EMPTY,
> 'password' => VALID_NOT_EMPTY,
> 'verify' => VALID_NOT_EMPTY,
> 'email' => VALID_EMAIL,
> 'website' => VALID_NOT_EMPTY
> );
>
> How would I make it so 'verify' has to be the same value as passwo
w, I know only that don't work :), the possibility are the
> code is not aligned with docs and vice-versa or there is a bug.
>
> Now, I implemented the workaround that ad7six suggested.
>
> >
>
--
In the name of Life, Liberty, and the pursuit of my sanity.
Siebren Bakker
6vGmf0LAOllP73vM2/QCfYrWZ
JO/Dc+5flmsjMslfcV6WiLs=
=lm4P
-END PGP SIGNATURE-
On Jan 29, 2008 5:07 PM, red <[EMAIL PROTECTED]> wrote:
>
> Why just don't bake this simple example?
>
>
> On 29 Sty, 22:33, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
&g
>set('roles', array('', 'Administrator', 'Supervisor',
> > 'Moderator', 'Testing Team', ''));
> > }
> >
> > }
> >
> > What are you trying to achieve? Maybe that would give us more ideas.
> >
> > Cheers,
>
uses it?
i.e., the array('', 'Administrator', 'Supervisor', 'Moderator', 'Testing
Team', '');
--
In the name of Life, Liberty, and the pursuit of my sanity.
Siebren Bakker(Aevum Decessus)
-BEGIN GEEK CODE BLOCK-
Version: 3.12
pr('beforeValidate');
>pr($this->data);
>pr($this->validateErrors());
>exit();
>}
>
> I get no output form beforeValidate(), not any errors for username
ddress'),
> > 'suburb' => array('rule' => 'alphaNumeric', 'message' =>
> 'Suburb
> > contain only letters, including area code'),
> > 'state' => array('rule' =>
ok, I've finally figured out the issue. In the othAuth component, in the
$allowedLoginChars array, if you try using a " ", or space as a character,
it treats that as an empty string, and it breaks the entire
component..sorry if I confused anyone.
On Jan 16, 2008 3:18 PM,
r->data[$this->user_model]))
229{
230
$params[$this->user_model] = $this->controller->data[$thi
231
return 1;
232}
233
//return $this->_login($params);
234}
yet no matter what, it still outputs the a 0 in $auth_return, showing
that the data, params,
ity level to low and tested some
> > > changes... but it doesn't work. sessions are lost after changing page.
> >
> > > Anyone knows what's the problem?
> >
> > > thank you
>
> >
>
--
In the name of Life, Liberty, and the pursuit of my
for One model
> class , One corresponding controller class with multiple actions. If
> yes, can anybody please tell me how?
>
> >
>
--
In the name of Life, Liberty, and the pursuit of my sanity.
Siebren Bakker(Aevum Decessus)
-BEGIN GEEK CODE BLOCK-
Version: 3.12
GCS d- s+: a1
t component / system.
>
>
> cheers
>
> Luke
>
> On Jan 8, 10:57 am, hoerbuchhoerer <[EMAIL PROTECTED]> wrote:
> > solved similar issue with using database sessions, carefully search
> > for session_start() in vendor files, remove them all.
> > hoe
gt;
--
In the name of Life, Liberty, and the pursuit of my sanity.
Siebren Bakker(Aevum Decessus)
-BEGIN GEEK CODE BLOCK-
Version: 3.12
GCS d- s+: a19 C UL++ P L++
!E W++ N(-) o? K? w(+) O? M-- V?
PS+ PE Y- PGP- t+ 5? X- R tv--
b++ Di D+ G+ e h! r y-
-
ns
> '));
>
> And in PersonsController:
>
> Function getpersons () {
> return $this -> Person -> findAll ();
> }
> This works well, but what I want is to paginate the list of persons
> and I dont know how can I do it.
> What have I to change or add to o
68 matches
Mail list logo