Re: David Persson Media Plugin - Batch Image Upload

2011-11-10 Thread BenJsno
Whithout flash, you can use jQuery fileuploader plugin : http://pixelcone.com/tutorial/ajax-file-upload-using-jquery-and-cakephp-media-plugin/ On 9 nov, 07:28, Shinya Koizumi sh.koiz...@gmail.com wrote: I wouldn't use flash ( I just can't ignore iOS ) , but I would use this

Re: Multilingual Projects and Jquery

2011-11-10 Thread AD7six
On Nov 9, 7:32 pm, Miles J mileswjohn...@gmail.com wrote: No there isn't really. This is also a problem for any language, and unless you have back-end parsed JS files it's not possible. The only solution is so place a JS literal object in your page source containing the message strings:

Help using paginator

2011-11-10 Thread Jean Luis Morillo
Hello Im getting this error message when trying to paginate. Warning (512): Controller::paginate() - can't find model equipos in controller EquiposController [CORE\cake\libs\controller \controller.php, line 1104] This is the function in the controller (line with arrow) function

Re: CakePhp related domain

2011-11-10 Thread Sandy Wilkins
I investigated beforehand and this is fair use of a trademark. I'm not trying to impersonate or cause confusion among CakePHP users by making a CakePHP tutorial site... the word CakePHP is used nominatively. If this were true, then many sites that contain trademarked names would have to be

How to use tinymce plugin?

2011-11-10 Thread ahmed fakher
I have tried many times to use this plugin and I failed. I am following documentation, but it does not work for me. I am posting the simple code here, to know what wrong I am doing. 1-I put this plugin in this folder app/plugins 2- I add TinyMce helper to articles_controller ?php class

2.0 Cheat Sheet pdf

2011-11-10 Thread amykhar
The 1.2 cheat sheet is a thing of beauty. I have it printed out poster size, framed and hanging on my wall at work. Is there any plan to create one for 2.0? If not, does anybody have the 1.2 one in word format? I would be willing to do the work to update it and convert it to pdf for others.

Re: CakePhp related domain

2011-11-10 Thread Sandy
I thoroughly researched this beforehand and this falls under fair use for trademarks as it is used nominatively and does not cause confusion. If not, alot of similar websites would also have to be shutdown (Google photoshop tutorials, excel tutorials or similar to see a great list of websites

User profile tutorial

2011-11-10 Thread centralizeme
Hi everyone. I was looking for something so I figured out I might ask here : I'm new to cakephp (frameworks in general), and I'm looking for a tutorial describing how to create user profile (with perosnal url, like mysite.com/profiles/user01 ). Thanks ofr any help. -- Our newest site for the

Re: Help using paginator

2011-11-10 Thread euromark
two questions: a)why are you using both find(all) and paginate? b) why do you use lowercase model name in paginate()? On 9 Nov., 14:21, Jean Luis Morillo jeanluis.mori...@gmail.com wrote: Hello Im getting this error message when trying to paginate. Warning (512): Controller::paginate() -

Re: Problem Auth Component | CakePHP 2.0.2

2011-11-10 Thread WebbedIT
i changed the form fields to username and password. could it be possible that may not use usr and pwd? It does not explicitly state this in the 2.0 documentation, but 'username' and 'password' have always been the default auth fields. This is inferred by the fact the param keys are called

Re: Need a little help with HABTM joins

2011-11-10 Thread WebbedIT
nothing happens. users cannot de-associate Articles and Pieces So within your article/edit action what find calls are you making to fetch the article and all pieces (related or not)? Paul. -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new

Re: Help: how to use cakephp for subdomains

2011-11-10 Thread WebbedIT
* lays down his shield and breathes a sigh of relief * :) -- 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,

Re: Get controllers name and action to javascript without passing as variable in cake PHP

2011-11-10 Thread WebbedIT
personally I use body id=?php echo $this-name = class=?php echo $this-action Nice, gives controller and/or action style context to the layout. *stars thread* -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site

