Re: app absolute url

2007-08-22 Thread R. Rajesh Jeba Anbiah
On Aug 22, 8:25 pm, Claudia <[EMAIL PROTECTED]> wrote: > I am facing a similar problem: I want to send a cake-generated email > with some links to > my app which need to be absolute. > > When I use $html->url(...) I only get an url relative to my server, > the protocol and the servername is not in

Re: define('DEBUG', 0) problem

2007-08-22 Thread laptop
I think for some reason that libraries are loaded when debug mode is on, but not when it is off. ie. You will need to load the various library using the "uses" function On Aug 12, 4:32 am, "Samuel DeVore" <[EMAIL PROTECTED]> wrote: > also you might make sure that you clean all the caches that are

AJAX Inplace editor fails to return value

2007-08-22 Thread technix83
Hi All, I'm using an AjaxHelper Inplace editor to amend records in a table. the editor does add the values in my database , but it fails to display the new value on the inPlace textbox.Is there something wrong with my view? Cheers! text('UrlRewrite.urlTo_'.$url['UrlRewrite'] ['id'],array('value

Re: access check not working for index page

2007-08-22 Thread Geoff Ford
Because you are manually routing the page, it is bypassing the CAKE_ADMIN functionalilty. How are you doing the check in the AppController? If you are using the $this->params['admin'] it wont be set for this route. Geoff -- http://lemoncake.wordpress.com On Aug 23, 9:46 am, rtanz <[EMAIL PROTEC

Re: save() with conditions possible?

2007-08-22 Thread Sergei
I use 1.1. On 23 авг, 12:33, nate <[EMAIL PROTECTED]> wrote: > Not with save(), no. See Model::updateAll() (Cake 1.2). --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send

First Install of Cake, Constant 500 Error on index page

2007-08-22 Thread Aaryn
Cake 1.1.16 Ubuntu 2.6.20 PHP 5.2.1 Apache 2.2.3 Hi all. I'm new to Cake after having a short play with Symfony. I'm having a bit of trouble understanding how to install Cake. Here is what I have done: 1. Put Cake files in /var/www/cake/ 2. Create database.php file as per docs and my DB setting

Re: save() with conditions possible?

2007-08-22 Thread nate
Not with save(), no. See Model::updateAll() (Cake 1.2). On Aug 22, 10:00 pm, Sergei <[EMAIL PROTECTED]> wrote: > Hello, > > I need to make UPDATE sql with some conditions using model save() > function. Is this possible? --~--~-~--~~~---~--~~ You received this me

save() with conditions possible?

2007-08-22 Thread Sergei
Hello, I need to make UPDATE sql with some conditions using model save() function. Is this possible? --~--~-~--~~~---~--~~ 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@g

View this page "Cake Apps/Sites In The Wild"

2007-08-22 Thread laptop
Hi All, I've added my iStats website to this page. Any thoughts / feedback would be appreciated. Click on http://groups.google.com/group/cake-php/web/cake-apps-sites-in-the-wild - or copy & paste it into your browser's address bar if that doesn't work. --~--~-~--~~~

Re: access check not working for index page

