How to create a multiple of login with Tables Different ? #5729

2015-01-25 Thread Lucas Macedo
I'm trying to create a login system with using two different tables one for the board administrator othe apar customer and am having a problem because both logins use by default the Users table and I'm unable to change .. If they can deem a look at my code

Problemas com Component Auth

2014-01-06 Thread Lucas Rivoiro
Boa tarde, Sou iniciante em CakePHP e estou a desenvolver um sistema para eu mesmo utilizar. O meu problema começou quando eu passei o sistema para um Servidor Web, hospedado com a HostGator, em uma Hospedagem de Revenda. Quando tento logar na área administrativa no meu computador usando o

Wordpress blog archive look like in CakePHP

2013-07-31 Thread Helder Lucas
I'm building and application with cakePHP and I'm trying to achieve something like a Wordpress blog archive. Let's imagine that i have this table in my database: - Posts - id - title - body - created - modified and i want the output something like this:

Models indirect association, how to retrieve data?

2013-06-07 Thread Lucas Gabriel
How's it going? I have a problem with cakePHP, I'm new to it and struggling with it. Let me pour onto you guys my situation: I'm developing a system for a University here in Brazil. In this sytem I've got the following models: - Country; - State; - City; - University; - Unit; - Class; Ok.

Webhooks and EventSystem

2013-03-12 Thread Lucas Simon Rodrigues Magalhaes
Has anyone done an application built in CakePHP and EventSystem to consume webhooks ? My problem it's I don't know how to start it. There are a example app that can show me? -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP --- You

Re: Webhooks and EventSystem

2013-03-12 Thread Lucas Simon Rodrigues Magalhaes
, 12 de março de 2013 17h15min12s UTC-3, Lucas Simon Rodrigues Magalhaes escreveu: Has anyone done an application built in CakePHP and EventSystem to consume webhooks ? My problem it's I don't know how to start it. There are a example app that can show me? -- Like Us on FaceBook https

How I get the index value using Hash::extract() on this array

2012-12-05 Thread Lucas Simon Rodrigues Magalhaes
Array( [168] = Array ( [check] = 0 ) [169] = Array ( [check] = 1 ) [170] = Array ( [check] = 1 ) [171] = Array ( [check] = 1 ) [172] = Array ( [check] = 0 ) ); I try it, $a =

Re: How I get the index value using Hash::extract() on this array