Auth component and admin routing confusion

2011-11-10 Thread driss
Hi I worked a lot with the auth component and the routing but I'm still confused whether the 2 complement or there's ways to work with everyone alone. Here's my case and the problem I always get when working with the 2 together: I use the auth component and let's say I want to create the

namespaces in Rss-Helper in Cakephp2

2011-11-10 Thread Benni Graf
Hi there! I'm having a hard time using namespaces in a cake2-created feed. I'm trying to create an iTunes-compatible podcast-feed which requires the itunes:-namespace. Digging around the RssHelper-code I actually came to the conclusion that it's either a cakephp-bug or simply not yet implemented

Re: 2.0 Cheat Sheet pdf

2011-11-10 Thread Yves S. Garret
What is this cheat sheet? Where can I get one? Is there one for 1.3? On Wed, Nov 9, 2011 at 12:07 PM, amykhar amyk...@gmail.com wrote: The 1.2 cheat sheet is a thing of beauty. I have it printed out poster size, framed and hanging on my wall at work. Is there any plan to create one for

Re: 2.0 Cheat Sheet pdf

2011-11-10 Thread Benni Graf
http://lmgtfy.com/?q=cakephp+cheatsheet :-) -- 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

User registration

2011-11-10 Thread centralizeme
I'm new to cake php, so I would have liked to know where I could get a tutorial to create a user registration page for my website. Thanks a lot. -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org

Re: 2.0 Cheat Sheet pdf

2011-11-10 Thread Yves S. Garret
Yup, it's right here. http://cakephp.org/files/Resources/CakePHP-1.2-Cheatsheet.pdf Where is the one for 1.3 and 2.0? amykhar, you're better off using the old one as a template and building on top of that for 2.0 On Thu, Nov 10, 2011 at 9:41 AM, Benni Graf bennig...@gmail.com wrote:

Paginator Links, need urgent help

2011-11-10 Thread heohni
Hi, I really don't get it sorted out... my degault sort direction is ASC in my view I have this: ?php $sortDir = $paginator-sortDir(); $text = ($sortDir == 'asc')?__('getting higher', true):__('getting lower', true); ? ?php echo

Fixtures or anything outside the database

2011-11-10 Thread Thiago Belem
I have this element where I display a list of testmonials and now i'm just creating them on the HTML, there's no data source. I want to use something like *fixtures* to separate this data from the view, but I don't want to use a new table for it, since I will not perfor filters or anything where

Re: 2.0 Cheat Sheet pdf

2011-11-10 Thread Justin Edwards
That is very cool. If someone makes a personal one for 2.0, I would be interested. On Thu, Nov 10, 2011 at 9:06 AM, Yves S. Garret yoursurrogate...@gmail.comwrote: Yup, it's right here. http://cakephp.org/files/Resources/CakePHP-1.2-Cheatsheet.pdf Where is the one for 1.3 and 2.0?

Re: Fixtures or anything outside the database

2011-11-10 Thread 100rk
One solution would be ArraySource from plugin https://github.com/cakephp/datasources - app/Config/bootstrap.php: CakePlugin::load('Datasources'); - app/Config/database.php: class DATABASE_CONFIG { public $array = array('datasource' = 'Datasources.ArraySource'); ... } -

Re: Fixtures or anything outside the database

2011-11-10 Thread 100rk
Beauty of ArraySource is - conventional usage of model (although limited a bit) - fields, order, limit, associations... https://github.com/cakephp/datasources/blob/2.0/Test/Case/Model/Datasource/ArraySourceTest.php -- Our newest site for the community: CakePHP Video Tutorials

Re: User registration

2011-11-10 Thread Justin Edwards
http://book.cakephp.org/view/1261/login http://book.cakephp.org/2.0/en/core-libraries/components/authentication.html?highlight=register On Thu, Nov 10, 2011 at 9:04 AM, centralizeme cen.tralize...@gmail.comwrote: I'm new to cake php, so I would have liked to know where I could get a

