Re: user manager system(help me)

2010-05-30 Thread Theaxiom
If you need a row-level-acl solution, you can check out the SuperAuth plugin that extends Auth and Acl for row-level-acl, the repository is located at http://www.github.com/Theaxiom/SuperAuth On May 29, 11:48 pm, John Andersen wrote: > Have a look at the CakePHP manual > at:http://book.cakephp.o

Re: ACL users permission settings

2010-05-30 Thread Theaxiom
If you need a row-level-acl solution, you can check out the SuperAuth plugin that extends Auth and Acl for row-level-acl, the repository is located at http://www.github.com/Theaxiom/SuperAuth On May 29, 11:51 pm, John Andersen wrote: > Have a look at the sample application in the CakePHP manual

Re: helper to do a sliding animation

2010-05-30 Thread Bryan Lim
jCarousel is exactly what I am looking for! Curious, any alternative to jCarousel ? On May 31, 2:14 pm, Bryan Lim wrote: > i see. Thanks guys. Will look into them !! > > On May 31, 2:01 am, calvin wrote: > > > On our site (rottenrecords.com, the "new releases" and "featured > > videos" panels o

Re: helper to do a sliding animation

2010-05-30 Thread Bryan Lim
i see. Thanks guys. Will look into them !! On May 31, 2:01 am, calvin wrote: > On our site (rottenrecords.com, the "new releases" and "featured > videos" panels on the homepage) we use the jQuery Scrollable plugin. I > made a helper for it, but it's not really necessary. > > Oh, and that WWF int

Re: 1.2.7, Application and plugin intercommunication, looking for ideas, comments, etc.

2010-05-30 Thread John Andersen
Bump! Any comments, ideas, thoughts?? Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googleg

CakeFest 2010 Website Launched

2010-05-30 Thread Graham Weldon
The website for CakeFest 2010 has just been launched. http://cakefest.org You can now signup if you are interested in attending. Tickets will be on sale soon. People interested in speaking at cakefest can submit a talk proposal via the dashboard, once you are logged in. Check out the new CakePH

Re: The page isn't redirecting properly

2010-05-30 Thread karuppu
Thank you very much for your kind reply. I'm using xamp so i have installed that script in the location htdocs/karuppu/test but when i try to load the home page i getting that error (The page isn't redirecting properly). My default controller is 'actions' and an action (method) is 'home'. That is d

another timeline helper question

2010-05-30 Thread Bryan Lim
Hi all, how do I get $data from http://bakery.cakephp.org/leafs/view/81 cakephp is complaining undefined variable data. I am new to both php and cakephp. need help! /b Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You receiv

Re: helper naming convention

2010-05-30 Thread Bryan Lim
Hi all, I used what Miles suggested. But don't work. Right now, I am using this: Class: TimeLineHelper File:timeline.php include: $helpers=array('timeline'); which is working fine. am still curious why the suggested namiing don't work ? /b On May 31, 4:46 am, Miles J wrote: > Yeah Cakes nami

HtmlHelper within Helper causes sql_dump.ctp to fail.

2010-05-30 Thread Brian Jones
Hello, I have a quirky problem which I just noticed while preparing to optimize the application my team is building. I haven't set the debug value within config/core.php to "2" in a couple weeks to look at the SQL output, and noticed today that it was completely broken. After tinkering around a

no flash messages in the login page using cake 1.3

2010-05-30 Thread dtemes
Hi All, I am testing cake 1.3 in a new application I am building and I have a weird behaviour: No flash messages are shown in the login page. I am using Auth and ACL, and the session component and helpers are already in my app_controller. Seems like a new session is created everytime the user hits

Testing controllers - no param is set