2007-08-22 Thread rtanz
any help on this pls? thnx --~--~-~--~~~---~--~~ 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 [EMAIL PROTEC

Re: Fetch data after click on submit button

2007-08-22 Thread Grant Cox
pr($this->data). Debug. Come back here with more details. On Aug 22, 9:49 pm, sujata <[EMAIL PROTECTED]> wrote: > $this->data['Campaign'] i am fetching data using this statement in > controller > but it does not contain any value Campaign is my model name > so how can i fetch value from templa

Re: update table with text box values..

2007-08-22 Thread Grant Cox
$this->data if you used the form helper to make the text box. $this->form if not. On Aug 22, 9:51 pm, bhushan A <[EMAIL PROTECTED]> wrote: > can u help me ? > how to get values from text box to use them in model or controller --~--~-~--~~~---~--~~ You recei

Re: rigth usage of vendor

2007-08-22 Thread Grant Cox
No, that should be all you need. Does your PHP install allow ini_set() calls? When it gives you the error about "include file not found", does the include path now include your "app/vendors/3rdparty" folder? Is this the correct folder for the relative includes in the library? --~--~-~

Re: getLastInsertId() as a filename

2007-08-22 Thread Grant Cox
What's the complexity? Save database row. Get inserted row id. Rename file on disk. Do this in either your controller action, or in the model's afterSave() callback. On Aug 22, 11:28 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > To use this method : getLastInsertId(); i must first save

Re: multiple connections

2007-08-22 Thread Grant Cox
$conditions=>array('OR' => array('Sales.id'=>'123', 'Customer.sales_id'=>'123') ); will use a boolean OR rather than AND. On Aug 23, 3:35 am, "Feris Thia" <[EMAIL PROTECTED]> wrote: > Hi All, > > I have 2 models => Sales (in MySQL server) and Customer (in SQL > Server) and I have "hasOne" assoc

Re: Java Applet Location with Cake?

2007-08-22 Thread jonathan
Well, it all seems to be working perfectly now. Not sure what happened there, but it may have been a browser caching issue. Thanks for your help Samuel! On Aug 22, 5:25 pm, jonathan <[EMAIL PROTECTED]> wrote: > Thanks Samuel - I think I got it working by abandoning the codebase > param and usin

Re: PaginationHelper + custom route (Cake SVN #5570)

2007-08-22 Thread [EMAIL PROTECTED]
I'm going to provide the answer to my own question. I haven't seen anyone point this out, but Paginator link methods, HtmlHelper::link(), and ultimately Router::url() require a specific format to create the route as expected. Here are the API notes for Router::url(): http://api.cakephp.org/1.2/cl

Re: Java Applet Location with Cake?

2007-08-22 Thread jonathan
Thanks Samuel - I think I got it working by abandoning the codebase param and using the relative path in the archive param. I THINK it's working because now I am getting the dreaded Session issue with Java Applets - I load the page, the session is somehow destroyed, and I am logged out. This see

PaginationHelper + custom route (Cake SVN #5570)

2007-08-22 Thread [EMAIL PROTECTED]
PaginationHelper isn't recognizing my route when creating links. Here's the route: $Route->connect('/cities/:city_id/:action/*', array('controller' => 'cities')); The links are correct except PaginationHelper omits the :cities_id. My application persists the current city_id using the route. Any

Re: Java Applet Location with Cake?

2007-08-22 Thread Samuel DeVore
I would just self contain all the jars and everything relative to the applet in the webroot directory. Then it is just relative urls to the applet or urls to the parts On 8/22/07, jonathan <[EMAIL PROTECTED]> wrote: > > Hi Samuel - thanks for the help. The problem is the codebase > parameter ta

Re: Java Applet Location with Cake?

2007-08-22 Thread jonathan
Hi Samuel - thanks for the help. The problem is the codebase parameter takes a URL value - I don't know what URL to use as Cake does not allow accessing webroot using http On Aug 22, 3:46 pm, "Samuel DeVore" <[EMAIL PROTECTED]> wrote: > put it in webroot or a subfolder there in. then you can d

Re: Java Applet Location with Cake?

2007-08-22 Thread Samuel DeVore
put it in webroot or a subfolder there in. then you can directly path address them On 8/22/07, jonathan <[EMAIL PROTECTED]> wrote: > > I have a simple Java applet I would like to embed in a view. My > questions are: > > 1) Where do I put the actual files (e.g. .jar) within the CakePHP > framew

Java Applet Location with Cake?

2007-08-22 Thread jonathan
I have a simple Java applet I would like to embed in a view. My questions are: 1) Where do I put the actual files (e.g. .jar) within the CakePHP framework (vendors? config?) 2) What path do I use for the codebase tag within the applet tag? I have tried all sorts of things, with no luck. Thank

Re: Need a mentor

2007-08-22 Thread [EMAIL PROTECTED]
The IRC is always a good place to get in and ask some questions. I'm developing a quick document to demonstrate how Cake interacts with each part. Kinda a step up from the usual Blog demo/tutorial. Steve On Aug 21, 7:17 pm, Geoff Ford <[EMAIL PROTECTED]> wrote: > One of the best places for men

multiple connections

2007-08-22 Thread Feris Thia
Hi All, I have 2 models => Sales (in MySQL server) and Customer (in SQL Server) and I have "hasOne" association with them. It's working fine with pagination except when I need to add condition for both models. With just one condition it is working fine, eg : $conditions=> array('Sales.id'=>'12

mysql_connect client flags

