Unfortunately autoComplete doesn't come out of the box for the jsHelper in
1.3
This old thread may help you:
http://cakephp.1045679.n5.nabble.com/CakePHP-1-3-JSHelper-and-Autocomplete-Missing-method-td3270384.html
On 6 January 2011 18:03, rethab rethab...@gmail.com wrote:
Hey guys
With
Hi,
I detail how I achieve it in this post:
http://groups.google.com/group/cake-php/browse_thread/thread/d1bbbf7be0a93a30#.
Unfortunately I am still having a few problems with the rendering.
Please let me know if you find a solution.
Cheers,
ojonam
On Jan 7, 9:40 am, Stephen
I figured it out, sorry for the trouble. It was a simple naming issue.
On Jan 6, 5:07 pm, ojonam manojo10...@gmail.com wrote:
Hi,
I am migrating from AjaxHelper to JsHelper (as the former is
deprecated), and am converting $ajax-autoComplete calls in the
following way (I stay with Prototype
Unfortunatly, the server seems to be configured so that it automatically
adds an type extension to a browser request (eg. type in .com/blah and
if there no directory called blah but there is a file called blah.zip will
load that).
does it means that the url rewriting that cakephp relies on is
Hi all!
I have a little problem with the Acl. I have Users beloging to Roles.
I want to set my Acl to check the Roles only, since a per User based
system is not planned. So I followed the tutorial from the Book 1.3
(http://book.cakephp.org/view/1547/Acts-As-a-Requester) where it
describes the
Link is the model in this scenario.
In admin_index,
there is a list of Link records.
This whole list is wrapped within a Form. (Let us call this the
EditListForm)
This EditListForm will post to the admin_edit action of the
controller.
I also have a Add Link Form directly below the list.
The
I've been recently wondering wether to use SimpleTest or not... so I
thought to ask what does people do. As I'm learning programing always
by myself I don't know how others work... but it seems to me that
using cake test for normal little applications is a pain in the ass as
for the amount of
I have a view that I would like to be able to sort on certain columns.
Normally I know that I would use the pagination sort helpers however I
(the client) want all the results to show without having to page
through them.
Is there a way to add the sort functionality without pagination or
using
Dear netusco
I know exactly what you mean - most CakePHP tutorials about testing
aren't that great; they expect you already have plenty of ideas on why
testing is good, and they only explain how in theory you can use the
SimpleTest library to test your CakePHP apps the same way you have
already
I am rebuilding an application from scratch while attempting to keep
all of the pre-existing data (around 100,000 users). In the current
application, it has 4 tables:
affiliates
administrators
administrators_permissions
users
On the front-end of the site, it has what you might expect:
Hi, I got this message calling www.bodoquemkt.com.br/users/knownusers
.
This knownusers was created as described on
http://www.ibm.com/developerworks/opensource/tutorials/os-php-cake1/section4.html
.
Warning (512): SQL Error: 1064: You have an error in your SQL syntax;
check the manual that
Hi,
I'm using Cake 1.3.6, and I have a login page and a register page
working with my application using the Auth component, but as I try to
create a 'change password' page I'm finding that my validation
messages aren't showing up on my change_password.ctp page. I am using
different field names
Hi folks! :)
Im building a website and decided to use CakePHP as framework. So Im
totally new to the framework and Im not familiar with alots of things.
I have though spent tens of hours reading the CookBook througtly.
I have a problem with ACL in my website, which is the reason Im
writing this.
What version of Cake are you using? findAll() was replaced by
find('all') in 1.2.
From the 1.3 docs:
http://book.cakephp.org/view/1017/Retrieving-Your-Data#find-all-1021
On Jan 6, 7:22 pm, AndreGuerreiro andreadguerre...@gmail.com wrote:
Hi, I got this message
function add(){
if(!empty($this-data)){ ///why does this statement works
/// if(empty($this-data)){ why does this statement
do nothing
if($this-Post-save($this-data)){
$this-Session-setFlash('Your post has been saved.');
Why are you attempting to do that?
!empty() checks to make sure the POST data exists, empty() checks to
make sure the POST data is empty.
On Jan 7, 9:10 am, zer0_gravity zr...@hotmail.com wrote:
function add(){
if(!empty($this-data)){ ///why does this statement works
I did this because I wanted to understand if the empty() is checking
for a null contained $this-data.
On Jan 7, 12:57 pm, Miles J mileswjohn...@gmail.com wrote:
Why are you attempting to do that?
!empty() checks to make sure the POST data exists, empty() checks to
make sure the POST data is
http://php.net/manual/de/function.empty.php
On 7 Jan., 19:56, zer0_gravity zr...@hotmail.com wrote:
I did this because I wanted to understand if the empty() is checking
for a null contained $this-data.
On Jan 7, 12:57 pm, Miles J mileswjohn...@gmail.com wrote:
Why are you attempting
you are partly wrong
for small apps the amount of time needed for complete code coverage
and full web test cases
is far too much compared to the value.
it would be wonderful, but we simply dont have the resources
so test the stuff that is tested the quickest, test the stuff that can
easily break
Hello,
I have made a flash message your job has been updated. When I edit a
job and have been redirected to the index view the message appears
(and after 3 seconds it hides). This is working fine. But when I go
after the
edit to the details view and back to the index view it gives me the
message
I know I've read this somewhere, but I've been searching for an hour
now and cannot find it.
I have a Product model
I have a Category model
A product can have many categories
The categories table has a field, slug, that is used for SEO purposes.
I currently have a beautifully formatted,
On Fri, Jan 7, 2011 at 7:32 AM, Zeu5 kimc...@gmail.com wrote:
Link is the model in this scenario.
In admin_index,
there is a list of Link records.
This whole list is wrapped within a Form. (Let us call this the
EditListForm)
This EditListForm will post to the admin_edit action of the
On Fri, Jan 7, 2011 at 6:06 AM, ambati kiran kiran00...@gmail.com wrote:
Unfortunatly, the server seems to be configured so that it automatically
adds an type extension to a browser request (eg. type in .com/blah and
if there no directory called blah but there is a file called blah.zip will
On Fri, Jan 7, 2011 at 7:25 AM, Jens Dittrich jdittr...@gmail.com wrote:
Hi all!
I have a little problem with the Acl. I have Users beloging to Roles.
I want to set my Acl to check the Roles only, since a per User based
system is not planned. So I followed the tutorial from the Book 1.3
On Fri, Jan 7, 2011 at 9:50 AM, Briko03 nathanrlar...@gmail.com wrote:
I have a view that I would like to be able to sort on certain columns.
Normally I know that I would use the pagination sort helpers however I
(the client) want all the results to show without having to page
through them.
I am trying to redirect to different locations depending on which
group a user belongs to after logging in. The problem I am having is
that it keeps going to the redirect for group 1 even when it should be
going to the redirect for group 2:
function login()
{
$this-layout = 'login';
if
i guess, problem might be here :
in app_controller you define login redirect (according to standart use of
Auth from tutorial)
$this-Auth-loginRedirect = array('controller' = 'projects', 'action' =
'index');
you should take care of login redirect here (maybe edit it or bypass)
2011/1/7
On Thu, Jan 6, 2011 at 4:28 PM, TSG ke...@thatscriptguy.com wrote:
I am rebuilding an application from scratch while attempting to keep
all of the pre-existing data (around 100,000 users). In the current
application, it has 4 tables:
affiliates
administrators
administrators_permissions
Thank you cricket. Your response prompted me to look into the right
place.
I realised what i did and place my form tags properly this time.
All i had to do was to put the form tags outside my table tags.
Thank you. Have a nice day.
On Jan 8, 6:14 am, cricket zijn.digi...@gmail.com wrote:
On
I tried your suggestion. I created the before filter in the app
controller as shown below:
class AppController extends Controller {
var $helpers = array('Form', 'Html', 'Javascript',
'Time','Menu','Session');
var $components = array('Acl','Auth','Session');
# //Configure AuthComponent
function
Have you figured out how to get it to work? I am doing essentially the same
thing and my error is identical to yours. I am looking at the group_id the
user belongs to and then redirect based on which id.
Check out the new CakePHP Questions site http://cakeqs.org and help others with
their
31 matches
Mail list logo