Re: display by categories from bootstrap

2012-11-08 Thread Chris
opps,... db blogs, field categories getting numbers from bootstrap on categories select: On Thursday, November 8, 2012 5:00:41 PM UTC-8, Chris wrote: > > hi cricket, thank you for your response,... ok this is what I have > now,... > in bootstrap: > Configure::write('Blog.blog_category'

Re: display by categories from bootstrap

2012-11-08 Thread Chris
hi cricket, thank you for your response,... ok this is what I have now,... in bootstrap: Configure::write('Blog.blog_category', array('select categry', 'realestate', 'autos', 'appliances', 'antique')); which gives me categories in a url: my_site.com/blogs/category/autos and the blogs db I h

Re: form password default value

2012-11-08 Thread euromark
and if possible use an alias for your form field "password" like "pwd" as well as some kind of "pwd_repeat" field to confirm the password (since you cant see it very often it is mistyped rendering the registration invalid then by accident): http://www.dereuromark.de/2011/08/25/working-with-passw

Re: form password default value

2012-11-08 Thread lowpass
See here: http://lecterror.com/articles/view/cakephp-password-hash-issue On Thu, Nov 8, 2012 at 4:26 PM, and wrote: > Hi all, > I have a form for registration and i have some rules that the field must > respect.If i insert the wrong email format,for example,the form says that it > is incorrect.T

Re: display by categories from bootstrap

2012-11-08 Thread lowpass
I don't understand quite what you're trying to do (what is array_search for?) but there's a typo: 'select categry' Instead of hard-coding your categories, why not just get them from the DB? You can always write the list to cache and update it whenever the categories change. On Thu, Nov 8, 2012 at

form password default value

2012-11-08 Thread and
Hi all, I have a form for registration and i have some rules that the field must respect.If i insert the wrong email format,for example,the form says that it is incorrect.The thing that happen is that the password field is filled with md5 password.I have the following view: Please fill out the

display by categories from bootstrap

2012-11-08 Thread Chris
hi guys,... I have a problem of displaying blogs by categories,... can someone help me please,... I'm in cake 1.3 have a categories setup in db from bootstrap: Configure::write('Blog.blog_category', array('select categry', 'realestate', 'autos', 'appliances', 'antique')); // etc,... I wan

Re: Problem with "cake i18n extract"

2012-11-08 Thread AD7six
Looks like you have a file named Model/User.php - which doesn't contain a class named User AD On Tuesday, 6 November 2012 11:44:32 UTC+1, Tommaso wrote: > > Hello, > > I'm trying to use the "cake i18n extract" shell in cakephp 2.2.2 and > 2.2.3 but I've got a problem. > > After answered the q

Re: Place a verification file http://example.com/verificationfile.html

2012-11-08 Thread Justus Kersey
Yep, thats worked. Thank You! On Thursday, November 8, 2012 9:12:49 AM UTC-8, Alex Bovey wrote: > > Just put it in the app/webroot folder > > On Thu, Nov 8, 2012 at 1:34 AM, Justus Kersey > > > wrote: > >> To verify my website on pinterest, I need to place an html file in my >> root. >> >> This

Re: Place a verification file http://example.com/verificationfile.html

2012-11-08 Thread Alex Bovey
Just put it in the app/webroot folder On Thu, Nov 8, 2012 at 1:34 AM, Justus Kersey wrote: > To verify my website on pinterest, I need to place an html file in my root. > > This is the message I keep getting: > > *Your server responded with a status code of 404 (file not found). We > tried to vis

Re: Order by field containing aggregate function result (MIN)

2012-11-08 Thread Ivan Rimac
try like this $this->paginate = array( 'conditions' => array('Game.time !=' => NULL, 'Game.visible' => 1, 'Game.end_time !=' => NULL, 'Game.moves !=' => NULL), 'group' => array('Game.uid'), 'order' => array('Game.time' => 'DESC'), 'limit' => 3

Re: New CakePHP Queue Plugin, Comments welcome

2012-11-08 Thread Panutat Khunachak
the plugin has been working awesome.. but sometimes randomly my task will get a job and connection to database via models will fail and i get 2006: MySQL server has gone away anyone else experience this and have a fix/workaround? thanks! On Tuesday, June 9, 2009 8:27:56 AM UTC-4, David Persso

Place a verification file http://example.com/verificationfile.html

2012-11-08 Thread Justus Kersey
To verify my website on pinterest, I need to place an html file in my root. This is the message I keep getting: *Your server responded with a status code of 404 (file not found). We tried to visit the file at http://wallshops.com/pinterest-.html.* Where should I place the file, and what do

Order by field containing aggregate function result (MIN)

2012-11-08 Thread Ivan Švaljek
Hi, I'm having trouble with sorting during pagination. I'm trying to list users with lowest solvetime, but order key in paginate method doesn't seem to like order field if it's a result of aggregate function like MIN(). This is my action: public function index() { $this->paginate =

How to place a verification file >>>> http://wallshops.com/verify.html

2012-11-08 Thread Justus Kersey
To verify my website on pinterest, I need to place an html file in my root. This is the message I keep getting: *Your server responded with a status code of 404 (file not found). We tried to visit the file at http://wallshops.com/pinterest-.html.* Where should I place the file, and what do

Software Development Lead Opportunity in Atlanta!

2012-11-08 Thread Liz Czuper
Our client is looking for a *Software Development Lead *who has a passion for architecting and building great software. Our client has exciting, hard problems to solve and need a proven leader to help us to do. Applicants should have the background of managing small development teams, comp

Re: Acl::check() the $action parameter and the default vals , what does that mean?

2012-11-08 Thread alaxos
Some explanation here: http://stackoverflow.com/questions/9063617/cakephp-acl-action-mode-vs-crud-mode Le jeudi 8 novembre 2012 03:41:53 UTC+1, polutan polution at all a écrit : > > anybody? Please help me > > > 2012/11/5 polutan polution at all > > >> Hello folks :) >> I don't understand what

Re: Installing an existing site locally on MAMP

2012-11-08 Thread euromark
did you restart MAMP? the help offered by Michael Connors is complete and correct. if you follow it you should be fine Am Donnerstag, 8. November 2012 11:24:24 UTC+1 schrieb Neil Berrow: > > When I added http://bundle.local it kept going to my root folder > /applications/mamp/htdocs, I have oth

Re: Installing an existing site locally on MAMP

2012-11-08 Thread Neil Berrow
When I added http://bundle.local it kept going to my root folder /applications/mamp/htdocs, I have other sites set there. Do you think pick somewhere else on my machine? Thanks for your help! On Thursday, November 8, 2012 11:36:16 AM UTC+2, euromark wrote: > > why are you then still trying t

Re: Installing an existing site locally on MAMP

2012-11-08 Thread euromark
why are you then still trying to access it via localhost? the url would then be `http://bundle.local/` - which then would correctly call the webroot index.php and dispatch accordingly Am Donnerstag, 8. November 2012 07:19:44 UTC+1 schrieb Neil Berrow: > > I've gotten this far (see image), here'

Re: Can share common functions across different tables?

2012-11-08 Thread euromark
yes, in your app controller so if you dont want your global AppController to be that generic, use a plugin and its plugin AppController. this way you will get what you want without effecting the rest of the site. plugin Webservice for example with WebserviceAppController (having add/edit/... ac

Re: Example with ajax

2012-11-08 Thread kani
www.cakephp.4uk.pluse this helper very easy On Tuesday, November 6, 2012 1:39:32 AM UTC+8, Marco.Segura wrote: > > Hey, someone can help me with a simple example with ajax in cakephp > -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP ---