Re: i18n extract - not generating pot files

2012-10-01 Thread bberg
here's my shell ouput MachineName:app username$ ./Console/cake i18n extract -v --validation-domain validation Welcome to CakePHP v2.0.4 Console --- App : app Path: /Users/username/Sites/project/app/ -

i18n extract - not generating pot files

2012-10-01 Thread bberg
Hi, I've used the i18n shell before (with cake 1.3) and it worked for me. Now on 2.0.4 and 2.0.6 it just won't generate the pot files. No error messages, no strange logs, nothing. Any ideas? Thanks ps. also posted this question at http://ask.cakephp.org/questions/view/i18n_extract_not_generating_p

Re: Paginating an associated model

2012-07-04 Thread bberg
although each *product* shows data for *category*, cake makes only 1 db request for the whole page upon *paginate*(). so i wouldn't worry about it. -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.or

Re: parent/child navigation best practices

2010-02-15 Thread bberg
good idea, to create a method that just sets the conditions and then send them to the index. it does save some coding. thanks On Feb 14, 7:18 am, WebbedIT wrote: > There aren't any hard and fast rules to be followed, but I generally > try and index/view records within the controller they are fr

parent/child navigation best practices

2010-02-13 Thread bberg
hi, what would be the best approach when creating a navigation system beetwen parent/child relationships? consider this: * Post have many Comment * we list all posts at /posts/index * we list _all_ comments at /comments/index * where do we list comments that belongs _only_ for Post.id=# ? current

Re: delete post AND unlink image

2009-07-29 Thread bberg
how silly of me. thanks. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubsc

Re: delete post AND unlink image

2009-07-29 Thread bberg
thanks for the reply. thought of that. but i'm having a hard time retrieving the $image var. here's what i'm trying to figure out, but it doesn't work: [code] if ($this->Model->del($id)) { $image = $this->Model->read('image', $id); if(unlink($image)) { //s

delete post AND unlink image

2009-07-28 Thread bberg
hi i have a "posts" table with an image field. it stores just the filename as a varchar of course. how can i adapt the "delete" action so it also unlinks the image? thanks --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Grou

Re: strange 404

2009-03-25 Thread bberg
have u tried deleting cache files from tmp dir? had some weird issues once because of that. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.

Re: l10n not working on production server

2009-03-24 Thread bberg
figured it out... http://blog.devayd.com/2008/05/error-the-requested-address-was-not-found-on-this-server/ --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-ph

l10n not working on production server

2009-03-06 Thread bberg
hi, i've set up the l10n class with success on my local server. i can make __('string') read the app/locale/eng/LC_MESSAGES/default.po file based on $_SESSION['Config']['language'] but it is not working on the production server. i've read somewhere that there is a problem with 64bit servers. tr

Re: What do you develop in (ide, text editor, etc.)?

2009-03-04 Thread bberg
same here. have u tried safari (beta4) web inspector (under the "develop" menu)? sweet. On Mar 2, 8:18 pm, "supp...@savant.be" wrote: > even though I still do > preview in Safari and Firefox (with Firebug!) --~--~-~--~~~---~--~~ You received this message because

Re: What do you develop in (ide, text editor, etc.)?

2009-03-02 Thread bberg
Coda. From www.panic.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubsc