On Wed, Oct 14, 2015 at 9:23 AM, Zahidur Rahman wrote:
> Hi Guys,
> How can i load a model method in view file in cakephp 3.
CakePHP is a MVC framework. So you can't do this.
Pass the model data to the view via controller.
Regards.
--
MARCELO F ANDRADE | Belem, Amazonia, Br
Hi guys, Baked Schemas has no support on Cake 3?
What are other options to do the same?
--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
---
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To unsub
> 'Internal Server Error'.
Probably your host does not allow Apache dir based configuration.
Ask your provider about it.
Regards.
--
MARCELO F ANDRADE | Belem, Amazonia, Brazil | http://marceloandrade.info
--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twi
i'm trying do that, but with no success... if someone can help me or just
say if it is possible.
class myModel extends AppModel {
public function addmodel() {
$Model= new Model();
$Model->bindModel(array(
'HasMany' => array(
'otherModel'
)
Ok...
there any way to load a helper throug a controller component?
I cant modify the original controller...
Em quarta-feira, 17 de setembro de 2014 18h24min27s UTC-3, Marcelo Aymone
escreveu:
>
> On extending a Form helper, is a good practice inject input fields
> automatic, w
On extending a Form helper, is a good practice inject input fields
automatic, with "echo" command?
and...
To automatic create some field types, like datepicker, and for example,
datepicker uses bootstrap css and js.
How insert that scripts through a helper?
'echo $this->Script' inside a helpe
Hi guys!
Is there any way to set a different .ctp file to an action, through a
component in cakephp 2.x?
--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
---
You received this message because you are subscribed to the Google Groups
"CakeP
On Fri, Apr 25, 2014 at 3:25 AM, mdv wrote:
> I have 2 models - Issue and Publication
> But cakePHP is showing Error: Table issue_publications for model
> IssuePublication was not found in datasource default
Give us more details. How these two models are related?
Regards.
MARCELO
.
Start with the CakePHP blog tutorial. After finished, write us your
next impressions and needs.
http://book.cakephp.org/2.0/en/getting-started.html
Regards.
MARCELO F ANDRADE | Belem, Amazonia, Brazil | http://about.me/mfandrade
--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find u
broot folders
Regards.
MARCELO F ANDRADE | Belem, Amazonia, Brazil | http://about.me/mfandrade
--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
---
You received this message because you are subscribed to the Google Groups
"CakePHP"
On Tue, Aug 20, 2013 at 3:23 PM, Ankur Chauhan
wrote:
> Is make desktop application in cakephp?
Years ago, I tried that using a tiny embedded webserver, Sqlite
database and an interface with Mozilla Prism.
Regards,
MARCELO F ANDRADE | Belem, Amazonia, Brazil | http://about.me/mfandr
ck if this tip can help.
http://markmcb.com/2011/11/07/replacing-ae%E2%80%9C-ae%E2%84%A2-aeoe-etc-with-utf-8-characters-in-ruby-on-rails/
Regards.
MARCELO F ANDRADE | Belem, Amazonia, Brazil | http://about.me/mfandrade
--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter ht
se directly
with something like this (assuming the standard conventions) in your
SGBD query prompt.
SELECT p.*
FROM photos p INNER JOIN albums a
ON (p.album_id=a.id)
Assuming you followed the standard conventions and just for a debugging
purpose, try to simplify your associations and redo the tests.
//
x27; => 'xx',
'database' => '/xxx/dealer.fdb',
'port'=> '3051',
'connect' => 'ibase_connect'
)
thanks in advanced.
marcelo
--
Like Us on FaceBook https://www.facebook.
hi, does you have been sucess with cakephp 1.3 and firebird?
i'm using the datasource fro github, but i'm having a notice
*Notice* (8): Undefined index: tglclient
[*APP/plugins/datasources/models/datasources/dbo/dbo_firebird.php*, line *513*]
where "tglclient" is the name of my model
so, you g
ewrite fully installed. This is also a fresh install of cakephp, right
out of the zip file. Thanks in advance!!
Check the permissions/ownership of this and related folders. Also look he
Apache logs forany tips.
Cheers.
MARCELO DE FREITAS ANDRADE
"Minha alma é major do que eu."
--
Like U
2/2012 23:59, "Chris" escreveu:
>
> the problem is solved,...
Please, share with us how did you fix it.
MARCELO DE FREITAS ANDRADE
"Minha alma é maior do que eu."
--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
-
tely exists, I have tried the tutorial twice now so must
have something wrong.
Are you sure about the CakePHP version? Double check the name of your
posts_controller or PostsController file.
If you're in doubt, try to generate this file with cake bake.
Cheers.
MARCELO DE FREITAS ANDRAD
with
JavaScript code like window.opener.print().
Cheers.
--
MARCELO F ANDRADE
Belem, Amazonia, Brazil
"I took the red pill"
--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
---
You received this message because you are subsc
x27;, array('order' => 'Group.rank'))
Always check the documented API:
http://api.cakephp.org/class/model#method-Modelfind
Regards.
--
MARCELO F ANDRADE
Belem, Amazonia, Brazil
"I took the red pill"
--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us
Boa Noite Pessoal,
Configurei o Paginator em uma página do meu site, com alguns filtros de
seleção, onde o postConditions faz o tratamento. Até aí tudo bem, o
paginator funciona normalmente, bem como os filtros.
O meu problema é quando eu mudo para outra página, apesar dos filtros
continuarem
Hello, all, i'm needing display some charts i tried:
http://bakery.cakephp.org/articles/ixu38/2010/04/30/googlechart-api-helper
show the charts but i can't configure the way i want, the line chart is
terrible
(or someone who use it successfully can show how... )
https://github.com/cjsaylor/Go
Well, in a certain way, I foresaw that answer. Thanks. The remaing
question: are they as easy to use as WP ?
Thanks again
Abraços,
MARCELO CUSTÓDIO
On Tue, Jul 3, 2012 at 5:35 PM, lowpass wrote:
> Wordpress isn't CakePHP, which can be handy if the site requires more
> than
So what are the advantages of Croogo and QuickAppsCMS over Wordpress, an
easy-to-use and very popular CMS ?
Abraços,
MARCELO CUSTÓDIO
On Tue, Jul 3, 2012 at 5:29 AM, Mohammad Naghavi wrote:
> I wanted once to start working on a MODULE that can replace the static
> pages but not mor
Thanks again !
Why not any OO DB ? Any plans for it ?
Abraços,
MARCELO CUSTÓDIO
On Mon, Jul 2, 2012 at 2:02 AM, Madhan madz wrote:
> Hi,
>
> Cakephp isn't only based on relational db. It can also support mongoDB
> which isn't relational. Search for MongoDB and cak
Hi there,
You guys have been awesome answering my questions even in the weekend!
Is CakePHP based *only* on relational databases?
If so, when they're no longer the *de facto* standard, is CakePHP going
to be deprecated ?
Thanks a lot !
Abraços,
MARCELO CUSTÓDIO
--
Our n
Suppose I have the classic Post model and I've created an Author model too.
I have some basic questions:
(1) The Post object is automatically created whithin the PostsController ?
(2) In order to create an instance of Post whithin AuthorsController, is
the only way with
$this->Post = ClassRegi
Isn't it much slower concerning development time ?
What are the advantages of of HTML->link ?
Thanks !
--
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
with their CakePHP relate
> with their CakePHP related questions.
>
> 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+un
set to the view (my choice) or even
the HTML code rendered.
http://book.cakephp.org/view/1210/Testing-controllers#The-testAction-method-1212
--
MARCELO F ANDRADE
Belem, Amazonia, Brazil
"I took the red pill"
Check out the new CakePHP Questions site http://cakeqs.org and help others with
th
on
> your data isn't saving, be sure to check to see if some validation rules
> aren't being broken."
>
> Thanks for the help.
That's extremely common. Nice suggest.
Best regards.
--
MARCELO F ANDRADE
Belem, Amazonia, Brazil
"I took the red pill"
Check
with
gettext functions (for now I mean, use __('My message') instead
of 'My message'), save a .po file in the proper local and set
you default language in the Config.language configuration
entry.
Cake can generate .po files for you when you run: cake i18n extract
Best regards.
On Thu, Jun 17, 2010 at 4:56 AM, jnjn wrote:
>
> Hello,
>
> On my cake blog i output dates on my posts with this line:
>
>
>
> outputs:
> 19March,2010
>
> How can i output this:
> 19
> March
> 2010
This way?
Best regards.
--
MARCELO F ANDRADE
Bel
autare_produse_vechis/cautareProduseVechi">
>
> The old 1.2.0 was generating :
>
A tip: don't bother with that. Let Cake abstract this for you.
If you really really want, you can set attribs for your form.
create('CautareProduseVechi',array('action'=
ut maybe you should try this:
!defined('EMAIL') && define('EMAIL', 'exam...@domain.com');
Or even define constants in your bootstrap.php.
Atts.
--
MARCELO F ANDRADE
Belem, Amazonia, Brazil
"I took the red pill"
Check out the new CakePHP Questions si
On Mon, Jun 14, 2010 at 8:15 AM, arif hossen wrote:
> Dear Experts,
> How i can increase session time in cakephp,
You can change Security.level in app/config/core.php
and there is a Session.timeout entry too.
Atts.
--
MARCELO F ANDRADE
Belem, Amazonia, Brazil
"I took the red pill&
ven throw exceptions for each
expected situation in your case.
Best regards.
--
MARCELO F ANDRADE
Belem, Amazonia, Brazil
"I took the red pill"
Check out the new CakePHP Questions site http://cakeqs.org and help others with
their CakePHP related questions.
You received this message be
iv>
I'm not sure, but I think this additional div is used
for validation messages. You can omit it this way
echo $form->input('name', array('div' => false));
Best regards.
--
MARCELO F ANDRADE
Belem, Amazonia, Brazil
"I took the red pill"
Chec
only way to do this?
Check the sub-query item at
http://book.cakephp.org/view/74/Complex-Find-Conditions
Best regards.
--
MARCELO F ANDRADE
Belem, Amazonia, Brazil
"I took the red pill"
Check out the new CakePHP Questions site http://cakeqs.org and help others with
their CakePHP
On Mon, Apr 19, 2010 at 3:42 AM, mivogt-LU wrote:
>
> I want to use find() to exlude some data on a few conditions.
>
> [cut /]
Containable behavior?
Best regards.
--
MARCELO F ANDRADE
Belem, Amazonia, Brazil
"I took the red pill"
Check out the new CakePHP Questions
On Tue, Apr 27, 2010 at 8:57 AM, MANOJ DHAMAL wrote:
> How to pass data two or more fields from view to controller by usin
> ajax in cakephp ?
Serialize.
...
, 'with'=> 'Form.serializeElements(new Array($("MyField1"),
$("MyField2"
On Wed, Apr 7, 2010 at 11:44 PM, Maverick at work
wrote:
> author ==> book
> Book Model ==> var $belongsTo = "Author";
> I m not able to see the author list while creating a new Book
Author hasMany Book?
--
MARCELO F ANDRADE
Belem, Amazonia, Brazil
"I took th
I did not follow the entire thread, but I had this kind of problem
before and I solved it uploading all the files setting the "binary
mode" file transfer in my ftp client.
Best regards.
--
MARCELO F ANDRADE
Belem, Amazonia, Brazil
"I took the red pill"
Check out the new Ca
On Sun, Mar 14, 2010 at 8:38 PM, anak newbie wrote:
> Yeap, you're right!
>
> but somehow open_short_tag affect in making template more clean
>
> i see it's support on another framework and i don't talk about comparing
> something :D
>
> Just an idea
The problem is not only the 6 more chars, but
Can u guide me..Do I have to make use
of session--put ---get?? Do u have any examples that I can go
through...Thank u in advance...have a nice day
Looking forward to ur reply...
Sincerely,
Sai
--
MARCELO F ANDRADE
Belem, Amazonia, Brazil
"I took the red pill"
Check out the new Ca
On Mon, Feb 1, 2010 at 3:43 PM, joe-electro wrote:
> (..) How do I tell
> Cake that this field points to the primary key of this table and not
> of a table called "Parent_Categories"?
http://book.cakephp.org/view/851/Multiple-relations-to-the-same-model
Best regards.
--
-a-question
Best regards.
--
MARCELO F ANDRADE
Belem, Amazonia, Brazil
"I took the red pill"
Check out the new CakePHP Questions site http://cakeqs.org and help others with
their CakePHP related questions.
You received this message because you are subscribed to the Google Groups
"Cak
On Sat, Jan 30, 2010 at 12:50 AM, mark_story wrote:
> (..)
Good job Mark and all of CakePHP Team!
Keep baking!
--
MARCELO F ANDRADE
Belem, Amazonia, Brazil
"I took the red pill"
Check out the new CakePHP Questions site http://cakeqs.org and help others with
their CakePHP rela
On Wed, Jan 27, 2010 at 9:34 PM, Miles J wrote:
> Yes .htaccess is required because its uses mod_rewrite. If you didn't
> your URLs would be like so:
>
> index.php?url=/items/view/
If you uncomment App.baseUrl in core, you
can get URLs like index.php/items/view/.
Atts.
--
On Mon, Jan 25, 2010 at 10:50 AM, Chad Smith wrote:
> (..)
I'm not 100% sure and cannot try for now, but doesn't this work?
'Email');
var $components = array('EmailComponent'=> 'Email');
var $helpers = array('MyForm'=>
Hi there,
Is it possible to generate a submit button with an image inside
using an $ajax->submit? Or just using a plain button with an
$ajax->remoteFunction attached?
Atts.
--
MARCELO F ANDRADE
Belem, Amazonia, Brazil
"I took the red pill"
Check out the new CakePHP Que
On Tue, Jan 5, 2010 at 5:59 PM, Fred Riley wrote:
> (..)
> I can't be the first person to have come across this issue. Is there
> not a FAQ somewhere?
Just include the directive
RewriteBase /~theusername
at the beginning of your .htaccess files.
Best regards.
--
MARCELO F
Mail.mail_id')
));
As your User and Mail models are properly associated,
you don't have to complain about the join. The find
method abstracts it for you. Your $results will be likely
array(
[0] => array(
[User] => array(
[user_id] = 321321
)
[Mail] =>
e CC license says
"You are free:
* to Share — to copy, distribute and transmit the work"
Best regards.
--
MARCELO F ANDRADE
Belem, Amazonia, Brazil
"I took the red pill"
Check out the new CakePHP Questions site http://cakeqs.org and help others with
their CakePHP related questions.
On Sun, Dec 20, 2009 at 9:41 PM, Dave wrote:
> (..)
http://book.cakephp.org/view/770/How-to-ask-a-question
--
MARCELO F ANDRADE
Belem, Amazonia, Brazil
"I took the red pill"
Check out the new CakePHP Questions site http://cakeqs.org and help others with
their CakePHP related qu
7;s no such 'newproject' folder.
Best regards.
--
MARCELO DE F. ANDRADE
Belem, PA, Amazonia, Brazil
Linux User #221105
Check out the new CakePHP Questions site http://cakeqs.org and help others with
their CakePHP related questions.
You received this message because you are subscribed to t
top, etc...?
You must just inform the full path for your "app"' folder.
Best regards.
--
MARCELO DE F. ANDRADE
Belem, PA, Amazonia, Brazil
Linux User #221105
http://tasafo.org
Check out the new CakePHP Questions site http://cakeqs.org and help others with
their CakePHP related
st open
notepad, gedit, kate or other plain text editor,
create html content and save the file with .ctp
extension.
>
> I have not find nothing about that!!
Ahn... have you tryied the CakePHP cookbook?
http://book.cakephp.org/view/26/View-Conventions
Best regards.
--
MARCELO DE F. ANDRADE
B
Ive never even heard of a cake certification, care to tell? Or sources
>> of where you heard about it?
>
> http://cakefoundation.org/pages/certification
Very interesting! I'd like to know more about too.
--
MARCELO DE F. ANDRADE
Belem, PA, Amazonia, Brazil
Linux User #221105
Che
rg/articles/view/p28n-the-top-to-bottom-persistent-internationalization-tutorial
[2] http://book.cakephp.org/view/162/Internationalizing-Your-Application
--
MARCELO DE F. ANDRADE
Belem, PA, Amazonia, Brazil
Linux User #221105
Check out the new CakePHP Questions site http://cakeqs.org and help others wi
be you should give it a try.
[1] https://trac.cakephp.org/ticket/644
[2] http://bakery.cakephp.org/articles/view/multiple-display-field-3
Atenciosamente.
--
MARCELO DE F. ANDRADE
Belem, PA, Amazonia, Brazil
Linux User #221105
Check out the new CakePHP Questions site http://cakeqs.org and help oth
On Sun, Dec 6, 2009 at 12:09 AM, j0n4s.h4rtm...@googlemail.com
wrote:
> try to place the order in the outside array parts like this
> http://github.com/ionas/sna/blob/master/www/app/controllers/messages_controller.php#L66
Thanks a lot, j0n4as!
Best regards.
--
MARCELO DE F. ANDRADE
Bel
to.descricao'
)
));
// ...
$results= $this->Pagamento->find('all', array('conditions'=>
array(...)));
The results are supposed to be ordered by the specified
fields, but they are not ordered at all.
Any tips?
Best regards.
--
MARCELO DE F. ANDRA
b18ba403?lnk=gst&q=offline+book
Best regards.
--
MARCELO DE F. ANDRADE
Belem, PA, Amazonia, Brazil
Linux User #221105
Check out the new CakePHP Questions site http://cakeqs.org and help others with
their CakePHP related questions.
You received this message because you are subscribed to the G
n_key for associations are your friends.
http://book.cakephp.org/view/71/Model-Attributes
Best regards.
--
MARCELO DE F. ANDRADE
Belem, PA, Amazonia, Brazil
Linux User #221105
Check out the new CakePHP Questions site http://cakeqs.org and help others with
their CakePHP related questions.
You re
ry neither it was clear for
me what CakePHP has to do in that case.
Best regards.
--
MARCELO DE F. ANDRADE
Belem, PA, Amazonia, Brazil
Linux User #221105
Check out the new CakePHP Questions site http://cakeqs.org and help others with
their CakePHP related questions.
You received this messag
/627/remoteTimer
[2] http://book.cakephp.org/view/208/AJAX
Best regards.
--
MARCELO DE F. ANDRADE
Belem, PA, Amazonia, Brazil
Linux User #221105
Check out the new CakePHP Questions site http://cakeqs.org and help others with
their CakePHP related questions.
You received this message because you are
;ll have to loop $this->data and unset the entries when
you get blank fields.
> B - is it pobbile to create a behavior that forces "validate" =>
> "first" to every saveAll call?
You can override the saveAll method in your AppModel,
changing the validate entry i
e a field value
containing spaces, blanks, new lines, and so on. Just letters
and numbers.
Best regards.
--
MARCELO DE F. ANDRADE
Belem, PA, Amazonia, Brazil
Linux User #221105
--
You received this message because you are subscribed to the Google Groups
"CakePHP" group
lection of
> components, rather than a coherent framework).
>
> Why should CakePHP die?
> It can't. :)
jacmoe, I agree entirely with you in all things you said! :-)
--
MARCELO DE F. ANDRADE
Belem, PA, Amazonia, Brazil
Linux User #221105
--
You received this message because you are su
On Wed, Nov 18, 2009 at 11:22 AM, keymaster wrote:
> (..)
> A new flagship app for cakePHP will soon appear (no doubt leaving some
> other framework for us) to replace addons.mozilla.org as cakePHP's
> claim to fame.
What's the status for Mambo 5 CMS?
--
MARCELO D
data before
> saving.
I think you said all. Never trust data from the user. I vote for always
sanitize. You never know when you'll face a "Bobby Tables" user.
http://xkcd.com/327/
Best regards.
--
MARCELO DE F. ANDRADE
Belem, PA, Amazonia, Brazil
Linux User #221105
--
You
On Fri, Nov 13, 2009 at 3:06 PM, Scott Dahl wrote:
> $this->loadModel('ModelName');
> $results = $this->ModelName->find('list');
"loadModel" is deprecated. Use
App::import('model', 'ModelName');
instead.
Best regards.
--
MAR
o hard to do it with ordinary $html->link.
Point the delete link to a question action that do what
you want (a link to the real delete action and another
to go back).
If you can realize how to do it this way, so you could
encapsulate the all stuff creating your own helper,
overriding the $html-&g
est regards.
--
MARCELO DE F. ANDRADE
Belem, PA, Amazonia, Brazil
Linux User #221105
--
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send email to cake-...@googlegroups.com.
To unsubscribe from this group, send email
ch appreciated.
I think if it outputs html code, it should be in a helper.
Best regards.
--
MARCELO DE F. ANDRADE
Belem, PA, Amazonia, Brazil
Linux User #221105
--
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send
; CakePHP Questions is a multilingual site and if you are interested in
> helping us translate the static content of the site please contact us:
> cak...@cakephp.org
That's great
But why it's not in a subdomain of cakephp.org?
Best regards.
--
MARCELO DE F. ANDRADE
Belem, PA, Amaz
ost title is not null:
array ("not" => array (
"Post.title" => null
)
)
'''
Best regards.
--
MARCELO DE F. ANDRADE
Belem, PA, Amazonia, Brazil
Linux User #221105
--
You received this message because you are subscribed to the Google Grou
On Mon, Nov 9, 2009 at 10:29 PM, O.J. Tibi wrote:
>
> Hi Marcelo,
>
> Since you were saying "Javascript alert box", I guess this wouldn't be
> a CakePHP specific question.
>
> Anyway, let me answer (using jQuery, of course)
>
> 1.) Set aside a div (or any
Hi there,
Maybe it's a newbie question, but what's the proper way to
show a javascript alert after a successfull auth login?
Best regards.
--
MARCELO DE F. ANDRADE
Belem, PA, Amazonia, Brazil
Linux User #221105
--~--~-~--~~~---~--~~
You received th
ere should be a "correct" way of doing this.
>
> Does anybody know if there is?
>
> Thanks in advance!
With the corresponding view to the remote function
call set a variable in a hidden field. And then, in the
"oncomplete" attribute, use something like
Form.Element.s
You said. Your .htaccess files are not uploading.
Maybe you should try use CakePHP without mod_rewrite.
Uncomment the App.baseUrl configuration key in your
app/config/core.php file.
Best regards.
--
MARCELO DE F. ANDRADE
Belem, PA, Amazonia
19
Hope it could be useful.
Best regards.
--
MARCELO DE F. ANDRADE
Belem, PA, Amazonia, Brazil
Linux User #221105
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this
On Fri, Oct 30, 2009 at 5:06 PM, rajinder
wrote:
>
> HI, can anyone help me
>
> I want to export data from mysql to pdf file after clicking on a link
> (export to pdf)
http://bakery.cakephp.org/articles/view/creating-pdf-files-with-cakephp-and-tcpdf
--
MARCEL
On Wed, Oct 28, 2009 at 12:07 AM, Dave wrote:
>
> If you go to http://cakephp.org/ the site is unavailable.
Happy halloween! :-D
http://cakephp.org
--
MARCELO DE F. ANDRADE
Belem, PA, Amazonia, Brazil
Linux User #221105
--~--~-~--~~~---~--~~
You receive
this better to code:
> Category::getRoot($shop_id)
> or
> Shop::getRootCategory($id)
Maybe not exactly a rule of thumb, but a good design tip is
if f your method must return "categories", it should be in the
"Category" model.
Best regards.
--
MARCELO DE F. ANDRADE
Belem, PA, Ama
t int the camelBack format, but
underscored.
$clientes = $this->Cliente->find('list', array('order' =>
array('Cliente.razao_social ASC')));
Best regards.
--
MARCELO DE F. ANDRADE
Belem, PA, Amazonia, Brazil
Linux User #221105
--~--~-~--~~-
7;=>''))); produces a WHERE
> `Document`.`title` = NULL query and that's not right.
>
> What I need is a WHERE title='' query returned.
'conditions'=> array('Documen.title'=> null)
doesn't work?
--
MARCELO DE F. ANDRADE
Bel
proach for this? (..)
Another way to do this could be, in your action, just save the
form values (in a session), redirect to the view page that have
the same fields as hidden values. So the submit/confirm
action saves the data and a cancel/edit get back to the first
action.
Best regards.
-
;m not wrong, there's some user-made versions of ajax-helper
to Cake1.2 that resembles the prototype to jquery.
Best regards.
--
MARCELO DE F. ANDRADE
Belem, PA, Amazonia, Brazil
Linux User #221105
--~--~-~--~~~---~--~~
You received this message because you ar
put
> echo $html->tagErrorMsg('User/unique_username', 'Enter another
> username, this is already used.');
> into my view but this gives me the error message
> "Method HtmlHelper::tagErrorMsg does not exist"
>
> What do I need to do?
Check the C
same error. Thanks for your help
You have to change the permissions to the app/tmp
and app/tmp/cache folders. They need to be writable
by the user that runs the webserver.
Best regards.
--
MARCELO DE F. ANDRADE
Belem, PA, Amazonia, Brazil
Linux User #221105
--~--~-~--~~--
;input('Model.field', array('type'=> 'select', 'options'=>
$options));
...
echo $ajax->observeField('ModelField', array(
'url'=> '/your/action'
, 'update'=> 'idyourelement'
, ...
));
W
is because I'm STUCK!
Strange error.
Have you created the app/config/database.php
file and configured it properly?
Best regards.
--
MARCELO DE F. ANDRADE
Belem, PA, Amazonia, Brazil
Linux User #221105
--~--~-~--~~~---~--~~
You received this message because you are su
that case, you don't need to set the ajax layout in your
action as you're using RequestHandler component that
does this automatically to you.
Best regards.
--
MARCELO DE F. ANDRADE
Belem, PA, Amazonia, Brazil
Linux User #221105
--~--~-~--~~~---~--~~
You
Hi everyone, I'm doing the cakephp.org acl tutorial and I'm stuck in
the section
10.2.6 An Automated tool for creating ACOs link:http://
book.cakephp.org/view/647/An-Automated-tool-for-creating-ACOs
there is a function that suppose to add acos based on the controllers
or something like that, wh
arn
> and code...
Huh... What's the difference?
Best regards.
--
MARCELO DE F. ANDRADE
Belem, PA, Amazonia, Brazil
Linux User #221105
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"CakePHP"
ete-auswahllisten/beispiel1.htm
> )
>
> Is there a simple way of doing this with CakePHP?
Sure. I hope it helps: http://tinyurl.com/ycl5aey
And know more about the Cake's Ajax helper.
http://book.cakephp.org/view/208/AJAX
Best regards.
--
MARCELO DE F. ANDRADE
Belem, PA, Amazonia, Brazi
it from the field so it only displays in
> the spot i want?
$form->input make an internal call to $form->error by default.
As John said, if you're using $form->input, you must to set
"'error'=> false" in the options.
Best regards.
--
MARCELO
On Tue, Sep 29, 2009 at 1:58 AM, Jiru wrote:
>
> hii ,
>
> In my project the names are displayed in dropdown list. bt i need it
> in input text box with ajax autocomplete code.
http://book.cakephp.org/view/632/autoComplete
--
MARCELO DE F. ANDRADE
Belem, PA, Amazonia, Brazil
Lin
1 - 100 of 357 matches
Mail list logo