Re: afterFind : possible to get query type?

2011-08-22 Thread acl68
I am using Cake 1.2. . I put $this->findQueryType as debug output at the begin of the the afterFind method and it showed me only "null" before I did anything in the method. Anja Am Montag, 22. August 2011, um 16:59:09 schrieb Teddy Zeenny: > As Thomas said, $this->findQueryType should definite

Cake 1.2: Containable problem with model alias

2011-05-14 Thread acl68
Hello everybody, I try to use a containable search in a CakePHP legacy project using Cake 1.2. I have often uses containable, but never togeterh with aliases. So no idea if that might be the poblem ore something else. The model relations are as follows: Group__ hasMany Members alias

Re: Server trouble

2011-04-25 Thread acl68
Hi Labe, if you have the default cake configuration you might not have to adapt anything with the .htaccess file. But some ftp clients don't transfer the hidden files. So check if they are on your server. Anja Am Montag, 25. April 2011, um 05:20:16 schrieb Labe Einhorn: > Thanks for respondin

Re: Server trouble

2011-04-24 Thread acl68
Hi Labe, set in the file /config/core.php the debug value to at least 1 better 3, so you might get some output. Are you sure the path to your cake folder is set correctly? It might be that you have to use an absolute path here. Please check if you copied all .htaccess files when moving them to

Re: You favorite IDE/ Dev Setup?

2011-04-24 Thread acl68
kubuntu 10.4 Eclipse PDT Apache/MySql Anja Am Mittwoch, 30. März 2011, um 21:49:47 schrieb Chris: > How do you develop for CakePHP? OS, Editor, control system, etc.? > Ubuntu 10.10 > Geany > GIT > Apache/MySql > Bunch of Shell scripts -- Our newest site for the community: CakePHP Video Tutoria

Re: Validation for a complex form

2011-04-24 Thread acl68
Hi Milos, can you post the validation rules for this checkboxes and radio buttons? Anja Am Sonntag, 24. April 2011, um 10:41:55 schrieb Miloš Vučinić: > Hi, > > I have a form which has many select boxes as well as many radio > groups. The problem I'm having is that when I validate the data

Re: Pagination hasMAny

2011-04-24 Thread acl68
Ho Domink, maybe this link can help you: http://stackoverflow.com/questions/1694047/cakephp-pagination-with-conditions- on-has-many On the first glance it looks like somebody has the same problem. Anja Am Samstag, 23. April 2011, um 23:47:26 schrieb Dominik Gajewski: > Hi. > I have problem wi

URL-based language switching for i18n and l10n

2011-04-23 Thread acl68
Hello, I try to setup a multilanguge site with CakePHP and followed this tutorial. http://nuts-and-bolts-of-cakephp.com/2008/11/28/cakephp-url-based-language- switching-for-i18n-and-l10n-internationalization-and-localization/ I use Cake 1.3 and it doesn't work. I guess it might crash with other

State of teh art way to SEo urls

2011-04-07 Thread acl68
Hello, I am looking for a way to have SEO urls. At the moment my urls look like this: http://www.zigarrenlounge.eu/addresses/view/99 I would like to have something like this http://www.zigarrenlounge.eu/addresses/view/restaurnt-elisenbrunnen so instead of the id I would have the display name (m

Re: use alternative view folder?

2011-03-01 Thread acl68
Why do you need this version2? I think it isn't possible what you ask, but if you explain a bit more detailed, what you want to achieve, there might be another solution. Who should see version2 in which case? Anja Am Dienstag, 1. März 2011, um 10:01:35 schrieb K3: > Hi, > > if i add another

Re: Admin Route or Admin Password

2011-02-26 Thread acl68
: > Thanks a lot, > > I tryed this video tutorial > http://tv.cakephp.org/video/jasonwydro/2011/01/29/cakephp_1_3_auth_authenti > cation_component_tutorial_-_administrator_login This System runs also under > 1.3.7. But the login doesn't work > > On 26 Feb., 20:08

Re: Admin Route or Admin Password

2011-02-26 Thread acl68
Hi Marcus, you have no password automatically set. Cake is a framework an not an WCMS. You can code a user authenitication and autheticated users can be allowed to use the admin methods, but when you start you have no values, no passwords, no login. Have a look here: http://www.webdevelopment2

Re: Lost in Testing: Fixtures / testAction

2011-02-26 Thread acl68
r any hints! Anja Am Samstag, 26. Februar 2011, um 00:19:31 schrieb Ryan Schmidt: > On Feb 25, 2011, at 07:06, acl68 wrote: > > Also: does anybody know what happened to the link in "4.7.6.3 Pitfalls" > > http://book.cakephp.org/#!/view/1213/Pitfalls in the cookbook? The Link

Re: Search function

2011-02-25 Thread acl68
Hi Sandwich, I did something simliar like you want to do with the checkboxes with a drop- down list. I didn't use the searchable-behaviour-for-cakephp but used AJAX instead. On top of my search from ctp I includ a JavaScript file: In my search form I have my dropdown: echo $this->Form->input('

Lost in Testing: Fixtures / testAction

2011-02-25 Thread acl68
Hi everybody, I am using Cake 1.3. and am just doing my first steps with testing ever. I had a look at http://book.cakephp.org/#!/view/1210/Testing-controllers and worked through Marks Tutorial http://mark-story.com/posts/view/testing-cakephp-controllers-the-hard-way Since I am completely new

Re: Please help me decide - cakePHP for my project

2011-02-15 Thread acl68
Hi Panupat, with some of your questions I can help you, siee below. Am Dienstag, 15. Februar 2011, um 07:51:09 schrieb Panupat: > > - Authenticate against Windows Active Directory. > > When log in, I will use php-ldap to do simple bind. Upon success, user > ldap search to get memberOf attribu