Re: Paginator Links, need urgent help

2011-11-10 Thread Andras Kende
You might want to add $options['direction'] as: ?php echo $this-Paginator-sort($text, 'OBJ_PREIS', array('direction' = 'desc'));? Andras Kende http//www.kende.com On Nov 10, 2011, at 9:23 AM, heohni wrote: Hi, I really don't get it sorted out... my degault sort direction is ASC in

Re: How to use tinymce plugin?

2011-11-10 Thread andrewperk
I also had trouble using tinymce. I then tried yui's rich text editor and ran into a lot of styling issues and conflicts. Finally I found ckeditor: http://ckeditor.com/. It works flawlessly for me and is very easy to integrate, like 4 steps total. 1. Just download and put the ckeditor folder

Re: CSS not displaying Form elements correctly

2011-11-10 Thread Yves S. Garret
I've done some reading around about CSS and how it could be applied. This is my view: http://bin.cakephp.org/view/1233273546 This is the CSS file: http://bin.cakephp.org/view/1264404759 On line 360 in the CSS file, I'm trying to create a border around the links that I'm creating on line 19 in my

Scheduled day for 2.0.3 release?

2011-11-10 Thread Chris Cinelli
We have some bug fix that are on HEAD that we are interested about. I was wondering when the 2.0.3 will be available. Best, Chris -- 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

Re: Group Based ACL

2011-11-10 Thread sixthpoint
I have went through that entire tutorial. I think the issue is coming from when I have changed the user model and controller to account as the name. http://api20.cakephp.org/class/auth-component $this-Auth-authenticate = array( 'Form' = array( 'userModel' = 'Users.User'

Re: CSS not displaying Form elements correctly

