Re: How to use two view(controller) in a page??

2012-09-02 Thread Mark Wratten
Easiest is to use requestAction() in the homepage view. On Thursday, August 30, 2012 4:26:12 PM UTC-4, shyandsy wrote: > > I am kind of new guy on cakePhp. So the description as below: > > I hope to provide two function to users in the homepage, login and news. > The login uses the view login and

How to Extend a plugin?

2012-09-02 Thread bs28723
I have a plugin that has some basic set of functions. I want to be able to Extend this plugin, without having to go in an edit the code. I would like to do things like add extra fields to the Table and have the Views, Model and Controller be able to handle this. I would also like to add some para

Re: CakePdf - How To Start?

2012-09-02 Thread Adam Symonds
I'm not sure, I would expect it can be done however depending on the engine you are using, maybe ask directly on the github site. Did you manage to work out how to connect the pdf's into an email by any chance? I am struggling to work this out, I can only get the PDF to download at the moment. --

Text not aligned with radio button

2012-09-02 Thread Daniel
I have a radio button on a form, but the text (labels) are not aligned with the circles of the radio control. This is the code I have in my view file: $options = array( '1m' => '1 month', '3m' => '3 months', '6m' => '6 months', '1y' => '1 year' ); $attributes = array( 'value

Starting with CakePHP - Guide

2012-09-02 Thread Glauco Custódio
Hi guys, I have made a post in pt-BR teaching how to start with CakePHP, as I know that many brazilian developers follow this group I wanna share it with them: http://blog.glaucocustodio.com/2012/09/01/iniciando-com-framework-cakephp/ Thank you. -- You received this message because you are s

Scaffolding does not escape HTML in related table list

2012-09-02 Thread Jos Groot Lipman
Being very new to CakePHP is started with scaffolding to create a simple CRUD for my database model. This works fine. However, for testing purposes I happened to have the text 'Pony' in one of the data field, to detect any missing HTML-escapes. I found one in CakePHP in the default scaffolding

How to use theme and plugin views?

2012-09-02 Thread Salines
Hi, I made ​​for the administration admin theme and everything is working well, but now I need to add a few plugins, which have their own views. Can you tell me where I should put my plugin views, to use my admin theme? thanks -- You received this message because you are subscribed to the Googl

Re: if statement

2012-09-02 Thread girl
Yeah, dear euromark. I completely agree with you. I know i should and I'm planning start this week. Just I have a small php code and need to do it with cake. ANyways, thanks for reply. -- You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to thi

Re: if statement

2012-09-02 Thread euromark
sry, what you are doing there is just horrible. I cannot find any other words for it. please go through tutorials and the book first your code is a mess in multiple ways and it doesnt seem you have understood a single bit of what i wrote. you cannot just use those deep arrays in php functions. n