ldap datasource and LdapAuth componentes
So I started porting the LdapDatasource and auth components today. So far I got hobbled together a mostly working system https://github.com/analogrithems/idbroker/tree/dev_cake2.0 but I notice that the datasource interface has changed a lot in this version. for the listSources function I see from the relational databases it looks like it returns all the names of the tables in the database. In Ldap you don't really have tables, you only have dn's which are kinda like nodes/leafs. Any recommendation for what I should return here? for the describe i'm more or less in the same boat. Should I just return the schema definition of all the objectclass at a particular point in the tree? I understand that I don't technically have to implement these but what is the consequence if I don't? If anyone has experience working on datasources in 2.0 and would find offering a little help, please let me know. -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php
Re: Tree Helper Cake 2.0
I'm looking for it too(2.0).. currently i did it manually (nested loop) and find out that it's quicker than using helpers (1.3) On Dec 29, 6:45 pm, Waterschaats wrote: > Is there already a Tree Helper for Cakephp 2.0. I need it to generate > unordered lists. > > Thanks, -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php
Re: $this->ModelName->invalidFields(); return duplicates
as far as I know cake2 returns arrays for the fields by default - especially if there are multiple rules per field. if you only want the one error, you need to use "last"=>true in your rules On 30 Dez., 00:21, Moiz wrote: > Hello there, > > Why does $this->ModelName->invalidFields(); returns the following > array? > array('field1' => array('error1', 'error1'), 'field2' => 'error2', > 'error2'); > > Is it designed to do this or I am making a mistake somewhere? > I am using cake 2.0.x > > Any help on this is greatly appreciated. > Thank you. -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php
OpenID server/provider component
Greetings! I am experimenting with OpenID as I need to use it for a single-sign-on type application. I used the wonderful OpenID component by Daniel: http://code.42dh.com/openid/ I could successfully make a OpenID consumer application. Thank you! However, I also need to have a OpenID server running to serve the single-sign-on. Why? Only a set of trusted sites are allowed to use this OpenID which is why we need our own server. Further we would be sharing some custom fields using Attribute Exchange. I would really appreciate if someone could guide me in creating a OpenID server component, or extending the existing one. I searched this forum and Internet for help but could not find. Thanks in advance! -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php
$this->ModelName->invalidFields(); return duplicates
Hello there, Why does $this->ModelName->invalidFields(); returns the following array? array('field1' => array('error1', 'error1'), 'field2' => 'error2', 'error2'); Is it designed to do this or I am making a mistake somewhere? I am using cake 2.0.x Any help on this is greatly appreciated. Thank you. -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php
Storing/editing documents and chapters
I'm workin on a website where the end-user/client will buy access to a group of documents/chapters wich will be made of lots of *text *and *code snippets*.. This content will be organized in chapters, much like http://book.cakephp.org. I know I can create this using static pages (PagesController) but I'll be happier editing the content online (and not editing files and deploying everytime), so I will need to store this "data" on the database, wich I do know how to do but I don't see this as a good solution. So, i just wanted to hear from you guys any advice about how dealing with this data... should I just store it on the database (and work with WYSIWY editor) or use some documentation/guide lib like Sphinx? Maybe a noSQL database? Regards, -- ***Thiago Belem* Desenvolvedor Rio de Janeiro - RJ - Brasil +55 (21) 8865.9250 thiagobelem.net cont...@thiagobelem.net *Skype / gTalk **»* thiago.belem.web *LinkedIn* *»* br.linkedin.com/in/thiagobelem/pt* Assando Sites*, curso de CakePHP *»* assando-sites.com.br -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php
Re: File Upload Plugins
Jon, This was exactly what I was looking for! Thanks :) Tim -- | cellphone: +18579280348 | | 123 10th Street | San Francisco | CA 94103 | On Wed, Dec 28, 2011 at 7:09 PM, Jon Price wrote: > try this: http://milesj.me/code/cakephp/uploader > I'm using his autologin component but he has other code you might look > into. > > > On Wed, Dec 28, 2011 at 9:02 PM, Timothy O'Reilly < > timothy.john.orei...@gmail.com> wrote: > >> Thanks for responding. Was just hoping someone had a cool plugin (with >> features i havent yet thought of) that would save me writing it :) >> Will do! >> Tim > > > -- > Our newest site for the community: CakePHP Video Tutorials > http://tv.cakephp.org > Check out the new CakePHP Questions site http://ask.cakephp.org and help > others with their CakePHP related questions. > > > To unsubscribe from this group, send email to > cake-php+unsubscr...@googlegroups.com For more options, visit this group > at http://groups.google.com/group/cake-php > -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php
Tree Helper Cake 2.0
Is there already a Tree Helper for Cakephp 2.0. I need it to generate unordered lists. Thanks, -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php
Re: Render a view in new window from controller?
That would be consistent with my findings for sure. tx On Dec 28, 11:02 am, euromark wrote: > this is not possible with php > > On 28 Dez., 18:26, Chris Goodman wrote: > > > > > > > > > I am in need of a way to render a view in a new window from the > > controller > > Like this fake code: $this->render('posts', target=_blank) > > > So far my search for a solution has drawn a _blank :-) > > > Has anybody found a solution for this? -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php
DebugKit Toolbar - core processing (derived)
Hi all, I've just moved a site (at the client's request) from my own VPS where it was performing very well to some cheap shared hosting (123-reg.co.uk) and surprise surprise it's pretty slow. Using the DebugKit Toolbar I'm seeing a massive performance hit in core processing (derived) on the timeline - it's taking up to 40 seconds! Any pointers for where to start looking for the cause of this? Thanks all, Alex -- Alex Bovey Web Developer | Alex Bovey Consultancy Ltd Registered in England & Wales no. 6471391 | VAT no. 934 8959 65 -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php
Re: Special Characters instead of correct Response
Additional information: This action works correct on my dev server. On 29 Dez., 15:52, Gerrit wrote: > Hello, > > when I try to open an add action then the response includes only these > chars "". There is no error message, no layout, nothing. What could > be the reason? > > Thanks! -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php
Special Characters instead of correct Response
Hello, when I try to open an add action then the response includes only these chars "". There is no error message, no layout, nothing. What could be the reason? Thanks! -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php
Problem with empty Ajax-Request-Response
Hello everybody, I've a problem with my JQuery Mobile Application. When I open my Web Root I become redirected by Auth Component to my Login-Action. When I try to request the same webroot via Ajax the response is empty. Jquery mobile therefore writes Undifined as result in my browser window. Has anybody an anser for this problem? I use Jquery Mobile 1.0 and CakePHP 2.0. It's hosted on workutil.glweb.de Thanks for your help! -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php
Re: Cake 1.3.11: Wrong singular of 'encounter_foes'
if you feel like this is a bug in cake, you can open a ticket for it: http://cakephp.lighthouseapp.com/projects/42648/tickets/ On 29 Dez., 08:57, Jeremy Burns | Class Outfit wrote: > http://book.cakephp.org/view/953/Inflections > > Jeremy Burns > Class Outfit > > http://www.classoutfit.com > > On 28 Dec 2011, at 13:06, Zaphod wrote: > > > > > > > > > Hi there, > > > I think there's a bug in 1.3.11 which converts a link of '/ > > encounter_foes' to the singular form 'encounter_fo' to get to the > > model. > > I did some research and found that line 123 of inflector.php is > > responsible: > > '/(o)es$/i' => '\1', > > > I commented it out and it worked now, but I'm not sure what for this > > line was? Truely english is not my mother tongue. > > > Have a nice day > > - Zaphod - > > > -- > > Our newest site for the community: CakePHP Video > > Tutorialshttp://tv.cakephp.org > > Check out the new CakePHP Questions sitehttp://ask.cakephp.organd help > > others with their CakePHP related questions. > > > To unsubscribe from this group, send email to > > cake-php+unsubscr...@googlegroups.com For more options, visit this group > > athttp://groups.google.com/group/cake-php -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php
Re: Error saving i18n
also i use $model->data[$model->alias]['title'] = $title; to set the title field On Dec 28, 8:39 pm, Constantin FF wrote: > absolutely the same result after adding > $model->set(array('title' => $title, 'body' => $title)); > at the end of beforeSave -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php