2007-08-22 Thread Grzegorz Pawlik
is there a possibility, when using mysql_connect engine in database config, to force cake send client_flags param (fifth in mysql_connect). Especially im interested with sending MYSQL_CLIENT_SSL && MYSQL_CLIENT_COMPRESS. TIA GP --~--~-~--~~~---~--~~ You received

Re: .htaccess's "/" problem

2007-08-22 Thread [EMAIL PROTECTED]
Greetings! When you are using .htaccess files outside of the root domain, e.g. http://mysite.com/myfolder, you need to add a "RewriteBase" rule to the .htaccess files. I believe you need to add the new rule right beneath the "RewriteEngine On" rule. ./myfolder/.htaccess Add: RewriteBase /myfold

Re: Form elements don't update

2007-08-22 Thread Richie Savage
I was having this same problem following the same IBM tutorial. After an hour or so digging around inside helper.php and html.php I still didn't realize that inputTag was deprecated. The part that fooled me was that passwordTag is also deprecated but working normal. Thanks noWookies! I guess thos

Re: app absolute url

2007-08-22 Thread Claudia
Thanks, I did not see this constant before. This saves me typing the http:// But I still would need to prepend it to the HTMLHelper::url call which is not very nice. So it looks a custom helper is really the way to go. Thanks Claudia On Aug 22, 6:29 pm, majna <[EMAIL PROTECTED]> wrote: > maybe

Re: database connection problems

2007-08-22 Thread Charlie van de Kerkhof
HI, as the error says the host is not correcty, or not accessible from your webserver. Check your priviliges on your mysql user you use in this dbconfig. On Aug 22, 6:41 pm, rtanz <[EMAIL PROTECTED]> wrote: > hi i have uploaded cake on to my server however i am having problems > connecting to the

database connection problems

2007-08-22 Thread rtanz
hi i have uploaded cake on to my server however i am having problems connecting to the database, as shown by the error message: Warning: mysql_connect() [function.mysql-connect]: Unknown MySQL server host 'co-project.lboro.ac.uk ' (1) in /disks/diskh/zco/cojg/ public_html/cake/cake/libs/model/dbo

Re: app absolute url

2007-08-22 Thread majna
maybe : #cake 1.1.x On Aug 22, 5:25 pm, Claudia <[EMAIL PROTECTED]> wrote: > Hi there > > I am facing a similar problem: I want to send a cake-generated email > with some links to > my app which need to be absolute. > > When I use $html->url(...) I only get an url relative to my server, > the

.htaccess's "/" problem

2007-08-22 Thread CakeMan
Hello Friends, I am facing an problem. I have installed cakephp on my server. The site is running fine when i open this with "http://mysite.com/ myfolder/" BUT when i open it with "http://mysite.com/ myfolder" (Please note the difference of "/" after myfolder) it gives me Error as below:- "

Re: How do I write ´fieldA´ = ´fieldB´ in a condition using an array and not a string?

