that should be pretty robust if finetuned a bit.
On Feb 24, 1:57 pm, cricket zijn.digi...@gmail.com wrote:
On Wed, Feb 23, 2011 at 6:36 PM, Ryan Schmidt
google-2...@ryandesign.com wrote:
On Feb 23, 2011, at 13:14, rj wrote:
One last note: getting rid of the flash elements which are emedded
we :-)
Just my 2 cents, rj
---
IE7 JS error details:
User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0;)
Timestamp: Wed, 23 Feb 2011 18:47:43 UTC
Message: 'text' is null or not an object
Line: 313
Char: 4
Code: 0
URI: http://book.cakephp.org/theme/frosted/js/app.js?v=7
--
Our newest
Hello,
I try to use the security component in cakePHP 1.3 and want to combine
the requirements to establish an SSL connection with a simple security
login.
First I want to redirect to a secure connection. Then transmitting the
password should be okay.
Both methods work fine as long as long as I
Thanks a lot for your answer.
I will do as you suggest: get the original field values, merge with
the new ones and then updateAll.
Just as a curiousity, right now I have made it work with some kind of
SQL injection:
Before calling updateAll I modify the form values and add the MySQL
statement
Hello,
I have a single form to edit multiple records. Saving the form updates
all selected records (using updateAll), e.g.
id value
1 abc
2 NULL
3 def
becomes
1 xyz
2 xyz
3 xyz
when the new value xyz is submitted via this form.
So far so good, but now I need to change that behaviour and append
Hi, I on OSX isn't that Apache? If I recall correctly, Apache by
default does not serve UTF-8.
You might try to change that by specifying
AddDefaultCharset UTF-8
On Sep 15, 1:42 pm, Mariano C. mariano.calan...@gmail.com wrote:
I have tried the same on Mac OSX with snowleopard nothing changed.
I am doing a saveall to insert multiple row at once. Is there any way
by which i can get the primary ids of all the rows inserted.
$this-Model-getlastinsertedid() returns the id of the latest row..
Any ideas?
Check out the new CakePHP Questions site http://cakeqs.org and help others with
their
this. As long as it works, I don't
think there's technically any right way to do it, other than
following the MVC standards as best as possible.
On Jun 18, 2:22 am, RJ johnren...@gmail.com wrote:
I have a site that relays mails everyday to all the users based on the
activities in their network
I have a site that relays mails everyday to all the users based on the
activities in their network.
Mails are relayed at 22:30(US time)...so any user from asian countries
will recieve at 8:30...
The problem i am facing is with date, when the mails are relayed, i
put date as the subject line and
In my project i have to send mails for every activity and body content
differs for every activity.
I want to keep the mail body contents in separate files so that
designers can directly change it w/o hushing into php code.
Is there any way by which i can get html content from a ctp file in a
php
Thks for ur reply Rob
I tried the session way... but it isn't working
In a controller file , i created a session variable :
$this-Session-write('status','value');
In non-cake file, i tried accessing that variable :
$_SESSION['status']
but gt a blank value
Thanks,
RJ
On Dec 10, 1:55
anyone who encountered this kind of a problem
On Dec 10, 2:31 pm, RJ [EMAIL PROTECTED] wrote:
Thks for ur reply Rob
I tried the session way... but it isn't working
In a controller file , i created a session variable :
$this-Session-write('status','value');
In non-cake file, i
variable i.e declared in
app_controller.php file
My question is can i access a cake-variable from logout.php (non-cake
file)
Any help wld be appreciated.
Thanks,
RJ
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
CakePHP
I have a scenario where on checking a main checkbox, all the other
checkboxes should be checked
eg:
main checkbox: $form-checkbox('main',array('onClick' = 'check()'))
other checkboxes:
$form-checkbox('users',array('id'= $value['User']['id']))
javascript:
function check()
{
I am having problem in saving the records in the database.The code is
if($this-User-create($this-data) $this-User-save())
{
//success
}
else
{
//Failed
}
The control always goes to else block .How can i track the problem.
Basically is there any way to get the SQL query string.
:
Configure::write('debug', 2);
RJ schrieb:
I am having problem in saving the records in the database.The code is
if($this-User-create($this-data) $this-User-save())
{
//success
}
else
{
//Failed
}
The control always goes to else block .How can i track the problem
leave
it blank it gives me this error.
Any help would be appreciated.
On Jul 18, 12:57 pm, RJ [EMAIL PROTECTED] wrote:
Still not able to figure out the error, i feel its with the query
thats formed when Model::save() is called.
Could any one tell me how to get the query string when Model::save
On 18 Jul., 10:10, RJ [EMAIL PROTECTED] wrote:
got the query by putting the DEBUG level to 2...
the error that i get is :
Warning (512): SQL Error: 1366: Incorrect integer value: '' for column
'phone_buisness' at row 1
the column phone_buisness is 'int' with default as null.
When i
I have the following issues regarding the html layout:
1.) How to generate a text input box like:
Label http://[ textbox ].xyz.com
with direct html , the above is possible but i don't know how to get
the text-box value in controller file as it will not be in $data
neone to help ???
On Jul 18, 3:46 pm, RJ [EMAIL PROTECTED] wrote:
I have the following issues regarding the html layout:
1.) How to generate a text input box like:
Label http://[ textbox ].xyz.com
with direct html , the above is possible but i don't know how
, i guess it has something to do
with .htaccess file
any help wld be appreciated
-RJ
--~--~-~--~~~---~--~~
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
15, 11:15 pm, RJ [EMAIL PROTECTED] wrote:
The directory structure is as follows:
/htdocs/appName/xyz/app
app is the folder that contains all the cakephp files. Now when i hit
any url , it appears as:
http://localhost/apName/xyz/users/login,
but the requirement is such that 'xyz
anybody to help
On Jul 16, 11:21 am, RJ [EMAIL PROTECTED] wrote:
can't do it coz subversioning data resides in 'xyz' folder.
The directory structure has remain that way...
Ne way out?
On Jul 16, 11:18 am, Duncan [EMAIL PROTECTED] wrote:
If you don't need the xyz dir
a bit doubt about $ajax-observeField(), when i keep
options['frequency'] =1 does it mean it makes ajax call every second
when the particular field is focussed or the ajax call is made only
when the value in the field is changed...
On Jul 16, 10:31 am, RJ [EMAIL PROTECTED] wrote:
yes onblur wld
if somebody can tell me how does the folder app does not appear in
the url although all the files are in that folder..
for eg: localhost/project/users( though there is an 'app' folder
inside 'project')
mebbe can solve my problem.
-RJ
On Jul 16, 12:40 pm, RJ [EMAIL PROTECTED] wrote:
anybody
I want to implement the following scenario:
there are 4 text-boxes ,when user enters his name in the first input
box, i want that data(i.e user name) to be auto-filled in the 4th
input box after validating it with database(to check uniqueness) .
For this i'll need to make an ajax request on
Thanks for the reply.. The client side requirement is achieved...
but i want to make a check whether the user-name is already registered
on the fly(i.e ajax call on onkey event) .how to do that ?
On Jul 15, 5:28 pm, Kyle Decot [EMAIL PROTECTED] wrote:
That's going to get to be a lot of
it doesn't work i guess ... i want to make ajax calls on 'onkeyup'
event
how to use $ajax-observeField for the same??
On Jul 15, 6:04 pm, Siegfried Hirsch [EMAIL PROTECTED]
wrote:
what about trying with the $ajax-observeField helper.
On Tue, Jul 15, 2008 at 2:45 PM, RJ [EMAIL PROTECTED] wrote
it without putting a burden on the server with every key stroke ;)
On Tue, Jul 15, 2008 at 3:11 PM, RJ [EMAIL PROTECTED] wrote:
it doesn't work i guess ... i want to make ajax calls on 'onkeyup'
event
how to use $ajax-observeField for the same
yes onblur wld be a good option..but m not able to find how to do
that in cakephp.
could any one help in this as to how to make an ajax call on any
event(onBlur.onclick,etc)
-RJ
On Jul 15, 10:37 pm, Joel Perras [EMAIL PROTECTED] wrote:
Problem with using onkeydown
Hi,
How should i explicitly exclude the default layout from my login page.
For the other views , i need the default layout
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
CakePHP group.
To post to this group, send
31 matches
Mail list logo