;https://pilot.prove-uru.co.uk:8443/URUWS/URU10a.asmx?WSDL";
My Question: Do I need to enable anything in Cake1.2 ?
Controller Code:
$Option = array('login'=>xabcx,'password'=>xx,'trace'=>true);
try {
$SpClien
On Mon, Jul 6, 2009 at 10:57 AM, bhushan A wrote:
> (..)
> controller. and written test_auto() in controller
>
> function test_auto()
> {
>
> }
>
> and in view (test_auto.thtml) i have wriiten these lines:
> "
1) Please, use the CakePHP version 1.2.x.
2) To a view named "test_auto"
Hi all,
i have read too many posts for Autocomplete In cake1.2 . Discussion
was too long but problem remains unresolved. Can anyone tell me exact
solution for this. I have gone through "http://bakery.cakephp.org/
articles/view/autocomplete". But its for 1.1.
I have added co
The "blue header" is a part of what surrounds your content, also known
as "layout".
To learn more about those, read the book:
http://book.cakephp.org/view/96/Layouts
On May 7, 7:52 am, salmia69 wrote:
> hi guys,
>
> I'm newbie here.now I'm doing proje
hi guys,
I'm newbie here.now I'm doing project with cake1.2. i want to remove
the blue header with link but till now i don't know how to do it. i
have check at css file but nothing i can do..
please help me..
--~--~-~--~~~---~--~~
You receiv
$_SESSION variables to alter the look of the following
site.
In cake 1.1 the session data is carried over from the error to the new
page, but in cake1.2 the session data seems to be reset.
I am at a loss and don't know how to fix it. Does anyone have an
idea??
Thanks a lot in advance.
I 'fixed' this by adding this to the core.php:
Configure::write('localePaths', array(APP . 'locale'));
Strange
On 5 jan, 14:59, Marcelius wrote:
> Hi!
>
> I've the cake folder from 1.2 beta to 1.2 final, but all translations
> with the __() function don't work anymore. (And they did work in
>
Hi!
I've the cake folder from 1.2 beta to 1.2 final, but all translations
with the __() function don't work anymore. (And they did work in
1.2beta) I've cleared the tmp folder, renewed session but no result.
Any ideas?
--~--~-~--~~~---~--~~
You received this messa
Use debug($this->params) to see all the parameters you passed.
--~--~-~--~~~---~--~~
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 g
hi group.
i'm new to cake, just installed 1.2 rc3 and found it really cool! what
i'm trying to find out know is how can i processes custom parameters
in URL, for example if i pass:
http://myhost.com/app/posts/view/711?myparam=1
is it possible for me to ready this "myparam"? or another example:
Hi Andre,
In the HABTM relationship definition you can define an attribute
'with' where you can specify which model acts as the HABTM model (in
your case posts_tags). Then you can create the posts_tags model which
gets saved with the additional fields.
I have not experimented with it but I saw so
Hi Andre,
I use the the following behavior:
http://bakery.cakephp.org/articles/view/add-delete-habtm-behavior
In the comments of that article someone posted a modification for the
addHabtm-method in order to save extra data, and there you also find
an updateHabtm-method for updating the extra d
This should get you started:
http://teknoid.wordpress.com/2008/09/24/saving-extra-fields-in-the-join-table-for-habtm-models/
On Oct 4, 12:28 pm, Andre <[EMAIL PROTECTED]> wrote:
> Hi all,
> I saw "Storing additional data on join
> table"https://trac.cakephp.org/ticket/828.
> Having, two tables a
Hi all,
I saw "Storing additional data on join table"
https://trac.cakephp.org/ticket/828.
Having, two tables associated with HABTM: tags, posts, posts_tags
posts_tags{ post_id,tag_id,weight }
Can anyone help me showing how to use it, in the Post 's add or Post
's edit view in to populate "weigh
Are you trying to add a new but existing pair of (attendance, member)
to the join Table? The data in the join table must be unique, and
there is a key in the association array for the purpose of having the
pair of the 2 foreign keys unique in the table (like a composite key).
Maybe you are trying
I'm doing a Member, Attendance project for church with the following
schema below:
And I'm able to save from both end member, and attendance, but the how
do I deal with attendances_members.offering on the link table.
I'm able to show it in the view and save, but if I edit attendance,
the link reco
http://book.cakephp.org/view/10/understanding-model-view-contr
cakephp tells you some info about the deprecated function google cakephp 1.2
{functionname} deprecated - also search this list (I expect the questions
already been asked and anwsered)
2008/7/19 kaushik <[EMAIL PROTECTED]>:
>
> I want
I want to implement the ActAs Image column behavior(described
http://bakery.cakephp.org/articles/view/actas-image-column-behavior),
but facing problem to implement it. it is giving error the some
functions are already deprecated. Can anyone help me to implement
that. I want to know what is rule to
Will do. Thanks Jonathan.
On Jun 30, 7:21 pm, "Jonathan Snook" <[EMAIL PROTECTED]> wrote:
> Post it to trac. If at all possible, including a test case and/or
> patch would be helpeful as well.
>
> On Mon, Jun 30, 2008 at 10:12 PM, ray <[EMAIL PROTECTED]> wrote:
>
> > Hi there... I tried the irc r
Post it to trac. If at all possible, including a test case and/or
patch would be helpeful as well.
On Mon, Jun 30, 2008 at 10:12 PM, ray <[EMAIL PROTECTED]> wrote:
>
> Hi there... I tried the irc room but didn't get a response.
>
> I believe there's a new bug that was introduced with the latest
>
Hi there... I tried the irc room but didn't get a response.
I believe there's a new bug that was introduced with the latest
version of cake1.2rc2 (build 7296)
Previously findAllThreaded would work for tables that didn't have a
primary key of 'id' but as of this build looks like it was refactored
Solved (for me) by doubling the parentheses:
$tmp = $this->Cookie->find('all', array(
'conditions' => array(),
'recursive' => -1,
'order' => array('((Cookie.rating<=1)) DESC', 'Cookie.rating
DESC')
));
Generates SQL:
SELECT [...] FROM `cookies` AS `Cookie` WHERE 1 = 1
the main SQL code (from phpMyAdmin - works fine)
SELECT *
FROM `users`
ORDER BY id >=2 DESC , id ASC
LIMIT 0 , 30
cakified (gives an error)
$users_list = $this->User->find('all', array('order' =>"(User.id>=2)
DESC, User.id ASC"));
Error shown:
SQL Error: 1064: You have an error in your SQL synta
hello,
i have already noticed a component for accepting paypal payments in
cake1.1, but couldnt make it work in cake1.2
cake1.1 paypal component is here on bakery
http://bakery.cakephp.org/articles/view/paypal-direct-payment-api-component
can anyone please help me with it?
thanks
--
Fahad
http
> use the Cake Email Component:http://book.cakephp.org/view/176/email
>
Or, alternatively, a very good 3rd party mailer is Swift, www.swiftmailer.org/
,for which there is a component available:
http://bakery.cakephp.org/articles/view/swiftmailer-component-tutorial
.
I have used it and continue to
Hello,
use the Cake Email Component: http://book.cakephp.org/view/176/email
Regards, Christoph
On 1 Jun., 16:19, CakeMan <[EMAIL PROTECTED]> wrote:
> Hi,
>
> Which is the best Mailer component or class for Cakephp 1.2. I have
> seen Simple SMTP mailer and phpmailer articles in the Bakery.
>
> W
Hi,
Which is the best Mailer component or class for Cakephp 1.2. I have
seen Simple SMTP mailer and phpmailer articles in the Bakery.
Which is the best ? as i need to use them to send email as Text, Html
and some times with attachments as well.
Please let me know which i can use for my above re
what about post_prams of swfupload
2008/4/28 . <[EMAIL PROTECTED]>:
> in cake1.2 and swfupload, I want to save a variable passed from the cake
> controller to the files -> upload function. How do I do this?
>
> In my default.ctp file, I have this:
>
> window.onl
in cake1.2 and swfupload, I want to save a variable passed from the cake
controller to the files -> upload function. How do I do this?
In my default.ctp file, I have this:
window.onload = function() {
var settings = {
flash_url : "http://localhost/js/swfupload/swfuploa
Thanks man, you saved me couple hours of code digging with this hint
--~--~-~--~~~---~--~~
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@googlegroups.com
To unsubscribe from
Thanks!
I'll make the changes in my code.
--~--~-~--~~~---~--~~
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@googlegroups.com
To unsubscribe from this group, send email
just filled a ticket for this problem.
by now, changing the last line of the __sync() function, in
TreeBehaviour, seems to work
from
$model->updateAll(array($model->escapeField($field) =>
$model->escapeField($field) . ' ' . $dir . ' ' . $shift),
$conditions);
TO
$model->updateAll(array($field =
When I try to update an ACO I get the following error:
LINE 1: UPDATE "acos" SET "Aco"."lft" = "Aco"."lft" + 2 WHERE
"id" ...
^ [CORE/cake/libs/model/
datasources/dbo/dbo_postgres.php, line 122]
Some where along the way an alias is being added to the SQL
Hi Guys,
Does anyone has used Pquery with cake1.2 beta on PHP 5. I are trying
to use it but it is not working for me.
Anyone have any idea for Pquery.
Thanks
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "
Thanks francky,
So, if i use pre-beta version now and then can i upgrade to the newer
version of Cake1.2 ? Keep in mind that i may have completed my
project. Even then can i upgrade to the new one ?
OnDec 29, 4:31 am, francky06l <[EMAIL PROTECTED]> wrote:
> You can have a look he
You can have a look here : https://trac.cakephp.org/roadmap .
According to the road map, 1.2 is about 92% completed.
On Dec 28, 8:33 pm, CakeMan <[EMAIL PROTECTED]> wrote:
> Thanks Ron,
>
> Both are very good resource. however i would like to know if there is
> any pending features that still nee
Thanks Ron,
Both are very good resource. however i would like to know if there is
any pending features that still needs to be incorporated in the Core
cakephp1.2 by Cake team as there is still an pre beta for 1.2.
Thanks
On Dec 28, 11:52 pm, Ron Chaplin <[EMAIL PROTECTED]> wrote:
> On Fri, 2007
an.
>
> On Dec 28, 11:48 pm, CakeMan <[EMAIL PROTECTED]> wrote:
>
> > hello,
>
> > Is there any good Jquery plugin available for CAKE1.2 ? pls let me
> > know. i needed it for my project.
>
> > Thanks !!
--~--~-~--~~~---~--~~
Y
Hi,
This may be helpful:
http://www.ngcoders.com/php/jquery-helper-for-cakephp-pquery-port/
.
Regards,
Sharan.
On Dec 28, 11:48 pm, CakeMan <[EMAIL PROTECTED]> wrote:
> hello,
>
> Is there any good Jquery plugin available for CAKE1.2 ? pls let me
> know. i needed
On Fri, 2007-12-28 at 10:35 -0800, CakeMan wrote:
> Hi Guys,
>
> I am going to start an large project in Cakephp1.2.
> Can someone provide me some info that is all the features of
> Cakephp1.2 included in cakephp1.2 pre beta ? Or is there more features
> still to be put in ?
>
>
> Thanks !!
> >
hello,
Is there any good Jquery plugin available for CAKE1.2 ? pls let me
know. i needed it for my project.
Thanks !!
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this g
Hi Guys,
I am going to start an large project in Cakephp1.2.
Can someone provide me some info that is all the features of
Cakephp1.2 included in cakephp1.2 pre beta ? Or is there more features
still to be put in ?
Thanks !!
--~--~-~--~~~---~--~~
You received this
Hi All,
I am working with the Cake1.2 branch, I now the consequences and I
have noticed some side effects behaviors. I haven't updated from the
branch for 3 days, and I noticed the following :
- When you have an hidden field which is not 'id' of the spotted form
model, the fi
Go do the console directory and type
cake bake
On Sep 14, 4:33 pm, wickass <[EMAIL PROTECTED]> wrote:
> How do you bake an app in cake 1.2
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post t
check under the header titled console:
http://ahsanity.wordpress.com/2007/08/29/cakephp-12-the-romance-
continues/
On 14-sep-2007, at 8:33, wickass wrote:
>
> How do you bake an app in cake 1.2
>
>
> >
--
Tijs Teulings
tel: +31645004824
http://blog.tijs.org
more:
http://www.automatique.nl
http
How do you bake an app in cake 1.2
--~--~-~--~~~---~--~~
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@googlegroups.com
To unsubscribe from this group, send email to [EMAI
On Sep 6, 2007, at 12:35 PM, Vincent wrote:
>
> Hello -
>
> Can anybody give a status update on 1.2? Any roadmap for it?
https://trac.cakephp.org/roadmap
-- John
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Ca
Hello -
Can anybody give a status update on 1.2? Any roadmap for it?
Thanks!
--~--~-~--~~~---~--~~
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@googlegroups.com
To unsub
Hi,
So far I coulnd't get this component to upload anything on 1.2.
Can't get "upload" button to show as on SWFUpload website, neither can
get any file in upload queue.
Is it possible I missed something else? I tried with original and your
modified component, all I got is JS to change the form wi
I have the same problem.
There is no output of an error message in my view but pr($this-
>Spindle->invalidFields()); shows that 2 fields are invalid!?
Array
(
[company_id] => This field cannot be left blank
[spinnr] => This field cannot be left blank
)
select('Spindle/company_id',
$Comp
Well, maybe the $hashMethod will be included in Auth component
later ...
your solution is similar to mine, except to keep the possibility of
another hashMethod
On Jul 21, 12:57 am, "[EMAIL PROTECTED]"
<[EMAIL PROTECTED]> wrote:
> Here was my (not so pretty solution)
>
> In controllers/compon
Here was my (not so pretty solution)
In controllers/components/mycustomauthcomponent.php:
The in the app_controller:
var $components = array ('Acl', 'Mycustomauth');
$this->Mycustomauth->authorize = 'actions';
...etc...
It appears to work (not getting parentNode() to execute, but I think
Well, I had a chat with Gwoo yesterday about this. Actually the
security object accept 3 hash methods : sha1 (default), md5 and
sha256..
The idea, with a derived Auth, to declare $var hashMethod = 'sha1';
Overwrite the hashPassword function with :
function hashpassword($password)
{
Security::has
Can you provide more information on how you overwrote the hash method
(Auth::password()) in AuthComponent *without* actually touching the
cakephp core code?
I've been tearing my hair out attempting to do this. I would think you
could create a component (e.g., CustomAuth) and override the method,
Dear all
I've followed the walkthrough for model testing
http://bakery.cakephp.org/articles/view/testing-models-with-cakephp-1-2-test-suite
which is great, but I need something that will test my controllers and
the rest of my application. Please forgive my igorance if I'm missing
something obvi
Thanks for your help.
Its probably worth me putting something on the trac about it then,
unless a kind dev on the list wants to take a look for me :)
Best regards
Mike
On 13/07/07, Dr. Tarique Sani <[EMAIL PROTECTED]> wrote:
>
>
> On 7/13/07, Mike Green <[EMAIL PROTECTED]> wrote:
> >
> > I'm u
On 7/13/07, Mike Green <[EMAIL PROTECTED]> wrote:
>
>
> I'm using Development: 1.2.0.5427alpha (July 9, 2007), or at least
> thats the tar.gz I downloaded. Is it possible that I've got an out of
> date version? I assume there is no newer alpha release so is it
> possible that his fixes did not make
Hi
I'm using Development: 1.2.0.5427alpha (July 9, 2007), or at least
thats the tar.gz I downloaded. Is it possible that I've got an out of
date version? I assume there is no newer alpha release so is it
possible that his fixes did not make it into this release?
Many thanks
Mike
On 13/07/07, D
On 7/13/07, Mike Green <[EMAIL PROTECTED]> wrote:
>
>
> HOWEVER
>
> When I try to create a new channel_action (table2), which also has the
> validation set to "VALID_NOT_EMPTY" in the address field, the save
> fails BUT no error message are shown! If I put data in the field and
> hit save, everythi
Dear all
I have a very simple setup, two tables, linked by id:
Table 1: (channels): ID, channel_name, source, number
Table 2: (channel_actions): ID, channel_id, action, address
Table2 links to Table1 through channel_id->id
When I add a new channel (table1) I have set the validation to
"VALID_N
Yes I read this thread prior to test. I am using the latest cake 1.2
branch (1.2.0.5427alpha) and I wanted to avoid the equivalent of your
User->validLogin method, since this is handled by identity. But your
post helped me a lot to start with, thanks.
On Jul 12, 1:50 pm, cakeFreak <[EMAIL PROTE
well dunno if this can help you, but I tested it on the
1.2.0.5146alpha:
=> http://groups.google.com/group/cake-php/browse_frm/thread/871ff4c536bc1e00
Dan
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP"
Hi bakers,
Just wanted to share my experience of integrating the Auth component
into a non-finished application in cake12.
Overall, the component is great and easy to implement, however I had
to deal with some "tricky" features.
First the application context:
I have users spread out in differen
Why the order doesn't work if I have in my view
sort('Nombre', 'nombre',
array('model'=>'Producto')) ?>
sort('Tipo', 'nombre', array('model'=>'Tipo'))
And in my controller
$productos = $this->paginate('Producto');
$this->set('productos', $productos );
Tipo hasMany Producto
How can I make
You shouldn't need to do that.
The process is
you call Model::save()
Model::save calls validates
validates calls invalidFields
invalidFields iterates the validate array and set validationErrors via
invalidate
(in your ValidFunc you make a call to invalidate therby also setting
validationErro
works like a charm.. here's the final code:
var $validate = array(
'directory' => array('rule' => 'ValidFunc')
);
function ValidFunc($value) {
$this->data['ModelName']['fieldname']='new' .$value;
case 1: $this->invalidate('fieldname', 'message1'); return
Yes, nice hack somehow :-)
Thanks Geoff
On Jun 28, 12:56 am, Geoff Ford <[EMAIL PROTECTED]> wrote:
> Just took at look at the code and your right franky, after you return
> false from your custom function invalidFields() then calls $this-
>
> >invalidate() itself overwriting the message you just
Just took at look at the code and your right franky, after you return
false from your custom function invalidFields() then calls $this-
>invalidate() itself overwriting the message you just wrote.
However this is not the case if you return true.
This may be a bit "wrong" but you can get around t
I am not sure that will work (I might be wrong) but it seems to me
that the model->invalidate is called after your validFunc returning
false (this call will oerwrite your message). I haven't tested,
neither check the code deeply enough to know if the call to invalidate
(into the validateField meth
Oops just reread the question.
To set the error message from within the ValidFunc you can use the
Model::invalidate($field, $value = null);
On Jun 28, 8:26 am, Geoff Ford <[EMAIL PROTECTED]> wrote:
> if believe that you can change the error message with
> var $validate = array(
>
if believe that you can change the error message with
var $validate = array(
'directory' => array('error_mesasage' =>
array(array('rule' => 'ValidFunc', 'message'=>'message'))
);
On Jun 28, 5:32 am, francky06l <[EMAIL PROTECTED]> wrote:
> I guess you can't do this using t
I guess you can't do this using the model validation, but if your
validation function is in the current model, you could replace the
value $this->data['Model']['field'] and return true (in this way, this
will not be considered as an error).
If your goal is to correct the value, show it with a mess
ahoy,
i have the following validation in a model:
var $validate = array(
'directory' => array('rule' => 'ValidFunc',
'message'=>'message')
);
function ValidFunc($value) {
$newvalue = 'new' .$value;
$value = $newvalue;
case 1: /*message=1*/ return false;
c
t; T
>
> On 6/15/07, phpjoy <[EMAIL PROTECTED]> wrote:
>
>
>
>
>
> > hey,
>
> > i recently migrated to cake1.2, and i baked a project.
>
> > in the edit form, i had the following line:
> > $form->input('published', array('o
You have to set the $s from your controller
T
On 6/15/07, phpjoy <[EMAIL PROTECTED]> wrote:
>
>
> hey,
>
> i recently migrated to cake1.2, and i baked a project.
>
> in the edit form, i had the following line:
> $form->input('published', array(
hey,
i recently migrated to cake1.2, and i baked a project.
in the edit form, i had the following line:
$form->input('published', array('options' => $s));
the problem is that it doesn't work. it doesn't recognize $s.
Notice (8): Undefined variable: s [COR
2mb limitation is usually due to php.ini settings, you'll have to edit your
php.ini file and restart the httpd daemon
On 6/11/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
>
>
>
> On May 30, 4:29 pm, msajpm <[EMAIL PROTECTED]> wrote:
> > > Hopefully someone finds it useful.
> > > --
> > > Sie
On May 30, 4:29 pm, msajpm <[EMAIL PROTECTED]> wrote:
> > Hopefully someone finds it useful.
> > --
> > Siegfried
>
> Thanks Siegfried.
> Just begining to use cakePHP and I was having a long time trying to
> modify it by myself to use with 1.2.
>
> I have two a questions.
>
> I`m able touploadfi
>
> Hopefully someone finds it useful.
> --
> Siegfried
Thanks Siegfried.
Just begining to use cakePHP and I was having a long time trying to
modify it by myself to use with 1.2.
I have two a questions.
I`m able to upload files using normal file tags but not swf way. Could
you use the swf way?
//keep tabs on mr. controller's params
$this->params = $controller->params;
$this->data = $controller->data;
// get first model - for cake1.2
if (empty($modelName) && isset($controller->modelNames[0])) {
$this->m
Some ajax questions:
I have a div called domaincheck.
In that div i want to load 5 other divs with the domainextentions.
If you look at the example below, when all domains are showed in the
div "domaincheck" then an ajax icon wil apear and that one updates the
status of the domain if it's allre
I renamed it to remove it from the equation. That has never caused an issue
before.
I think this is an issue with either php5 or apache2
I have been hoping to set up apache 1.3 running php4 and apache2 running
php5 (with virtual hosts)
I uninstalled apache 1.3, which has been discontinued on w
i dont thing you can rename any config file. so set it bak to the prev
name...
On Apr 30, 7:50 pm, "Sam Sherlock" <[EMAIL PROTECTED]> wrote:
> I renamed the .htaccess to htaccess.txt & changed the directive for internal
> rewrite.
>
> On 30/04/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
>
I renamed the .htaccess to htaccess.txt & changed the directive for internal
rewrite.
On 30/04/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
>
> When you disabled mod rewrite, did you delete the .htaccess file, or
> comment out the mod rewrite directive?
>
>
> On Apr 28, 1:42 pm, "Sam Sherloc
When you disabled mod rewrite, did you delete the .htaccess file, or
comment out the mod rewrite directive?
On Apr 28, 1:42 pm, "Sam Sherlock" <[EMAIL PROTECTED]> wrote:
> APPLYS TO cake 1.1 & cake 1.2
>
> using php 5.2.1 and mysql 4.1 and apache 2.2.4
>
> every is fine with either version of ca
APPLYS TO cake 1.1 & cake 1.2
using php 5.2.1 and mysql 4.1 and apache 2.2.4
every is fine with either version of cake until I start using custom models,
view & control
pages work fine.
These are the errors listed in my apache error log, mod write is working and
when enabled I get
[Sat Apr 28
86 matches
Mail list logo