Re: TCPDF and Cake PHP

2008-12-02 Thread Fernando Mendonça
your url. On Dec 1, 10:34 pm, Fernando Mendonça [EMAIL PROTECTED] wrote: Hi everybody, I'm trying to generate some pdfs files with Cake PHP and TCPDF with Bakery Tutorial of this address:http://bakery.cakephp.org/articles/view/creating-pdf-files-with-cakep... I did everything like

TCPDF and Cake PHP

2008-12-01 Thread Fernando Mendonça
Hi everybody, I'm trying to generate some pdfs files with Cake PHP and TCPDF with Bakery Tutorial of this address: http://bakery.cakephp.org/articles/view/creating-pdf-files-with-cakephp-and-tcpdf I did everything like this tutorial and I wrote in one of my controller (teacher_controller.php)

Re: Date format in Grid

2008-10-15 Thread Fernando Mendonça
Anybody? On 11 out, 15:26, Fernando Mendonça [EMAIL PROTECTED] wrote: Hi again guys, I'm with another problem. I need to change dedateformatthat appears in my grid. I was reading the manual and I try to use the TimeHelper but it didn't work. Look please my view Reserve, page index.ctp

Re: Date format in Grid

2008-10-15 Thread Fernando Mendonça
Hi Writing: ?php echo $time-format($format = 'd-m-Y', $reserve['Reserve'] ['reserve_date']); ? in my index.ctp page the date in grid disappears. This line didn't work. On 15 out, 15:39, teknoid [EMAIL PROTECTED] wrote: What do you mean by didn't work? On Oct 15, 1:17 pm, Fernando Mendonça

Re: Date in another language

2008-10-11 Thread Fernando Mendonça
are defined in forms helper, on line 01658 (http://api.cakephp.org/1.2/form_8php-source.html#l01658) and it should be translated.  Have you defined translation of months in your language translation (*.po) files? br, Simonas, Fernando Mendonça wrote: Hello I'm using cakephp

Date format in Grid

2008-10-11 Thread Fernando Mendonça
Hi again guys, I'm with another problem. I need to change de date format that appears in my grid. I was reading the manual and I try to use the TimeHelper but it didn't work. Look please my view Reserve, page index.ctp: td ?php echo $time-format($format = 'd-m-Y',

Re: Date in another language

2008-10-09 Thread Fernando Mendonça
helper, on line 01658 (http://api.cakephp.org/1.2/form_8php-source.html#l01658) and it should be translated.  Have you defined translation of months in your language translation (*.po) files? br, Simonas, Fernando Mendonça wrote: Hello I'm using cakephp cake_1.2.0.7296-rc2 This version

Date in another language

2008-10-09 Thread Fernando Mendonça
Hello everybody, I'm trying to change the values of my date´s SELECT but it's not working. I need the values like January, February appears in Portuguese in to SELECT. I already put setlocale(LC_ALL, pt_BR.utf-8); in my bootstrasp.php in the application directory

Re: Date in another language

2008-10-09 Thread Fernando Mendonça
are using old version. Please try downloading newest version of CakePHP. br, Simonas. Fernando Mendonça wrote: Hello everybody, I'm trying to change the values of my date´s SELECT but it's not working. I need the values like January, February appears in Portuguese in to SELECT. I

Help a Learner

2008-09-25 Thread Fernando Mendonça
Hello everybody, I've a problem... I'm starting to learn how to use CakePHP and I'm trying to write a new Action in one of my Controllers. I need to recuperate values sent by a View and validate them. The idea is: The user makes a reserve to one Official in one Date and Time. I've to verify if