it, send an
> email to cake-php+unsubscr...@googlegroups.com.
> To post to this group, send email to cake-php@googlegroups.com.
> Visit this group at http://groups.google.com/group/cake-php.
> For more options, visit https://groups.google.com/d/optout.
>
--
Mario Dourado
http://zero
p@googlegroups.com.
> Visit this group at http://groups.google.com/group/cake-php.
> For more options, visit https://groups.google.com/groups/opt_out.
>
--
Mario Dourado
http://zero7.org
--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/
>
> Jeremy Burns
> Class Outfit
>
> http://www.classoutfit.com
>
> On 30 Apr 2013, at 11:20:59, Mario Rico >
> wrote:
>
> I'm having a problems with Internet explorer and hidden fields. it isn't
> hide them.
>
> IE 10 or older
> cakePHP: 2.3.2
>
>
I'm having a problems with Internet explorer and hidden fields. it isn't
hide them.
IE 10 or older
cakePHP: 2.3.2
use:
echo $this->Form->input('category', array('type' => 'text', 'value' =>
$category, 'hidden' => true, 'label' => false));
source generated:
can you help me?
thank you
--
env('SCRIPT_NAME'));" in
core file. and with a subdomain it is running.
now I am using subdomain "http://mario.homesonsale.es/"; pointing to a
directory called "mario" and it works fine (with www.homesonsale.es/mario
makes a controller error). but if I want
-Cookie remains.
Any suggestion or idea where to focus to find a solution?
Thank you in advance,
Mario
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others
with their CakePHP related
Excellent, thank you very much for pointing the right direction.
On Apr 2, 12:11 am, stork wrote:
> ...and watch
> tickethttp://cakephp.lighthouseapp.com/projects/42648/tickets/2709-modelsch...
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the
I have an issue with the new 2.1.1 version compared to 2.0.6
In several places in my models I have queries like:
$this->find('all', array(
'joins' => array(
array(
'type' => 'LEFT',
'table' => '(SELECT example.id FROM ...
I know that table should contain "th
$file,
'download' => false,
'extension' => $this->request->params['ext'],
'path' => 'img'.DS
);
$this->set($params);
}
}
?>
Thank you again.
Best,
Mario
On Jan 3, 6:52 am, AD7six wrote:
> If yo
Ty for the answer.
Fixed everywhere, but unfortunately is not an option for an already
shipped mobile app client...
Of course future versions will take care of the issue, but I would
like to solve it server side also for the existing ones.
Best,
Mario
On Jan 2, 8:31 pm, euromark wrote:
>
getting an "Error: [MissingActionException] Action
AppController::attachments() could not be found".
How can I achieve that?
I would really appreciate if anyone could point me to the right
direction.
Best,
Mario
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.c
Just solved, as suggested by some nice guys on #cakephp on
irc.freenode.net, it was a matter of setting the DocumentRoot as
indicated in http://book.cakephp.org/2.0/en/installation.html#production,
that is at /cake_install/app/webroot.
On Dec 19, 7:11 pm, Mario wrote:
> Hi all,
>
> I
Hi all,
I have just added to a fully working site based on CakePHP 2.0 and
Apache 2.2.16 a wildcard SSL certificate. Created virtual hosts
pointing HTTPS to the same HTTP app.
But when I load the HTTPS version, the certificate is ok but lots of
errors: first thing
[Mon Dec 19 16:34:57 2011] [erro
Hi,
@first: Please excuse my bad english - i hope you will understand what i mean
I have a Model called Newsletter. There is a field called "state" (it
marks the state of an sending) ... Since a few days the update query
works (the database show the updated value) but cake render out an
empty arr
nderstood. You
are suggesting to serve from Cake HTML pages (probably styled or
created on purpose) that can be browsed by the Android app?
Best, Mario
Check out the new CakePHP Questions site http://cakeqs.org and help others with
their CakePHP related questions.
You received this message b
uld really appreciate any help or link to related topics.
Thank you in advance.
Best,
Mario
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&
dear all,
i just learn the cake in a week. and i start to get confused with how
to paginate a custom query.
if i have a more complex table:
users:
id, group_id, name, password
groups:
id, name
roles:
id, name
group_roles
id, role_id, group_id
then i have a query:
"SELECT users.name FROM
users
dear all,
i am very new with php and the cake. i used to play with java
actually.
i would ask you, if there is a way in the cake to create a single view
file to view, add, and edit then reuse them.
i mean to use the same view with different models. the views
automatically detects the table columns
re (so the view is shown
but not ordered).
But both `Y`.`banana_weight` and `Z`.`apple_name` are existing fields
in the query results and in the array returned by Cake.
What I can certainly see is that Z is not a defined model, but still I
would have expected this to work. Any idea or workaround?
Thank
fset
seems to be applied, I would have expected a 1 hour difference in
between the two outputs.
Any hint or suggestion?
Best,
Mario
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 subs
.
Regarding substituting IPs with sessions, my previous reply to Dave
might contain a possible solution.
Best,
Mario
On 3 Dic, 03:29, nurvzy wrote:
> Hi Mario,
>
> I've repackaged my little who's online utility as a plugin. It
> works well enough for my purposes basing off
f it is not an issue, if there is any method in
CakePHP Session to get the same.
Best,
Mario
On 3 Dic, 01:11, Dave wrote:
> You can use the session id as the key as well if you prefer
>
> You just need to be sure to change the Security.level value in your core.php
> to at most med
7;REMOTE_ADDR'] (IPs aren't prone to
duplicates, two or more users behind the same firewall?), where
CakePHP automatically writes a 'CAKEPHP' (session, I think) cookie? I
mean, a part from not being to access to its value, just like
me :-) ...
Best,
Mario
On 2 Dic, 05:10, nurvz
7;REMOTE_ADDR'] (IPs aren't prone to
duplicates, two or more users behind the same firewall?), where
CakePHP automatically writes a 'CAKEPHP' (session, I think) cookie? I
mean, a part from not being to access to its value, just like
me :-) ...
Best,
Mario
On 2 Dic, 05:10, nurvz
x27;))
[where in my config/core.php I have
Configure::write('Session.cookie', 'CAKEPHP');]
But it doesn't work, I get nothing.
Any hint or alternative method I could implement?
Thank you in advance.
Best,
Mario
Check out the new CakePHP Questions site http://cakeqs.org an
*I tried too
*
On Tue, Nov 24, 2009 at 6:36 PM, Ma'moon wrote:
> If you are using POST to send the ID of the target article then try sending
> it using GET
>
> On Tue, Nov 24, 2009 at 3:31 PM, Mario Cesar wrote:
>
>> i tried but didn't work
>>
>>
i tried but didn't work
On Tue, Nov 24, 2009 at 6:20 PM, Dave wrote:
> in the paginate array in your view file add
>
> 'url'=>$this->passedArgs
>
> On Tue, Nov 24, 2009 at 1:24 PM, Mario Cesar wrote:
>
>> Hi All!!
>>
>> I have a probl
Hi All!!
I have a problem with paginate, I'll try explicate:
I have a form that method is "post"
the result is ok in first page but if I click in other page or some
order the paginate returns all rows of my table he is loosing the
args and I'm using the passedArgs in View page
what can i do?
C
to me the more
efficient solution, everything with the same query with 2 additional
LEFT JOINs.
I look forward to your comments.
Best,
Mario
On Sep 30, 2:17 am, brian wrote:
> On Tue, Sep 29, 2009 at 5:21 PM, Mario wrote:
>
> > But to me the BIG question is:
> > isn't
d and frequent.
I wonder if, for example, if (in this specific case) declaring the
Sender and Receiver models, therefore having the model/sender.php and
model/receiver.php files, could be a possible solution to be explored.
I look forward to your comments.
;),
'joins' => array(...)
)
);
So we have a workaround, thank you Brian!
On Sep 29, 8:40 pm, Mario wrote:
>
> The problem is that in place of '*' I get all the Message, Sender and
> Recipient fields but not the SenderProfile and RecipientProfi
r_id` = `Sender`.`id`)
LEFT JOIN `users` AS `Recipient` ON (`Message`.`recipient_id` =
`Recipient`.`id`)
WHERE 1 = 1
The problem is that in place of '*' I get all the Message, Sender and
Recipient fields but not the SenderProfile and RecipientProfile ones
(even if I can test with PHPMyAdmin that
d` =
`Recipient`.`id`) WHERE 1 = 1
the above mentioned fields are no longer NULL, it seems that the query
is working.
I just changed (almost impossible to detect...):
'SenderProfile.user_id' into `SenderProfile`.`user_id`
'RecipientProfile.user_id' into `RecipientProfile`.`user_id`
`Sender` ON (`Message`.`user_id` = `Sender`.`id`)
LEFT JOIN `users` AS `Recipient` ON (`Message`.`recipient_id` =
`Recipient`.`id`)
WHERE 1 = 1
Best,
Mario
On Sep 29, 1:55 pm, John Andersen wrote:
> Thanks, a little more information is needed!
> Please show the code from the controller,
7; => array(
'className' => 'Message',
'foreignKey' => 'recipient_id'
)
);
var $hasOne = 'Profile'; // this for the Profile association
}
?>
Best,
Mario
On Sep 29, 12:35 pm, John Andersen wrote:
&g
re important in
this case to declare that the Sender (Recipient) 'hasOne' Profile. But
where and how, not having a Sender (Recipient) model?
Thank you in advance,
Mario
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Goog
Ok, so what kind of help would you need? I'll be happy to give you a hand
On Mon, Jul 27, 2009 at 12:25 AM, Dhileepen Chakravarthy <
dhileepen.cake...@gmail.com> wrote:
> Please help me anyone for cakephp with facebook implementation
>
>
> >
>
--~--~-~--~~~---~--~
>> I think you may find that FB sends the fb_sig varibales in $_GET. Just
>> to test it, in your controller method:
>> echo '';
>> print_r($_REQUEST); // or print_r($_GET);
>> echo '';
>> exit;
>>
>>
>> On Jul 16, 9:5
gt; say the function name is mario then,
> function mario()
> {
>if(!empty($this->data)){
> $mariodata=$this->data;
>$this->set('yourdata',$mariodata);
> }
> },
> Now in your mario.ctp file,which is the view file of this action
>
require_login();
And that's really the only thing left in order to finish my app. I
have got no clue on how to access 'normal' $_POST data inside of cake.
Thank you very much and I really appreciate this.
Mario R. Vallejo
--~--~-~--~~~---~--~~
You r
ity:paris/
> account:active
>
> to see the params in your controller pr($this->params)
>
> p.s. It is almost always a bad idea to use requestAction() ;)
>
>
> On Jan 14, 9:55 am, Mario Cesar wrote:
> > hi!
> > i have parameters with / ex '2008/2,' '
tks all for tips!!!
On Wed, Jan 14, 2009 at 3:30 PM, Marcelo Andrade wrote:
> On Wed, Jan 14, 2009 at 9:00 AM, Mario Cesar wrote:
> >
> > hi!!
> > I need pass paramters like 2008/1 2008/2
> > but the cake only read 2008
> > how can I pass parameters like
hi!
i have parameters with / ex '2008/2,' '2008/1'
but the cake read only 2008
how can i pass the /???
i'm using
$turma = 'qqq/w';
$this->requestAction("/turmasDisciplinasHorarios/getDisciplinaTurma/
$turma/$filial/$disciplina");
someone can help me?
--~--~-~--~~~---
hi!!
I need pass paramters like 2008/1 2008/2
but the cake only read 2008
how can I pass parameters like that?
tks
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send email to
=> 4
instead of what I want which is:
[1] => 3
[2] => 2
[3] => 4
Please help. I really need the original ids for parsing purposes.
Thanks,
Mario
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
howDiv);
> (replace 'Model' with the name of your model)
>
> And I'm sure it's just as easy (or easier) in jQuery or other
> frameworks
>
> hth
> grigri
>
> On Dec 1, 2:37 pm, mario <[EMAIL PROTECTED]> wrote:
>
> > Hello,
>
>
'type'=>'checkbox', 'onclick'=>"showDiv(this)")); ?>
Is there any way to add onclick event on a form input with multiple
checkbox?
If none, are there any workarounds for this?
Thanks,
Mario
--~--~-~--~~~---~--~~
Yo
ic ajax-cakephp source codes and learn from it.
On Nov 12, 3:42 pm, park <[EMAIL PROTECTED]> wrote:
> Manning's jQuery in Action
>
> On Nov 12, 2:40 pm, mario <[EMAIL PROTECTED]> wrote:
>
> > Ok. I know now that the tutorial is outdated.
> > I'm really look
Ok. I know now that the tutorial is outdated.
I'm really looking for nice tutorials about using ajax in cakephp.
Are there any recommendations for this?
Thanks,
Mario
On Nov 12, 12:04 pm, mario <[EMAIL PROTECTED]> wrote:
> Hi guys,
>
> Where can I find graham bird's t
Hi guys,
Where can I find graham bird's tutorial?
The link (http://grahambird.co.uk/cake/tutorials/ajax.php) no longer
works.
If anyone have a copy of the tutorial, please share it as well as the
source code files.
Thanks,
Mario
--~--~-~--~~~---~--~
ot;getFilterFor($model_name)" which gathers the results from each rule.
>
> The reason for this setup was partly flexibility and partly the GUI. I
> really wanted a humane gui. No wildcards or pseudo-sql. Simple selects
> and meaningful words. Looking back it is not a very diff
}
?>
format('M d, Y (D)',
$exhibit['Exhibit']
['date_accessioned']);
?>
Thanks Samuel. Your suggestion works perfectly.
Cheers!
On Oct 28, 8:07 am, "Samuel DeVore" <[EMAIL PROTECTED]> wrote:
> In the excell helper try adding
>
> var $helpers = array();
>
> this has worked in some other older helpers when I upgraded to cake
> 1.2 (note i have not used the excel help
"action",
"data",
"themeWeb",
"plugin"
)
$c = 8
$j = 8
It is very annoying to see this notice every time I set my
cakephp debug level to 2. Any idea on why this notice
occurs? Has anyone found a workaround to remo
Thanks. But Chad's suggestion works fine for me.
I suggest you also try it. =)
On Oct 28, 6:29 am, "Liebermann, Anja Carolin"
<[EMAIL PROTECTED]> wrote:
> Hi Mario,
>
> I have similar situations in my application and I guess there is no automatic
> way to d
ossibility that there would be duplicates for firstnames.
It would be better if firstname and lastname would be displayed
in my view's combobox and still would match to a corresponding
salesperson.id.
Is there a way to do this?
Thanks,
Mario
--~--~-~--~~~---~--~
table?
Is there any command in cakephp that would reset
the Auto Increment of the table right after you delete a record?
After which it would then point it's auto increment reference at
the end of the table's largest id.
Thanks,
Mario
--~--~-~--~~~-
Thanks a lot. I got it working now. =)
On Sep 27, 8:54 pm, Adam Royle <[EMAIL PROTECTED]> wrote:
> input('collection_id', array('label'=> false,
> 'empty' => true)); ?>
>
> or
>
> input('collection_id', array('label
_id', array('label'=> false)); ?>
As you can see, it will try to create a combobox based from my
collections list. My problem is that since i'm doing a search here, I
want to have a blank field display at the top most of my combobox
which find('list') can't se
i already have a 'password2' in my form for password confirmation.
Can you please give me an example of what you are referring about?
Thanks.^_^
On Sep 27, 3:50 am, "Jon Bennett" <[EMAIL PROTECTED]> wrote:
> > > I want to validate the length of my password using the cakephp model's
> > > val
e' => 'Username must have at least 6
characters'
)
),
'password' => array(
'rule' => array('minLength', '6'),
'requ
['password'] =
> $this->data['User']['password'];
> $this->Cookie->write('User', $cookie,
> true, '+2 weeks');
>
> $cookie = $this->Cookie->read('User');
> if ($cookie)
>
{
$login = $this->Auth->login($this->data);
if($login)
{
$this->redirect($this->Auth->redirect());
}
}
Thanks,
Mario
On Sep 24, 4:03 pm, Fran Iglesias <[EMAIL PROTECTED]> wrote:
> El 24/09/2008, a las 9:31, mario escribió:
;Auth->login() might have some problem.
Any suggestions?
On Sep 24, 3:07 pm, Fran Iglesias <[EMAIL PROTECTED]> wrote:
> El 24/09/2008, a las 9:02, mario escribió:
>
> > This time, it failed to login the user. It seems like there is some
> > problem in terms of hashing my
is some
problem in terms of hashing my password.
Did I missed something here?
On Sep 24, 2:31 pm, Fran Iglesias <[EMAIL PROTECTED]> wrote:
> El 24/09/2008, a las 7:28, mario escribió:
>
> > Do anyone of you have an idea on how to automatically login
> > after signing-up usin
24, 1:39 pm, "Amit Badkas" <[EMAIL PROTECTED]> wrote:
> 2008/9/24 mario <[EMAIL PROTECTED]>
>
>
>
> > Hello everyone,
>
> > Do anyone of you have an idea on how to automatically login
> > after signing-up using Auth Component?
>
> >
; '1');
$this->set('loggedIn', $this->Auth->user('id'));
$result = $this->User->findById($this->Auth->user('id'));
}
function isAuthorized()
{
xcel'); won't work.
But I also don't think that this is a deprecated api.
On Sep 18, 3:47 pm, "Sam Sherlock" <[EMAIL PROTECTED]> wrote:
> have you tried using $this->log()
>
> and double check that App::import is calling the right file
>
> 2008/9/18
Thanks majna. But I can't set the debug mode to 1 since the script
will no longer run in 1.2
if I do that.
On Sep 18, 12:23 pm, majna <[EMAIL PROTECTED]> wrote:
> set debug mode to 1. maybe you get "missingAction" error form cake.
>
> On Sep 18, 7:07 pm, m
port function)
and renaming excel.ctp to default.ctp and everything works fine.
I think the problem has to do with rendering my layout and I just
can't find the solution for it.
Please help me since I'm already beyond my deadline in my project.
Thanks,
Mario
--~--~-~--~~
gt; the helper or not...
>
> They will stay there for a while but not forever.
>
> /Martin
>
> On Sep 18, 3:57 pm, mario <[EMAIL PROTECTED]> wrote:
>
>
>
> > Hello everyone,
>
> > I wanted to generate an excel report from my database query
> > an
http://webdesign.janenanneriet.nl/excel_writer.zip
http://webdesign.janenanneriet.nl/ole.zip
Does anyone of you have these files? (would be better if working in
cakephp 1.2)
Please share it. I really need them in my project.
Thanks,
Mario
--~--~-~--~~~---~--~~
You received
Thanks Marcin. I solve the problem by using $this->Auth->loginAction()
of the Auth Component.
On Aug 24, 9:02 am, "Marcin Domanski" <[EMAIL PROTECTED]> wrote:
> C'mon man- do some searching. I suggest looking at the api at auth
> component properties.
> HTH
e');
$this->Auth->allow('home');
$this->Auth->authorize = 'controller';
$this->set('loggedIn', $this->Auth->user('id'));
}
function isAuthorized()
{
return
.
I've created a separate table for the admin, namely, "admins" table.
I've also
created its' own model,view, and controller.
Now I'm stuck in implementing the admins' login/logout feature because
my main problem
is that the app_controller that I made is already &
75 matches
Mail list logo