2007-08-22 Thread xephex
On 22 Aug., 16:32, AD7six <[EMAIL PROTECTED]> wrote: > Whether it helps in the end is another matter, but the answer is.. I'm afraid it did not help. Thanks anyway. In the meantime, i've found the solution: var $hasOne = array('ModelB'=>array('conditions' => array('ModelB.foreignKey' => '-!\x60Mo

Re: app absolute url

2007-08-22 Thread Claudia
Hi there I am facing a similar problem: I want to send a cake-generated email with some links to my app which need to be absolute. When I use $html->url(...) I only get an url relative to my server, the protocol and the servername is not included. Of course I can simple add a 'http://' . $_SERV

Re: Pagination question

2007-08-22 Thread Feris Thia
On 8/22/07, Chris Hartjes <[EMAIL PROTECTED]> wrote: > > Try this: > > $this->MyModel->recursive = 1; > $this->paginate('MyModel', $conditions); Hi Chris, It's working now, I can sort another model that bind to it also :) Thanks ! Feris > > -- > Chris Hartjes > Senior Developer > Cake Developm

Re: access check not working for index page

2007-08-22 Thread rtanz
any help?? --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more op

Re: $_SERVER['HTTTP_REFERERR'] or $_SERVER['PHP_SELF'] in CAKE ?

2007-08-22 Thread Larry E. Masters aka PhpNut
http://api.cakephp.org/class_controller.html#e87c8e6edf53aadc511e3d050d71a494 -- /** * @author Larry E. Masters * @var string $userName * @param string $realName * @returns string aka PhpNut * @access public */ On 8/22/07, xephex <[EMAIL PROTECTED]> wrote: > > > On 22 Aug., 12:42, "[EMAIL PROT

Re: $_SERVER['HTTTP_REFERERR'] or $_SERVER['PHP_SELF'] in CAKE ?

2007-08-22 Thread AD7six
On Aug 22, 12:42 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > In PHP i use $_SERVER['HTTTP_REFERERR'] Look up the controller method referer hth, AD --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake

Re: How do I write ´fieldA´ = ´fieldB´ in a condition using an array and not a string?

2007-08-22 Thread AD7six
On Aug 22, 2:34 pm, xephex <[EMAIL PROTECTED]> wrote: > Hi all, > > I got a ModelA that hasOne ModelB. > They aren't suppost like > ModelB.foreignKey = ModelA.id > as I need > ModelB.foreignkey = ModelA.otherField > > I tried > class ModelA { > var $hasOne = array('ModelB'=>array('conditions' =>

calling $this->validate in a controller fails

2007-08-22 Thread dmorris
Hi all. Cake is producing a fatal error when I call the validate function. I believe I am doing it correctly, but wanted to double check as I am still fairly new to Cake. My (overly simplified) model looks like this class Content extends AppModel { var $name = 'Content'; var $us

Re: Pagination question

2007-08-22 Thread Chris Hartjes
On 8/22/07, Feris Thia <[EMAIL PROTECTED]> wrote: > > Hi All, > > Sorry for repost... but I do really need to know this and if somebody > may help me. > > I have a model which has several belongsTo and hasMany relationships, > then I try to do a pagination with the model itself and it functions >

hasOne Association should force only one register to be related?

2007-08-22 Thread Chus
Hello, i'm new both to php and cake, so please excuse me if this is another obvious noob question. I was trying to understand how associations work by building up the example in the manual section of cakephp.org, i was able to build it up using bake with no much effort. The thing is, i have a us

Pagination question

2007-08-22 Thread Feris Thia
Hi All, Sorry for repost... but I do really need to know this and if somebody may help me. I have a model which has several belongsTo and hasMany relationships, then I try to do a pagination with the model itself and it functions without any problem. But then.. when I add recursive options in o

Why does requireAuth get a new token for each request?

2007-08-22 Thread Rob Yates
I have been digging into using the requireAuth method of the security component and it's current implementation will, I believe, cause us problems, although I am new to cake so please go easy on me if I haven't understood it properly. One of the things that is confusing me and I believe will caus

Re: Auth in 1.2 - I'm not getting it...

2007-08-22 Thread Chris Hartjes
On 8/22/07, Benjamin Wohlwend <[EMAIL PROTECTED]> wrote: > > So, how could I setup this scheme with Auth? Any ideas? > I suggest you start with these links: http://lemoncake.wordpress.com/2007/07/19/using-authcomponent-and-acl-in-cakephp-12/ http://www.littlehart.net/atthekeyboard/2007/07/28/two

Re: How to get cache working?

2007-08-22 Thread Chris Hartjes
On 8/22/07, sentel <[EMAIL PROTECTED]> wrote: > How can I check if caching is working or how to get it to work? > Performance has nog improved so I think caching is not working now. > > please help, tnx! > > ps. I use 1.2.0.5427alpha I suggest checking out these articles on the bakery: http://ba

getLastInsertId() as a filename

2007-08-22 Thread [EMAIL PROTECTED]
To use this method : getLastInsertId(); i must first save my photo in the database so how can i use last inserted id as a filename for my photo like this last_inserted_id.jpg ? Please help Stachu --~--~-~--~~~---~--~~ You received this message because you are s

access check not working for index page

2007-08-22 Thread rtanz
$Route->connect('/admin', array('controller' => 'Pages', 'action' => 'display', 'admin')); i have an access check in my appcontroller that stops non admin users from viewing admin actions however this doesnt work with the admin index page above, how should i do this? --~--~-~--~~

Re: function problem

2007-08-22 Thread Chris Hartjes
On 8/22/07, rtanz <[EMAIL PROTECTED]> wrote: > > hi i have this function to call the parent before filter according to > what action is executing, however this is not working and all actions > in my userscontroller are in fact calling this beforefilter. what is > the problem with my code? thanks >

Fetch data after click on submit button

2007-08-22 Thread sujata
$this->data['Campaign'] i am fetching data using this statement in controller but it does not contain any value Campaign is my model name so how can i fetch value from template after click on submit --~--~-~--~~~---~--~~ You received this message because you are s

update table with text box values..

2007-08-22 Thread bhushan A
can u help me ? how to get values from text box to use them in model or controller --~--~-~--~~~---~--~~ 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.c

Auth in 1.2 - I'm not getting it...

2007-08-22 Thread Benjamin Wohlwend
Hi, I'm in the conceptual phase of a new website, and I decided to use CakePHP 1.2 for it. I never used CakePHP before, but have some experience with web frameworks and PHP. To get into CakePHP I thought it would be best to start with user authentication and authorization. I read pretty much eve

How do I write ´fieldA´ = ´fieldB´ in a condition using an array and not a string?

2007-08-22 Thread xephex
Hi all, I got a ModelA that hasOne ModelB. They aren't suppost like ModelB.foreignKey = ModelA.id as I need ModelB.foreignkey = ModelA.otherField I tried class ModelA { var $hasOne = array('ModelB'=>array('conditions' => 'ModelB.foreignKey = ModelA.otherField')); } This doesn't work because Cake

Re: $_SERVER['HTTTP_REFERERR'] or $_SERVER['PHP_SELF'] in CAKE ?

2007-08-22 Thread xephex
On 22 Aug., 12:42, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > I have two controllers : slideshows and slides. One slideshow can have > many slides. > > I'm editing my slideshow that have for example 9 slides : > > (photoslideshows/edit/1). > > Near each slide i have action from other control

Re: rigth usage of vendor

2007-08-22 Thread korcs
Hi Grant, thanks for your reply. > My solution was the following function, which I put in my app/config/ > bootstrap.php and use instead of the normal vendor function. > > // this function is similar to the normal vendor() function, but also > adds the vendor folder I added the funct

function problem

2007-08-22 Thread rtanz
hi i have this function to call the parent before filter according to what action is executing, however this is not working and all actions in my userscontroller are in fact calling this beforefilter. what is the problem with my code? thanks function beforeFilter() { //$my

Re: trying first scaffold with notes

2007-08-22 Thread Grant Cox
What do you mean by "I have alias set up for this as D:/wamp/www/cake/ amp/" ? If you use an apache alias you need to modify your .htaccess files with a RewriteBase, and you may need to modify your app/webroot/ index.php. Search this list for details. On Aug 22, 12:38 pm, jvandal <[EMAIL PROTEC

Re: Notice: Undefined variable: transactions

2007-08-22 Thread Grant Cox
Don't put a $ in the set call. $this->set('transactions', $this->Transaction->findAll(array('user_id' => $userId))); On Aug 22, 9:01 pm, nirmal <[EMAIL PROTECTED]> wrote: > Hi, > > I am getting error on web page: > > Notice: Undefined variable: transactions in /home/codewalla/work/ > decktrade/

Re: rigth usage of vendor

2007-08-22 Thread Grant Cox
I ran into the same problem, and would like to hear if there is an elegant solution. My solution was the following function, which I put in my app/config/ bootstrap.php and use instead of the normal vendor function. // this function is similar to the normal vendor() function, but also a

Re: Url rewrite (absolute url) problem

2007-08-22 Thread Grant Cox
Move the phpmyadmin folder into app/webroot On Aug 22, 7:43 pm, ernesto <[EMAIL PROTECTED]> wrote: > hello, > > Whel i a new at the phpck. I have installed phpcake and i am using > phpmyadmin for managing the database. > I have set on the url rewriting method in the ini files. But at that > mom

Re: getting an SQL error with this code

2007-08-22 Thread rtanz
ok got it tnx On Aug 22, 12:43 pm, rtanz <[EMAIL PROTECTED]> wrote: > im afraid i didnt understand the problem, can you explain more? thnx --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post t

Model for a personal message system with multiple receivers?

2007-08-22 Thread burzum
I'm trying since some days to write a personal message system for my project but i fail at the point where i have to make sure that a message can be send to more then one receiver. I don't get my models and associations correctly set. That's my table structure: Message: id, subject, msgtext... Me

Model for a personal message system with multiple receivers?

2007-08-22 Thread burzum
I'm trying since some days to write a personal message system for my project but i fail at the point where i have to make sure that a message can be send to more then one receiver. I don't get my models and associations correctly set. That's my table structure: Message: id, subject, msgtext... Me

Re: getting an SQL error with this code

2007-08-22 Thread rtanz
im afraid i didnt understand the problem, can you explain more? thnx --~--~-~--~~~---~--~~ 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 fr

rigth usage of vendor

2007-08-22 Thread korcs
Hi Bakers, I am trying to include a third paryt application to my cakephp app, but it seems not working. The 3rd Party app has one entry file, let's say the file name is start.php. (The start.php includes a lot of other files from the application libraries and finally generates some output). I

Url rewrite (absolute url) problem

2007-08-22 Thread ernesto
hello, Whel i a new at the phpck. I have installed phpcake and i am using phpmyadmin for managing the database. I have set on the url rewriting method in the ini files. But at that moment i cant acces the phpmyadmin by using http://url/phpmyadmin. i have tried to use redirecting but that is als

Notice: Undefined variable: transactions

2007-08-22 Thread nirmal
Hi, I am getting error on web page: Notice: Undefined variable: transactions in /home/codewalla/work/ decktrade/src/webapp/www/app/views/users/transaction.thtml on line 28 Warning: Invalid argument supplied for foreach() in /home/codewalla/ work/decktrade/src/webapp/www/app/views/users/transact

$_SERVER['HTTTP_REFERERR'] or $_SERVER['PHP_SELF'] in CAKE ?

2007-08-22 Thread [EMAIL PROTECTED]
I have two controllers : slideshows and slides. One slideshow can have many slides. I'm editing my slideshow that have for example 9 slides : (photoslideshows/edit/1). Near each slide i have action from other controller : slides/delete/id so i can delete each photo from this slideshow. $html->

Re: database resultset without modelname

2007-08-22 Thread Charlie van de Kerkhof
Thnx AD & Simon! generateList is a good one but I couldn't get it working. The Set::extract($res, '{n}.Artist.artist_id') worked like a charm! So I will use that. Thnx again! - Charlie --~--~-~--~~~---~--~~ You received this message because you are subscribed to t

How to get cache working?

2007-08-22 Thread sentel
Hi, I would like to use caching for my site to reduce the loading time. The manual explained a bit, but I'm not sure it works. In app/config/core.php I've set CACHE_CHECK to true and all my controllers have the Cache helper enabled (is this really necessary?). I've checked if app/tmp and subs ar

Re: database resultset without modelname

2007-08-22 Thread [EMAIL PROTECTED]
Charlie, You could either use generateList instead of the findAll, or you could use an afterFind, or a controller function to call Set::extract('{n}.Artist.artist_id'). Check out the api / source for the Set class in 1.2 to see lots of handy array manipulation tools. Simon --~--~-~--~-

Re: database resultset without modelname

2007-08-22 Thread AD7six
On Aug 22, 11:24 am, Charlie van de Kerkhof <[EMAIL PROTECTED]> wrote: > Mybe in Cake 1.2 there is a function to get this result? > Array > ( > [0] => 4 > [1] => 17 > [2] => 23 > [3] => 28 > ) generatetList. Specify a constraint if necessary and whichever field you want in the

database resultset without modelname

2007-08-22 Thread Charlie van de Kerkhof
Hi, Is it possible to have the resultset from a findAll() without the modelname? Or even better, when I want 1 field just a column? Now I get this: Array ( [0] => Array ( [Artist] => Array ( [artist_id] => 4 ) )

Re: integrate third party ajax library

2007-08-22 Thread pbkyriak
Hi, I am the author of ajax_linked_selectboxes. I think what you are trying to do (make sc_ajax_handler.php a cake controler) is nice :) The code you show in your last post looks good. The question is do you get any javascript error messages? The second box is completely empty? not "None" option

Re: Error validation message

2007-08-22 Thread iritty
corrected, it was due to one date field validation On Aug 21, 4:24 pm, iritty <[EMAIL PROTECTED]> wrote: > Hi, > I have a user registration page. cake error validation for form fields > given working correctly on local machine. but not on the server. no > msg is shown. i am using cake 1.1. > pls