2011-11-10 Thread Jeremy Burns | Class Outfit
Without trawling through all of your css, I can tell you that you are setting the class in the second parameter of the link function when it should be in the first. Try changing line 19 to: • echo $this-Html-link( • $letter, • array( •

Re: CSS not displaying Form elements correctly

2011-11-10 Thread Jeremy Burns | Class Outfit
Typo. I meant third of course, not first. Jeremy Burns Class Outfit http://www.classoutfit.com On 10 Nov 2011, at 19:43, Jeremy Burns | Class Outfit wrote: Without trawling through all of your css, I can tell you that you are setting the class in the second parameter of the link function

Re: Group Based ACL

2011-11-10 Thread Thiago Belem
Here's the ticket on this Issue: http://cakephp.lighthouseapp.com/projects/42648/tickets/2207-authcomponentsessionkey-property-cannot-be-changed The only workaround is extending the authcomponent and doing your own thing. Sad but true. -- ***Thiago Belem* Desenvolvedor Rio de Janeiro - RJ -

Re: CSS not displaying Form elements correctly

2011-11-10 Thread Yves S. Garret
Cool, thanks. It looks kinda messed up at the moment, but that needs some massaging. On Thu, Nov 10, 2011 at 2:44 PM, Jeremy Burns | Class Outfit jeremybu...@classoutfit.com wrote: Typo. I meant third of course, not first. Jeremy Burns Class Outfit http://www.classoutfit.com On 10 Nov

Re: Multilingual Projects and Jquery

2011-11-10 Thread Miles J
If you were using MooTools, you could also just use the Locale library. http://mootools.net/docs/more/Locale/Locale Really wish people would use Moo more over jQuery. jQuery is a designs framework. On Nov 10, 1:40 am, AD7six andydawso...@gmail.com wrote: On Nov 9, 7:32 pm, Miles J

Re: Multilingual Projects and Jquery

2011-11-10 Thread Thiago Belem
I've nothing against MooTools, but why jQuery is a design framework? -- ***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*,

Re: Scheduled day for 2.0.3 release?

2011-11-10 Thread euromark
use the head :) thats what I do. the only real difference is the naming^^ nothing fancy after all On 10 Nov., 20:07, Chris Cinelli chris.cine...@formativelearning.com wrote: We have some bug fix that are on HEAD that we are interested about. I was wondering when the 2.0.3 will be available.

Re: User profile tutorial

2011-11-10 Thread Sam Sherlock
Connect a route from /profiles/:slug to controller: Users action: View use a sluggable behavior if you follow tutorials available at book.cakephp.org you'll a few tutorials to get you going. You may also benefit from seeing the CakeDC plugins on github Users for example allows Account holders

Re: Themed assets not loading on production server

2011-11-10 Thread Corie
Update: Layouts and other View files will load properly from the Themed folder. It's only assets like css and js that don't load. So it must have something to do with the dispatcher? PHP 5.2.17 is on dev server and 5.2.14 on production server. -Corie On Nov 9, 9:42 am, Corie

Re: Themed assets not loading on production server

2011-11-10 Thread Corie
Fixed! Theme folder names must always be CamelCased. The reason it worked on development server is because of case insensitivity. That always gets me. -Corie On Nov 10, 8:41 pm, Corie corie.sl...@gmail.com wrote: Update: Layouts and other View files will load properly from the Themed

Re: Themed assets not loading on production server

2011-11-10 Thread Andras Kende
Something similar happened for me before with a plugin missing it css and js, finally tracked it down to a conflicting rewrite / cache settings for static files in nginx ... Andras Kende On Nov 10, 2011, at 7:41 PM, Corie wrote: Update: Layouts and other View files will load properly

RE: 2.0 Cheat Sheet pdf

2011-11-10 Thread Kervin L. Pierre
This cheatsheet is great, if anyone updates it for 2.0 please post Best regards, Kervin From: cake-php@googlegroups.com [mailto:cake-php@googlegroups.com] On Behalf Of Justin Edwards Sent: Thursday, November 10, 2011 11:29 AM To: cake-php@googlegroups.com Subject: Re: 2.0 Cheat Sheet pdf

Re: Scheduled day for 2.0.3 release?

2011-11-10 Thread José Lorenzo
This weekend -- 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

Re: SEO friedly URLs

2011-11-10 Thread Andras Kende
Kevin, seo friendly urls in cakephp are very very easy… below is the basic idea to do domain.com/video/return-of-the-jedi instead of domain.com/videos/view/1 videos database table (add a slug field) id | name | slug | … 1 | Return of the Jedi | return-of-the-jedi | …. routes.php

[ASK] Ignoring 'belongsTo' inside model

2011-11-10 Thread thom
I'm playing with Model::paginate() and would like to ignore belongsTo table relationship. How could I make it? Is that possible? Thank you. -- Regards,,, thom http://mynameisthom.blogspot.com -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the

Re: Scheduled day for 2.0.3 release?

2011-11-10 Thread Serkan Sipahi
;) Von: José Lorenzo jose@gmail.com An: cake-php@googlegroups.com Gesendet: 5:02 Freitag, 11.November 2011 Betreff: Re: Scheduled day for 2.0.3 release? This weekend -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org

Re: [ASK] Ignoring 'belongsTo' inside model

2011-11-10 Thread Serkan Sipahi
hi, you can ignore ur table relationshop with $this-yourModel-unbindModel('theModelThatYouWantToIgnore'); http://book.cakephp.org/2.0/en/models/associations-linking-models-together.html?highlight=unbindmodel or you can use recursive see here

Re: [ASK] Ignoring 'belongsTo' inside model

2011-11-10 Thread Andras Kende
There are multiple way to do this.. unbindModel is a very easy, just add right before paginate code : $this-Topic-unbindModel(array('belongsTo' = array('Category'), false)); http://book.cakephp.org/view/1045/Creating-and-Destroying-Associations-on-the-Fly Andras Kende http://www.kende.com On