eBlock('...', array('inline' => false));
>
>
>
> On Fri, Aug 28, 2009 at 12:18 PM,Alessio wrote:
>
> > the problem is that it put the code in the middle of page...
> > This can be a suggestion for next release?
> > 1-> to allow to helper JS to inser
the
head...
Aniway Now i am using yes element method...
Anyone suggests better?
On 28 Ago, 17:18, brian wrote:
> $this->element(...)?
>
> http://api.cakephp.org/class/view#method-Viewelement
>
>
>
> On Fri, Aug 28, 2009 at 4:44 AM, Alessio wrote:
>
> > I need lin
I need link a file ctp with javascript and php inside...
What can I do?
If i link a ctp, the helper adds the extension js...
I want to render a ctp file, if I render It put in the same point
where I link.
I want to put inside the head section.
How Can I do this ?
--~--~-~--~~--
After using Ajax Helper, I have understood that it is better not usign
the helper.
Because the framework, it is already a method to simplify the life for
programmer.
Now that I know Prototype, I understand that it is very easy use Ajax.
For example in the past, i found very hard to update more tha
i need to get more results from stored procedured.
Cake pust into array only the first recordset...
So Is it possible to get all recordset from stored procedure?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"CakePH
hat's the problem? Do it without paginator component, with
> appropriate find conditions. I did such task in version 1.1.
>
> On 17 нояб, 03:14, Alessio <[EMAIL PROTECTED]> wrote:
>
>
>
> > I have two models, news and articles.
>
> > I need to show t
paginate...
In the old cakephp, was possible pass an array...to paginator...
So someone has a solution?
On Nov 16, 8:20 pm, "Sayed Raianul Kabir" <[EMAIL PROTECTED]> wrote:
> I have faced this type problem. but I can't.
>
>
>
> On Sun, Nov 16, 2008 at 11:14 A
I have two models, news and articles.
I need to show them togheter, and paginate togheter because I want to
show in the same page.
How Can I get this using the paginator?
Is it possible to pass to paginator an array?
--~--~-~--~~~---~--~~
You received this messag
I modified the file dbo_mysql
$this->connection = mysql_connect($config['host'] . ':'
. $config
['port'], $config['login'], $config['password'],true, 131074);
So i can connect with
//define("CLIENT_MULTI_RESULTS",131072);//Enable/disable multi-
results
//defi
akeID__$})';
but It is not so elegant to perform a query so someone can give me a
better solution ?
Thanks!
On 30 Ott, 00:40, Alessio <[EMAIL PROTECTED]> wrote:
> If have only an id in the finderquery i Get the errorSQL Error:
> 1241: Operand should contain 1 column(s).
>
&g
If have only an id in the finderquery i Get the errorSQL Error:
1241: Operand should contain 1 column(s).
If I put the pharentesis I can solve, but if I have more ids, I get
the error..
What the solution...
and `PizzeDolci`.`persona_id` IN
({$__cakeID__$})
Attention at a little detail..
I was going be mad...
When you put recursive to a model, and you will paginate it, you have
to say to cakephp, if it has to reset or not the associations...
This if you create associations on fly...
So you have to put false, in the bindmodel function...
On Jul 4, 5:
n SQL.
>
> But Alessio, are you familiar with the Containable (formerly Bindable)
> behaviour?
> It's a nicer way to bind your models, including particular fields.
>
> On Jul 2, 7:41 pm, James K <[EMAIL PROTECTED]> wrote:
>
>
>
> > The only disadvantage
> should be hand-written IMO for the sake of performance. Cake doesn't
> try very hard to be efficient with the queries it generates beyond
> simple joins.
>
> On Jul 2, 12:37 pm, Alessio <[EMAIL PROTECTED]> wrote:
>
>
>
> > i am trying to use custom q
i am trying to use custom query for retrieving the data.
I noticed that using query ...I get the array filled in corretly and I
can choose very easily only the fields that i need...
And I can fill my data vars without removing or adding bind or unbind
model...
What about this method of getting dat
I have similar problems...I think it is good to submit this real
problem to the team...because this is not only your problem...
On 1 Lug, 00:27, amfriedman <[EMAIL PROTECTED]> wrote:
> I've been doing some heavy debugging using xdebug and cachegrinder.
>
> I found a list of calls in the core that
in the 1.2 cakephp pass to the contructor an array...I dont know the
reasons...
I solved so...
Add a var before the other arguments...
function FPDF($w=null, $orientation='P',$unit='mm',$format='A4')
{
}
So you need to change the code in fpdf.php, the core of fpdf..and in
your helper..
I don't
someone was able to use example of fpdf in cakebaker.
but using php5 and rc2...
I don't know why in the helper cakephp pass an array to the class of
Fpdf...
In 1.1 it look likes regular...
On 30 Giu, 17:54, Alessio <[EMAIL PROTECTED]> wrote:
> I notice that using app::import
I notice that using app::import in the helper file or in the
controller, it will call the constructor of the class...
So all the old code doesnt work...
FOr example the fpdf example...doesn't work..
It call two time the constructor, and the var $orientation becomes an
array...
I want call the cons
I have my comment and I use sanitize to clean all..
But when I show the comment, it appears \n
What is it better to do?
I want to show comment content without strange chars ;)
Thanks
--~--~-~--~~~---~--~~
You received this message because you are subscribed to th
ote:
> Just throwing one thing out there:
>
> Often when I have a problem in only one controller, it's because I'm
> overriding the constructor or the beforeFilter, and forgetting to call
> the parent class version too...
>
> Any chance this is relevant?
>
> On Ju
in the heat of the moment, I think people just get
> > frustrated when something isn't "just working".
>
> > On Jun 23, 6:45 pm, "Chris Hartjes" <[EMAIL PROTECTED]> wrote:
>
> > > On Mon, Jun 23, 2008 at 9:33 PM, Alessio <[EMAIL PROTECTED]>
amp;forum_id=327
>
> Louie
>
>
>
>
>
> On Wed, Jun 25, 2008 at 11:56 AM, Marcos Aruj <[EMAIL PROTECTED]> wrote:
> > There's a project called cakephpbb that may help you:
> >http://cakeforge.org/projects/cakephpbb/
>
> > On Tue, Jun 24, 2008 at 7:
I am trying to integrate cake and phpbb3...
The problem I get is that name of class of Cake are used in the core
of PhpBB3...
SO I get error ... Already declareted... USer Cache
So someone was able to integrate?
I am also trying to hash password with alghoritm...it is very hard ...
Thanks
--
able to manage this situation...
For the discourse of beta I can be in agree with you..but when I have
to change from beta to stable...it is very hard...only this...
Bye...
On 24 Giu, 03:16, "Chris Hartjes" <[EMAIL PROTECTED]> wrote:
> On Mon, Jun 23, 2008 at 9:05 PM, Alessio
I have lost an evening to understand the mechanism of Auth component.
Sometimes the $this->Auth->user() gives me empty values and others
times I get values filled in.
I was using the beta, and now changed to Rc1 only hoping to get a
better solution in Auth..
But the result are same...
Moving from
In the version of 1.2 and in the prev... the problem was the same...
preserve the parameters of research...passing from page to page...
There was post get redirect...a really bad solution...
now searching various persons..i see that the most use a redirect...
i have created the solution to use
Ok, I lost a few a time...to understand how to pass all the params in
the paginator, making work good.
I remember in the old version, the paginator was able to remember all,
also the params from get...
So I have to created this idea that works with all, except the params
from get...
For example
dering not spending
resources in the server...
So if you want to complete the cake, it would be interesting to put
focus on the div...but i have read that exists some problem with
different browser
Good job...
On 12 Giu, 17:42, Alessio <[EMAIL PROTECTED]> wrote:
> form('/c
form('/comments/add', 'post', array( 'url' => '/
comments/add', 'update' => 'feed', 'indicator' => 'commentSaved'));?>
I tried many option to update more div...
for example putting 'update' =>array.
But is it possible?
How can I to say to cake to create two update div?
In one, I need show
e name of Life, Liberty, and the pursuit of my sanity.
> Siebren Bakker(Aevum Decessus)
>
> On Wed, Jun 11, 2008 at 10:09, Alessio <[EMAIL PROTECTED]> wrote:
>
> > Bye. I am developing a site.
> > I have my article page, and I want to put the comment in the bottom of
&
Bye. I am developing a site.
I have my article page, and I want to put the comment in the bottom of
page.
I can use ajax or not.
I want pagination of comment and indentation.
Some source is available to make this?
Thanks a lot.
--~--~-~--~~~---~--~~
You received thi
i have my page of film.
i must insert also the actors for the film...
i have a table with 9000 actors...
What the best solution?
I need to indicate more actors and I have to allow to user to insert
new...
--~--~-~--~~~---~--~~
You received this message because you
I need to use the months in italian...
What do you suggest?
Change in core...or just create some helper or bridge...to convert the
array...maybe before of rendering...
In general I don't want to modify the core...
--~--~-~--~~~---~--~~
You received this message beca
I am making my site...
What suggestion...
I want to know what it is better..
Using the label or using table layout...
Helper $form generates a new line..after label...
What do you prefer usually, using lable or table...?
I know W3c suggests not using tables..,but i think that it is very
confortab
ith the second param. I found looking through the source
> code for these methods helped me gain a greater understanding of how
> it all fits together.
>
> Hope that helps,
> Adam
>
> On May 31, 10:41 am, Alessio <[EMAIL PROTECTED]> wrote:
>
> > Nice, thanks dea
el' => false));
>
> Maybe if you work your way through the Cookbook (http://
> book.cakephp.org/) or actually look at the source code you will
> discover more.
>
> Cheers,
> Adam
>
> On May 31, 4:25 am, Alessio <[EMAIL PROTECTED]> wrote:
>
> >
I want to ask some people, if it is a good idea, in general, passing
to new version...
I want for example to use, some old methods, and Cakephp Engine, often
tells that , this or that is deprecated...
First Question, I will stress you, often ;)...Very thanks
Can I use the old helper $html..., I
Hi,
if I rename database.php in database.temp in my app condif dir
cakephp return to me:
---
Requires a Database Connection
Confirm you have created the file : mydb\config\database.php.
Missing Database Connection: ConnectionManager requires a database
connection
---
If I remane
Hi All,
I have write a file database.php in my apllication folder"/cake/myapp/
config"
var $mydb = array(
'driver' => 'mysql',
'persistent' => false,
'host' => 'localhost',
'port' => '',
'login' => 'root',
'password' => '',
'database' =
40 matches
Mail list logo