2012-12-05 Thread Lucas Simon Rodrigues Magalhaes
: This should do it: $keys = array_keys(Hash::remove('{n}[check=0]')); On Wed, Dec 5, 2012 at 11:50 AM, Lucas Simon Rodrigues Magalhaes luca...@gmail.com javascript: wrote: Array( [168] = Array ( [check] = 0 ) [169] = Array ( [check] = 1

[Run TEST] Erro: Call to undefined method PHPUnit_Framework_AssertionFailedError::getComparisonFailure()

2012-11-24 Thread Lucas Simon Rodrigues Magalhaes
Fatal Error *Erro: * Call to undefined method PHPUnit_Framework_AssertionFailedError::getComparisonFailure() *File: */home/lucas/public_html/eventos-backend/lib/Cake/TestSuite/Reporter/CakeHtmlReporter.php *Line: * 252 Whats wrong? -- Like Us on FaceBook https://www.facebook.com

Error to load a third Libs

2012-10-16 Thread Lucas Simon Rodrigues Magalhaes
($content); $pdf-Output('test.pdf'); } catch(HTML2PDF_exception $e){ die($e); } The error: Fatal Error*Error: * Class 'HTML2PDF' not found *Line: * 196 *Notice: * If you want to customize this error message, create app\View\Errors\fatal_error.ctp My folder: Lucas Simon@LUCAS-PC app/Lib/html2pdf

Re: Error to load a third Libs

2012-10-16 Thread Lucas Simon Rodrigues Magalhaes
I am using cake2.2 Em terça-feira, 16 de outubro de 2012 11h50min46s UTC-3, MaJerle.Eu escreveu: your file is .class ??..and tell us which cake u use -- Lep pozdrav, Tilen Majerle http://majerle.eu 2012/10/16 Lucas Simon Rodrigues Magalhaes luca...@gmail.comjavascript: Hiii, good

Re: loadModel

2012-08-29 Thread Lucas Simon Rodrigues Magalhaes
change this variable $game = $this-Game-find('all'); to $games = = $this-Game-find('all'); in IndexsController . Em quarta-feira, 29 de agosto de 2012 05h08min00s UTC-3, Nareh Tarasyan escreveu: Hi people. I'm a beginner in CakePHP. And I need help. I try to use loadModel. I

Re: loadModel

2012-08-29 Thread Lucas Simon Rodrigues Magalhaes
And ... $this-set(compact('games')); Em quarta-feira, 29 de agosto de 2012 08h40min58s UTC-3, Lucas Simon Rodrigues Magalhaes escreveu: change this variable $game = $this-Game-find('all'); to $games = = $this-Game-find('all'); in IndexsController . Em quarta-feira, 29 de agosto de

How can I put my $id in $this-redirect

2012-08-24 Thread Lucas Simon Rodrigues Magalhaes
I doing it: $this-redirect(array('controller'='customers','action' = 'view',$id)); but do not work. Invalid customer *Error: * The requested address *'cadastros/admin/customers/view'* was not found on this server. -- You received this message because you are subscribed to the Google Groups

Re: How can I put my $id in $this-redirect

2012-08-24 Thread Lucas Simon Rodrigues Magalhaes
($this-referer()); 2012/8/24 Lucas Simon Rodrigues Magalhaes luca...@gmail.com javascript: I doing it: $this-redirect(array('controller'='customers','action' = 'view',$id)); but do not work. Invalid customer *Error: * The requested address *'cadastros/admin/customers/view

Re: How can I put my $id in $this-redirect

2012-08-24 Thread Lucas Simon Rodrigues Magalhaes
1. //$id = $this-request-data['ProductDetail']['customer_id']; 2. forget this line comment $id = $this-request-data['ProductDetail']['customer_id']; Em sexta-feira, 24 de agosto de 2012 15h01min02s UTC-3, Lucas Simon Rodrigues Magalhaes escreveu: After add the product detail, I

Re: How can I put my $id in $this-redirect

2012-08-24 Thread Lucas Simon Rodrigues Magalhaes
Uhuhuuulll Thnx dude!!! Em sexta-feira, 24 de agosto de 2012 15h11min35s UTC-3, ivnrmc escreveu: OR $this-redirect('/customers/view/'.$id); :-) 2012/8/24 Lucas Simon Rodrigues Magalhaes luca...@gmail.com javascript: 1. //$id = $this-request-data['ProductDetail']['customer_id

Re: Error to save in database