Re: Moving servers

2011-02-13 Thread acl68
Thanks in advance for any help Anja Am Sonntag, 13. Februar 2011, um 22:03:14 schrieb Adam Harness: > I am moving a cake built website to another server. All pages in the > cake app directory are not found when attempting to open in the > browser. > > Any insight would be helpful and greatly a

Re: CSS Pagination Indicator

2011-02-03 Thread acl68
Hi hill, which encoding do you use? I suggest utf8 and you are done! have a look in your default ctp: Do you use header("Content-Type: text/html; charset=utf-8"); Anja Am Donnerstag, 3. Februar 2011, um 17:31:59 schrieb hill180: > In the CSS is have: > th a.asc:after { > content: ' ⇣

Re: Login Form not working for noob

2011-02-03 Thread acl68
Hi Goluhaque, Login can be a bit complicated. Do you user the authetication component? Which version of cake do you use? have you already checked out this pages? http://tv.cakephp.org/video/jasonwydro/2011/01/29/cakephp_1_3_auth_authentication_component_tutorial_- _administrator_login http://w

Cake 1.3 Paging with HABTM

2011-02-03 Thread acl68
Hello, I write an address organization program for my SO and myself. So I have a lot of adresses which belong to at least one user. I have problem prorgamming the search, when the user is the search criteria. Very simple: I have a HABTM connection between users and adresses. When I use 'find'

Re: Does the CakePHP ready for 'Large Scale' web applications?

2011-02-02 Thread acl68
Hi Salines, be sure to set up you application so to get the full benefit from caching. Use fat models and cache elements where possible. http://gluei.com/blog/view/cakephp-best-practices-fat-models-and-skinny- controllers http://book.cakephp.org/view/1083/Caching-Elements Anja Am Mittwoch, 2.

Re: Internationlization Doesn't Seem to Work.

2011-02-02 Thread acl68
Hi Nikola, as euromark said: the folder name should be deu not ger. Just made the same mistake some days ago. ;c) Anja Am Mittwoch, 2. Februar 2011, um 00:52:55 schrieb Salines: > Do you have other files in the app/locale/ger/LC_MESSAGES/ ?? > > On 1 velj, 01:21, andrewperk wrote: > > Hello,

Cake 1.3 Paging with HABTM

2011-02-02 Thread acl68
Hello, I write an address organization program for my SO and myself. So I have a lot of adresses which belong to at least one user. Very simple: I have a HABTM connection between users and adresses. When I use 'find' it works as it should, but I have problems when using the 'paginate' function

Problem with simple SaveAll

2010-08-27 Thread acl68
Hi folks, i do an import from xml-data and have finally succsefully extracted my data. So now I want to save its with saveAll and nothing arrives in my database (Mysql innodb) This ist what I do: model validation rules: var $validate = array( 'hotel_id' => array(

Re: CakePHP 1.3 on ubuntu: white page, no error, no application

2010-04-19 Thread acl68
cricket-5 wrote: > > > Ensure you have the following in php.ini: > > error_reporting = E_ALL > display_errors = On > > Also, are you certain that the ww vhost doesn't have its own log? > > Also, try putting the following at top of webroot/index.php > > die('well, it works this far'); > >

CakePHP 1.3 on ubuntu: white page, no error, no application

2010-04-18 Thread acl68
Hi all, I developed an application with CakePHP 1.3 on a windows XP machine and it works well. Then I transfered it via 2x ftp to my ubuntu 9.10 machine at home, where a 1.2 application is running flawless. When I enter my application folder I only see a blank page, no errors in the application e

$form->select for multiple selections

2008-09-02 Thread acl68
Hello everybody, I am using cake 1.2 and look for the proper cake syntax to give me this html result in my view: Heino Michael Jackson Tom Waits Nina Hagen Marianne Rosenberg I tried quite a lot of variations already, but nothing gives me a multiple sele

Re: $form->select for multiple selections

2008-09-02 Thread acl68
My problem was a caching problem as it seems: What works ( at the moment at least *g*) $attributes = array('size'=>3,'multiple'=> true); echo $form->select('foo.faa',$farray,null,$attributes,true); -- View this message in context: http://www.nabble.com/%24form-%3Eselect-for-multiple-selection

Migration from Version 1.1.19.6305 to 1.2

2008-05-09 Thread acl68
Hello everybody, when I started with cake some months ago Cake 1.2 was (like it is still now) an unstable pie ( black forest cream cake in the sun? *g*). So I started with version 1.1.19, but I don't use any deprecated functions. Do I have to expect trouble If I migrate to 1.2? I am asking, beca

temporary download - header trouble

2008-05-09 Thread acl68
Hello, I program a contract management software, where the contracts can be uploaded as pdf and later be viewd as a download. Since not everybody should be able to see every contract I don't want to store the pdfs in the files directory of the webroot, but in another directory not directly acces

Re: Session : Single Sign on from other application

2008-04-21 Thread acl68
Thanks Nelson for the hint. Although I need the data transfer to go the other way round maybe this will also be a source for inspiration. Anja On 18 Apr., 23:28, Nelson Cysneros <[EMAIL PROTECTED]> wrote: > have you looked at this thread? > > getting cake DB session to an external application

Re: Session : Single Sign on from other application

2008-04-21 Thread acl68
Hello, I already did that. So finally I'm not getting the error messages about sessions already started, etc. anymore. I can read the user name now from the session but not the other information stored in the non-cake-session-object. What I did now is not very elegant, but better than nothing:

Session : Single Sign on from other application

2008-04-18 Thread acl68
Hello everybody, I was programming an application with Cake and all was well ;-) Then my colleague and I had the idea to share the login procedure with the applications he is maintining, so that the login in his application and the information should be passed on to my cake application -> Single