Re: Trouble with the translate function __()

2007-08-18 Thread jitka (poLK)
It is not cake issue, it is Zend problem with debug_backtrace() used so deep. Try echo $form-input('username',array('label' = __d('users', 'Username',true))); 'users' means that this translation should be searched in users.mo/po, so if you have one file with all translations named

Re: setting the base url for url language support

2007-08-18 Thread jitka (poLK)
Chowsapal is right. Just little advice for you: read test case for router, it is an excellent source for learning. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post to this group, send email

Re: A problem with paths

2007-08-18 Thread ifcanduela
C'mon guys, anyone knows what could be happening here? -Igor --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this

Re: setting the base url for url language support

2007-08-18 Thread Charlie van de Kerkhof
Thnx all. I will check the testcase. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to

php technologies

2007-08-18 Thread sapna hellogrup
i am just new in a php technologies tell me what is new in this technologies and what exactly done in this technologies --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post to this group, send

Re: How to make a good use of Elements and DRY principe ?

2007-08-18 Thread Adam Royle
Hi Gremlin, What you said is all correct, etc, however there is still the issue of creating a view and element for every ajax method, which is kinda what Christophe was getting at by wanting to call $this-renderElement() from the controller. This is also something that kinda annoyed me, however

changing view to display name field instead of id

2007-08-18 Thread rtanz
how should i change a model's view in order to display a link to another model's record name instead of the record id? given that the view's current model only stores the id of the other model and not the name, and the two models are not directly associated thanks

Re: Lots of disk activity, caching gone mad?

2007-08-18 Thread Adam Royle
Just monitor your tmp/cache directory and see which timestamps/files are changing frequently - unless you have tonnes of cache files this should be pretty straightforward (I would think). Adam On Aug 18, 1:45 am, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Sorry Luke I did read your message. My

Re: php technologies

2007-08-18 Thread rtanz
i suggest you do some reading in these sites to get up to speed on 'php technologies': www.php.net manual.cakephp.org http://en.wikipedia.org/wiki/PHP http://en.wikipedia.org/wiki/Web_application_framework hth --~--~-~--~~~---~--~~ You received this message

Re: How can I updated table using checkboxes and button

2007-08-18 Thread MicroAngelo
I'd really recommend listening to the first response you got, from Ketan Patel. Once you've submitted, in your Controller, have a look at what form the data you've been sent is in, and then prepare it as you require to send to the model to be saved. You will find people here are very happy to

does cake have anything to help create a sortable grid?

2007-08-18 Thread walterbyrd
Something like prado's TDataGrid, or qcodo's grid, or codeignitor's rapyd? I'm not even all that concerned about the ajax stuff. Just data arranged in a table, the is sortable by column by clicking the header. Edit, add, delete, and filthering would be nice. Something sort of like scaffolding,

Deployment

2007-08-18 Thread chell
Hey guys, right now I've got the following setup on my development machine: I've got xampp installed. I've put the latest nightly of 1.2 into my htdocs directory and set my path so I can use the command line. Using the command line, I created an application that now lives in my htdocs

Re: A problem with paths

2007-08-18 Thread Geoff Ford
This page works - http://www.escaparatetactil.es/demoav/index.php/regions/ So it seems that it is still trying to use mod_rewrite - make sure you did not upload the .htaccess files. Then double check your path settings in index.php - the css files etc. are not making it through the routing

Re: does cake have anything to help create a sortable grid?

2007-08-18 Thread Geoff Ford
Nope and it probably never will have it in the core. It may end up in the AjaxHelper one day if proto/scriptactulous supports it. I suggest using jQuery. There is the tablesorter plugin and also one for filtering that I can't remember the name of. Geoff -- http://lemoncake.wordpress.com On Aug

Re: How to make a good use of Elements and DRY principe ?

2007-08-18 Thread Christophe C.
Ok thanks to both of you i'll try to setup something and post the results here. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post to this group, send email to cake-php@googlegroups.com To

Re: Trouble with the translate function __()

2007-08-18 Thread Aaron Shafovaloff
Would that mean I'd have to use the .po language files in an unusual way... putting ALL of my language data into one file? That'd be a drag! On Aug 18, 2:08 am, jitka (poLK) [EMAIL PROTECTED] wrote: It is not cake issue, it is Zend problem with debug_backtrace() used so deep. Try echo

othAuth component v0.5.4.5

2007-08-18 Thread MURAT OBALI
Hi Friends, I'm a newbie about php and Cakephp. and I need some help. I want to do a web site using Cake and first of all I want to need an authorization system and I decided to use othAuth component v0.5.4.5. But I could not succeed to install it. Is there any step by step manual or could you

Re: HABTM Does not select extra table :(

2007-08-18 Thread Mech7
Do you mean i have to query the other model inside the article controller.. I tried it like this (using the category model now): function category($category_name) { $this-set('articles', $this-paginate('Category', array('name' = $category_name))); } But then it uses the fields i have set in

getFormattedList

2007-08-18 Thread [EMAIL PROTECTED]
I thought people could use this: It basically is a recursive function that can grab and get a formatted list of data from an array based on a key. For example array( [0] = array('item_id' = 323) 'item_id' = 232 ) You can grab both item_id's using getFormattedList($array,

Re: does cake have anything to help create a sortable grid?

2007-08-18 Thread Andrew McCafferty
If you want to stick with Prototype, I've used this in the past: http://www.tetlaw.id.au/view/blog/table-sorting-with-prototype/ It's really straightforward to use, just include the JS and add the relevant class to your table headers. Demo here:

Re: does cake have anything to help create a sortable grid?

2007-08-18 Thread Feris Thia
On 8/18/07, walterbyrd [EMAIL PROTECTED] wrote: Something like prado's TDataGrid, or qcodo's grid, or codeignitor's rapyd? I'm not even all that concerned about the ajax stuff. Just data arranged in a table, the is sortable by column by clicking the header. Edit, add, delete, and

Re: does cake have anything to help create a sortable grid?

2007-08-18 Thread Shunro Dozono
Hello, Something like prado's TDataGrid, or qcodo's grid, or codeignitor's rapyd? If you are using 1.1, try this: http://cakeforge.org/projects/decorate/ This is a extended bake.php. And you can modify as you like. Shun 2007/8/19, Feris Thia [EMAIL PROTECTED]: On 8/18/07, walterbyrd