2012-08-13 Thread Lucas Simon Rodrigues Magalhaes
of User model. And so registerValidate is being sent directly to the database as a query. Is this model in a plugin? What is the file name? What does the first line have? eg. class User extends Appmodel { On Fri, Aug 10, 2012 at 4:29 PM, Lucas Simon Rodrigues Magalhaes luca...@gmail.com

Re: Error to save in database

2012-08-13 Thread Lucas Simon Rodrigues Magalhaes
I don't understand it. I define the correct names of Model Files and the cake don't recognize the model User? How? Em segunda-feira, 13 de agosto de 2012 09h41min39s UTC-3, Lucas Simon Rodrigues Magalhaes escreveu: I have a model User.php in plugin, look my gist[1] [1] https

Re: Error to save in database

2012-08-13 Thread Lucas Simon Rodrigues Magalhaes
escreveu: On Monday, August 13, 2012 8:54:04 PM UTC+7, Lucas Simon Rodrigues Magalhaes wrote: I don't understand it. I define the correct names of Model Files and the cake don't recognize the model User? How? you might need to tell AuthComponent which userModel to use. Typically, you'll

Error to save in database

2012-08-10 Thread Lucas Simon Rodrigues Magalhaes
hii guys!!! I have a error[1] in any save data of my actions in my UserController. The error is in my function to validate[2] a add[3] user [1] http://pastebin.com/M3hSWD9k [2] http://pastebin.com/9Wg1Aujm [3] http://pastebin.com/rZctnxFX -- You received this message because you are

How to use ClassRegistry::getObject('view') in cake 2.2?

2012-07-10 Thread Lucas Simon Rodrigues Magalhaes
I'm using this, $view = ClassRegistry::getObject('view'); in my Helper but does not work. I imported App::uses('ClassRegistry', 'Utility'); but nothing ... and my debug( $view = ClassRegistry::getObject('view')); always return false -- Our newest site for the community: CakePHP Video

[OT] How to use Sphinx docs?

2012-07-06 Thread Lucas Simon Rodrigues Magalhaes
hello, Somebody already used the Sphinx for generating documentation of their systems in cakePHP? like a book.cakephp.org? -- 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

Re: AuthComponent, set userScope in appController

2012-07-04 Thread Lucas Simon Rodrigues Magalhaes
Thaks. Solved Em terça-feira, 3 de julho de 2012 18h32min58s UTC-3, cricket escreveu: On Tue, Jul 3, 2012 at 8:31 AM, Lucas Simon Rodrigues Magalhaes lucass...@gmail.com wrote: The error appear in this line: 'scope' = array('User.status' = Configure::read('User.ACTIVE

Re: AuthComponent, set userScope in appController

2012-07-03 Thread Lucas Simon Rodrigues Magalhaes
this in AppController: public function beforeFilter() { parent::beforeFilter(); $this-Auth-userScope = Configure::read('User.ACTIVE'); } -- Lep pozdrav, Tilen Majerle http://majerle.eu 2012/7/2 Lucas Simon Rodrigues Magalhaes lucass...@gmail.com Hello, I have a little problem in my auth

AuthComponent, set userScope in appController

2012-07-02 Thread Lucas Simon Rodrigues Magalhaes
Hello, I have a little problem in my auth component in cakePHP 2.2. I set in my bootstrap.php [1] many CONSTANTS, example,Configure::write('User.ACTIVE', 'A'); and I wanna to use this constant in my auth component, but when I used Configure::read('User.ACTIVE'), the cakePHP show-me an

Which the preview to release the version CakePHP 2.2?

2012-06-26 Thread Lucas Simon Rodrigues Magalhaes
Hello there! I have a system in CakePHP 1.2.7, and I wanna migrate to the new version. So I prefer waiting the new release, than migrate to CakePHP 2.1 -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site

Re: Which the preview to release the version CakePHP 2.2?

2012-06-26 Thread Lucas Simon Rodrigues Magalhaes
and the 2.2 stable? Em terça-feira, 26 de junho de 2012 12h17min41s UTC-3, Justin Edwards escreveu: https://github.com/cakephp/cakephp/tree/2.2 https://github.com/cakephp/cakephp/zipball/2.2 On Tue, Jun 26, 2012 at 8:58 AM, Lucas Simon Rodrigues Magalhaes lucass...@gmail.com wrote

Re: Which the preview to release the version CakePHP 2.2?

2012-06-26 Thread Lucas Simon Rodrigues Magalhaes
://cakephp.lighthouseapp.com/projects/42648-cakephp/milestones/139707-220 It is very stable. It's technically in beta, but that doesn't mean much. On Tue, Jun 26, 2012 at 10:24 AM, Lucas Simon Rodrigues Magalhaes lucass...@gmail.com wrote: and the 2.2 stable? Em terça-feira, 26 de junho de 2012

Re: How to do a REST WS?

2012-06-22 Thread Lucas Simon Rodrigues Magalhaes
2012 10:14:42 UTC+1, Борислав Събев wrote: Hi, Lucas. Firstly if you're developing a REST service it's best to use Cake 2.x and higher - you can just use the latest stable version. The new Cake version has a lot of improvements which will come in handy when you're doing a REST service.Then

How to do a REST WS?

2012-06-21 Thread Lucas Simon Rodrigues Magalhaes
Hello I need to build an application in Webservice to return data for a particular billing. I thought about using REST to provide data json / xml instead of nusoap, but I'm sure how to do it. First I'm using cakePHP version 1.3, and following the cake book [1]. According to according to the

Re: MeioUpload 4.0 and CakePHP 2.1

2012-05-27 Thread Lucas Elias
Use type: Example: ?php echo $this-Form-create('Users', *array('type' = 'file')* );? Em quinta-feira, 29 de março de 2012 01h22min03s UTC-3, Thiago Silva escreveu: Hello, I'm trying to use MeioUpload 4.0 with CakePHP 2.1, but I'm getting this error: Warning (2): finfo_file(A):

Re: Wich command use in cakePHP 2.X similar to Dispatcher::baseUrl()?

2011-12-19 Thread Lucas Simon Rodrigues Magalhaes
Thks @José Lorenzo It works. And i tested also ?php $this-here ? On 18 dez, 22:04, Lucas Simon Rodrigues Magalhaes lucass...@gmail.com wrote: i don't find in cake book http://stackoverflow.com/questions/8555607/wich-command-use-in-cakeph... -- Our newest site for the community: CakePHP Video

Wich command use in cakePHP 2.X similar to Dispatcher::baseUrl()?

2011-12-18 Thread Lucas Simon Rodrigues Magalhaes
i don't find in cake book http://stackoverflow.com/questions/8555607/wich-command-use-in-cakephp-2-x-similar-to-dispatcherbaseurl -- 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

CakePHP 2.0.2 Auth

2011-11-24 Thread Lucas Amiune
Hi, everyone. I'm new on cake and i decided to start from de 2.0.2. And I'm kind of stuck in how users can login in my app. This are my Auth files: AppController class AppController extends Controller { public $components = array( 'Session', 'Auth'=array(

How to download multiples files with cake?

2011-11-18 Thread Lucas Simon Rodrigues Magalhaes
Hii, I have a doubt, how to download multiples files with cake. I have in my directory webroot/files, four files. form1.pdf,form2.pdf,form3.pdf,form4.pdf In my view i have this code: h1Formulários/h1 ?php echo $this-Form- create('Formulario',array('target'='_blank'));? ?php echo

Re: Which is the better IDE for cakePHP?

2011-09-30 Thread Lucas Simon Rodrigues Magalhaes
I like, and used the Komodo-edit free. look this and setup the configure the cakephp: http://community.activestate.com/faq/how-setup-and-use-cakephp-komodo other option, is eclipse-ide On 24 ago, 23:33, sue lassie...@gmail.com wrote: Hi all...i'm really new in cakephp...so,could somebody

Re: set paginator last page as default?

2011-04-20 Thread lucas
Hi Jeremy, the data can´t be ordered beacuse it´s a business account data (extracted from a database view) and i need to show it by created date with all the debts, payments and the actual balance (is because of the balance that i can´t let the user to specify some kind of order). Lucas. On 19

set paginator last page as default?

2011-04-18 Thread lucas
Hi people, is it possible to set as default the last page of the paginated data from the controller? Is there an option available to do this? thanks in advance! -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site

Re: set paginator last page as default?

2011-04-18 Thread lucas
Majerlehttp://majerle.eu 2011/4/18 Jeremy Burns | Class Outfit jeremybu...@classoutfit.com Sort the data in reverse order? Jeremy Burns Class Outfit jeremybu...@classoutfit.com http://www.classoutfit.com On 18 Apr 2011, at 20:32, lucas wrote: Hi people, is it possible to set

Re: set paginator last page as default?

2011-04-18 Thread lucas
to the last page. whatever that last page's number is. That is the way Controller::paginate works in 1.3 On Mon, Apr 18, 2011 at 3:42 PM, lucas chizovo...@gmail.com wrote: I can´t do that because the data can´t be ordered. I need it in that way... On 18 abr, 16:37, Tilen Majerle

Re: Find Output Thoughts (why the not remove ['ModelName'])

2010-03-25 Thread Lucas Costa
the following in your controller: $data = $this-Article-read(null, $id); $article = $data['Article']; $this-set(compact(article, data)); and access $article['name'] etc. in your view. On Mar 24, 7:52 pm, Lucas Costa lucasrco...@gmail.com wrote: Hi. I've been working with Cake for a while

Find Output Thoughts (why the not remove ['ModelName'])

2010-03-24 Thread Lucas Costa
Hi. I've been working with Cake for a while and something always comes up to my mind when writing a view, which I'll share: We all know how Cake spits a simple find('first'), right: Array ( [ModelName] = Array ( [id] = 83 [field1] = value1 )

Cakephp Job in Cordoba, Argentina

2010-03-08 Thread Lucas Caro
Hi all, Triple Smart (http://www.triplesmart.com) is looking for CakePHP programmers for freelance projects or a full/part-time jpb in Córdoba, Argentina. The workplace would be our offices near ciudad universitaria, and you should also have experience with XHTML/CSS and jQuery, and be open to

Different logic and view for each group

2010-02-25 Thread Lucas Lobosque
Lets say that in an application we have two groups: buyers and sellers. (In an ACL setup like the cookbook example tutorial). When the seller add a product, he can see all comments posted by potential buyers and add images thru the product url (/product/28) When the seller gives his product url to

Re: Error after adding database.php file to project (happening on Windows and Ubuntu)

2010-01-30 Thread Lucas Loss
Iglesias cakephpi...@gmail.comwrote: Hi El 21/01/2010, a las 23:44, Lucas Loss escribió: 4. Then I've renamed the file database.php.default to database.php; 5. Back to the browser I reloaded the page and noticed a new sentence: I miss a step between these. Have you configured your

Error after adding database.php file to project (happening on Windows and Ubuntu)

2010-01-21 Thread Lucas Loss
the same steps on his machine (Ubuntu) and didn't get this error. So I installed Ubuntu and after having everything ready to start studying cakephp, I got the same problem! Any ideas on how to solve this? Cheers Lucas Loss Check out the new CakePHP Questions site http://cakeqs.org and help others

Error after adding database.php file to project (happening on Windows and Linux - Ubuntu)

2010-01-21 Thread Lucas Loss
of mine tried the same steps on his machine (Ubuntu) and didn't get this error. So I installed Ubuntu and after having everything ready to start studying cakephp, I got the same problem! Any ideas on how to solve this? Cheers Lucas Loss Check out the new CakePHP Questions site http://cakeqs.org

Sanitize::clean on AfterFind on AppModel

2009-10-23 Thread Lucas Costa
Hello fellows, what do you think about putting an Sanitize::clean on the AfterFind of every Model? Wouldn't that ensure same security and a lot less code? What would be the down side? Regards... --~--~-~--~~~---~--~~ You received this message because you are

Re: Need advice/tips for sending mass emails with CakePHP

2009-07-31 Thread Lucas Costa
Hi, I've been researching a bit with the same pupose but teknoid in the IRC channel tipped me that unless I was building a complete mass mailing solution and all the stuff that comes with it, it would be better to hire an existing service. Then I said what would stuff be and here is his

Re: SecurityComponent::requireAuth : when?

2009-07-28 Thread Lucas Costa
without setting it. Regards On Jul 27, 4:13 pm, Jaydeep Dave jaydipd...@gmail.com wrote: Hi Lucas, I think it blocks the page using http authentication method (similar to .htpasswd) On Mon, Jul 27, 2009 at 10:34 AM, Lucas Costa lucasrco...@gmail.com wrote: Hello fellows, I think there's a lack

SecurityComponent::requireAuth : when?

2009-07-27 Thread Lucas Costa
. Lucas Costa --~--~-~--~~~---~--~~ 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+unsubscr

HABTM saving duplicates

2009-06-12 Thread Lucas Prim
Hi all! I was starting to work with some HABTM relations and I've found the following problem: Whenever I try to save the relationship between the models I'm using (subject,teacher) more than one time, cake creates duplicate entries into the subjects_teachers table. I've created an unike key so

Re: Create in not resetting my model

2009-05-20 Thread lucas
//- I have also seen suggestions for: $this-Parametername-create( $this-data['Parametername'] ); $this-Parametername-save(); // i already change that! thanks! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

Create in not resetting my model

2009-05-19 Thread lucas
Hi, in my edit method, sometimes i need to update my fields and sometimes i need to add new ones. I´m trying to use $this-myModel- create() to reset the fields when i need to insert a new row, but nothing happens, i always get the last ID updated... so the foreach is updating the last row updated

Re: Create in not resetting my model

2009-05-19 Thread lucas
solved! i don´t know if this is the best way, but assign false to the ID worked: $this-data['Parametername']['ParameternameID'] = false; this is suppose that the create function do this, but it doesn´t for some reason that i´m not able to see.

Re: Add created field to HABTM join tables

2009-05-13 Thread Lucas Velasco
Hi Brendon, Same problem even after modifying the datetime field to Allow Null and default to Null. Any ideas? Thanks. Lucas On May 8, 1:57 am, Brendon Kozlowski brendon...@hotmail.com wrote: The `created` field must (1)be a datetime field, (2)NULL must be allowed, (3)and default to NULL

Problems with hidden input on submit

2009-05-07 Thread lucas
Hi, i have this problem that is killing me slowly jeje, in my view a have about 14 or 15 hidden inputs cause i need them in the edit action. But when i submit the page, one of them is not submitted and the rest are submitted fine. I checked the html code and looks fine, so the hidden input is not

Re: Problems with hidden input on submit

2009-05-07 Thread lucas
this are the fragments: -view: ?php echo $form-hidden('collparamIDS',array('value'= $paramTestcollparameterID));? -edit action: $this-set('paramTestcollparameterID', $parameterTestcollparamID); -html code: input type=hidden name=data[Test][collparamIDS] value=553,554,555,556

Re: Using javascritp variables in cakephp

2009-03-19 Thread lucas
Brian, you were right! I thought that when you call a php code inside a javascript code, it will create a data stream to the server and execute that part of the php code there... wrong! i wrote inside the append function the html code that i wanted as you tell me and that worked fine!!! thanks

Using javascritp variables in cakephp

2009-03-18 Thread lucas
Hi people! i´m generating some input fileds dinamically with jquery... to generate the input fields i am using this code: $ (#newFormField).append('?php echo $form-input('',array ('label'='Nombre'));?'); the problem is that i need to generate the name and the id of the input using some jquery

Re: Using javascritp variables in cakephp

2009-03-18 Thread lucas
Hi Brian, thanks for your answer. The matter here is that i can generate the elements dinamically but i´m not able to generate their names dinamically, all the new input fields generated has the same name and same ID... so, i want to to concatenate in the name of the input field a variable number

Re: Data validation doesn't work

2009-01-03 Thread Lucas
Hi gearvOsh, Unfortunately nothing happens again :( I tryed with both options (required = true and notEmpty rule) and nothing happens. More tips? Thanks! On 29 dez 2008, 23:24, gearvOsh mileswjohn...@gmail.com wrote: You either need to have: required = true Or use the notEmpty rule.

Re: Data validation doesn't work

2009-01-03 Thread Lucas
Hi gearvOsh, Unfortunately nothing happens again :( I tryed with both options (required = true and notEmpty rule) and nothing happens. More tips? Thanks! On 29 dez 2008, 23:24, gearvOsh mileswjohn...@gmail.com wrote: You either need to have: required = true Or use the notEmpty rule.

Data validation doesn't work

2008-12-29 Thread Lucas
Hi guys, I'm trying to use data validation on my model but I don't find where is my error. When I leave a form field empty, nothing happens (no message erros). But when fill all fields, all data is saved to database. Any skilled guy could help me? Below are some pieces of my code. If you need

Re: how to set the root folder

2008-07-17 Thread Lucas Caro
try with: Configure::write('App.base', ''); inside config/core.php good luck. On Jul 16, 8:49 am, Adam Royle [EMAIL PROTECTED] wrote: There should be a .htaccess file in the level above your app folder which uses mod_rewrite to forward the request app/webroot/index.php So if your folder

Re: saveField

2007-12-12 Thread Lucas Ferreira
= $pagina['Pagina']['hits'] + 1; echo 'Atualizar hits para: ' . $hits; $this-Pagina-saveField('hits',$hits); } -- Lucas Ferreira Burn web.studio: http://www.burnweb.com.br/ Pessoal: http://www.lucasferreira.com

Re: Cake e IIS

2007-09-26 Thread Lucas Ferreira
. -- Lucas Ferreira Burn web.studio: http://www.burnweb.com.br/ Pessoal: http://www.lucasferreira.com/ --~--~-~--~~~---~--~~ Recebeu esta mensagem porque está inscrito em Grupo Cake PHP Português do Grupos Google. Para

Re: Erro de acentuação ao cadastrar no bano

2007-08-27 Thread Lucas Ferreira
: [EMAIL PROTECTED] Fone: (92) 3088-6750 Celular: (92) 9117-3879 -- Geovane Lopes da Silva MSN: [EMAIL PROTECTED] Fone: (92) 3088-6750 Celular: (92) 9117-3879 -- Lucas Ferreira Burn web.studio: http://www.burnweb.com.br

Re: Envio de email

2007-08-25 Thread Lucas Ferreira
- Empreendendo o Futuro www.infojr.ufba.br -- Lucas Ferreira Burn web.studio: http://www.burnweb.com.br/ Pessoal: http://www.lucasferreira.com/ --~--~-~--~~~---~--~~ Recebeu esta mensagem porque está inscrito em Grupo

Re: Cálculo campo form javascript

2007-08-24 Thread Lucas Ferreira
: Caso não queira usar o ID você pode buscar o nome do campo mesmo. neste exemplo ficaria: data[Itemcusto][valorTotal] Você pode fazer isso facilmente vendo o código fonte gerado pelo seu código também abraços, Marcio Trindade On 22 ago, 21:41, Lucas Ferreira [EMAIL

Cakephp and PostgreSQL

2007-08-23 Thread michael lucas
Hi, I'm using cakephp with mysql right now, which is really simple also due to mysql describe function that tell cakephp how my tables look. I know that PostgreSQL lack describe function. So when I change my dbms to PostgreSQL will it mean that I have to specify in some cakephp configuration

Re: Cálculo campo form javascript

2007-08-22 Thread Lucas Ferreira
('Itemcusto/valorTotal', array('size'='20', 'onKeyUp'='moeda(this,15)'))?brbr Qual o nome do campo? Grato, -- Geovane Lopes da Silva MSN: [EMAIL PROTECTED] Fone: (92) 3088-6750 Celular: (92) 9117-3879 -- Lucas Ferreira Burn web.studio: http

Re: Duvida com update

2007-08-22 Thread Lucas Ferreira
update, mas como faco para ele setar 0 no campo ativo da tabela? agradeco qualquer ajuda! -- Lucas Ferreira Burn web.studio: http://www.burnweb.com.br/ Pessoal: http://www.lucasferreira.com

Paginator template in cakephp 1.2

2007-08-19 Thread michael lucas
Hi, I was wondering if there was a simple way to set your own style to standard paginator element that appears on each page (i mean the line Previous | 1 | 2 | 3 | Next). Can this be done by creating some template file and applying it to paginator element? Or do I have to modify paginator class

?= doesn't work as it should

2007-08-17 Thread michael lucas
I'm pretty sure this problem is related to some basic setting, but I couldn't solve it myself. A lot examples of valid cakephp templates code use this kind of php openning tag: ?=. I belive it works the same way like ?php echo, but it's a lot more friendly. Unfortunately, ?= doesn't work at my