2010-05-30 Thread cronet
Hey, i try testing controllers as described by mark story (http://mark- story.com/posts/view/testing-cakephp-controllers-the-hard-way).. The Problem - i call the method with one param but the view mehtod recognize it, even it is in $this->params... In the Test: $this->Users->pa

Re: Prefix routing problem

2010-05-30 Thread cronet
no, i use the authsome component from debuggable... On 28 Mai, 10:18, Bogdan Bursuc wrote: > Do you use the Auth component ? > > > > On Fri, May 28, 2010 at 9:07 AM, cronet wrote: > > hm... > > >  i solved my problem with the following route configuration: > > > Router::connect('/aktivieren/*',

Re: Select options after validate are not displayed

2010-05-30 Thread Ziki
Yeah, it was problem in something like that. Big thanks!! Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email

Re: helper naming convention

2010-05-30 Thread Miles J
Yeah Cakes naming conventions can be confusing: Class: TimeLineHelper File: time_line.php Include: $helpers = array('TimeLine') On May 29, 8:03 pm, Steve Love wrote: > The error message gives you a subtle hint. > With a file named time_line.php, try defining it in the controller as: > var $helpe

Re: Select options after validate are not displayed

2010-05-30 Thread Ed Propsner
And you say they are not re-populating after validation? Check to be sure that your queries are not not nested in something like this: if(empty($this->data)) { // your queries here } -Ed On Sun, May 30, 2010 at 3:20 PM, Ziki wrote: > No, same controller, same action. > > On 30 svi, 21:27,

Re: Select options after validate are not displayed

2010-05-30 Thread Ziki
No, same controller, same action. On 30 svi, 21:27, Ed Propsner wrote: > Are you submitting the form to a different controller or action other than > the one where you are setting your select values? > > - Ed > > On Sun, May 30, 2010 at 2:22 PM, Ziki wrote: > > I have that problem that after val

Re: Select options after validate are not displayed

2010-05-30 Thread Ed Propsner
Are you submitting the form to a different controller or action other than the one where you are setting your select values? - Ed On Sun, May 30, 2010 at 2:22 PM, Ziki wrote: > I have that problem that after validation, when it is again diplayed > my form with error messages, there are no optio

Select options after validate are not displayed

2010-05-30 Thread Ziki
I have that problem that after validation, when it is again diplayed my form with error messages, there are no options in select fields. It is because options in select filds are variables declared and defined in controller action, so after validation thoose variables aren't declared and defined. W

Re: helper to do a sliding animation

2010-05-30 Thread calvin
On our site (rottenrecords.com, the "new releases" and "featured videos" panels on the homepage) we use the jQuery Scrollable plugin. I made a helper for it, but it's not really necessary. Oh, and that WWF interface is done in flash--that's why it's all pixelated and blurry-looking. On May 30, 4:

Re: Custom Session handler with DB issue

2010-05-30 Thread cricket
On May 29, 11:17 pm, jerikschaeffer wrote: > > Unfortunately, everytime the session starts, meaning on every > page, I'm seeing the following debug messages: > > Warning (2): mysqli_real_escape_string() [function.mysqli-real-escape- > string]: Couldn't fetch mysqli [CORE/cake/libs/model/datasour

Re: helper naming convention

2010-05-30 Thread Steve Love
The error message gives you a subtle hint. With a file named time_line.php, try defining it in the controller as: var $helpers = array('TimeLine'); Steve On May 29, 8:58 pm, Bryan Lim wrote: > Hi all, > > Can someone please tell me what did I do wrong with the naming > convention? > > I named my

DEFAULT_LANGUAGE always used in 1.3

2010-05-30 Thread Steve Love
Hi everyone. I'm upgrading an app from Cake 1.2.5 to 1.3.1. Previously (with Cake 1.2.5) we were defining DEFAULT_LANGUAGE as a fallback like so: define('DEFAULT_LANGUAGE', 'en_US'); And then allowing a switcher in the App Controller like so: $this->Session->write('Config.language', 'xx_XX'); /

Re: Release: CakePHP 1.3.1

2010-05-30 Thread Alex Seim
According to this: http://cakephp.lighthouseapp.com/projects/42648/tickets/769-unserialize-error-cakephp-131-unusable-on-windows You have to edit file.php in order to fix it (which in not desirable too) On 30 Μάϊος, 14:41, Elte Hupkes wrote: > I get the exact same unserialize errors on a project

Re: helper to do a sliding animation

2010-05-30 Thread mike karthauser
On 30 May 2010, at 12:08, Bryan Lim wrote: > I am looking for a helper to do a sliding animation. > > It is found in http://www.worldwildlife.org/ under the year of tiger > animation where you can go forward or backward accordingly. if you use > firebug, it's under div class="whatsInside" > > W

Re: custom formhelper

2010-05-30 Thread luca capra
Thank for the response. I stil have a doubt about this way of proceding dojo_form.php App::Import('Form'); class DojoFormHelper extends FormHelper { var $helpers = array('DojoHtml','Js'); } In my case, I need to fork the whole FormHelper subtituting the Html occurences with DojoHtml or

Re: Release: CakePHP 1.3.1

2010-05-30 Thread Elte Hupkes
I get the exact same unserialize errors on a project previously running fine on Cake 1.3 after updating to 1.3.1. Disabling cache makes the error go away, but that's not really desirable of course.. On 30 mei, 02:48, Sergei wrote: > Hi, > > just tried 1.3.1 with one of my project (Cake 1.3). It i

helper to do a sliding animation

2010-05-30 Thread Bryan Lim
Hi all, I am looking for a helper to do a sliding animation. It is found in http://www.worldwildlife.org/ under the year of tiger animation where you can go forward or backward accordingly. if you use firebug, it's under div class="whatsInside" What do we call this kinda of widget? Thanks! Bry

Re: custom formhelper

2010-05-30 Thread euromark
its App::Import('Helper', 'Html'); etc On 30 Mai, 02:15, luca capra wrote: > Hi all, > > Using 1.3 stable I'm trying to override some function in a custom helper > overriding a core helper (form+html) > An example: > > dojo_html.php > > App::Import('Html'); > class DojoHtmlHelper extends HtmlHel

Re: Deep associations

2010-05-30 Thread John Andersen
I suggest you take a look at the Containable behaviour in the CakePHP manual at: http://book.cakephp.org/view/1323/Containable as well as how to join models at: http://book.cakephp.org/view/1039/Associations-Linking-Models-Together#Joining-tables-1047 and last but maybe more important, how to use