bril de 2007 11:09 a.m.
Para: cake-php@googlegroups.com
Asunto: Re: Dynamic Links with DS constant?
If you look at the api
http://api.cakephp.org/class_html_helper.html#444f26b63f2193142b80169b8d04cf
95
you will notice the param $escapeTitle defaults to true, make the call
with it set to true
--~-
blog: http://www.MarianoIglesias.com.ar
> >>
> >>
> >> -Mensaje original-
> >> De: cake-php@googlegroups.com [mailto:[EMAIL PROTECTED]
> >> En nombre
> >> de Lb-web
> >> Enviado el: Domingo, 29 de Abril de 2007 04:06 a.m.
>
-
>> De: cake-php@googlegroups.com [mailto:[EMAIL PROTECTED]
>> En nombre
>> de Lb-web
>> Enviado el: Domingo, 29 de Abril de 2007 04:06 a.m.
>> Para: Cake PHP
>> Asunto: Dynamic Links with DS constant?
>>
>> I'm an newbie to CakePHP and I'm ha
t; De: cake-php@googlegroups.com [mailto:[EMAIL PROTECTED] En nombre
> de Lb-web
> Enviado el: Domingo, 29 de Abril de 2007 04:06 a.m.
> Para: Cake PHP
> Asunto: Dynamic Links with DS constant?
>
> I'm an newbie to CakePHP and I'm having a problem with links
> genera
knowledge.
BAKE ON!
blog: http://www.MarianoIglesias.com.ar
-Mensaje original-
De: cake-php@googlegroups.com [mailto:[EMAIL PROTECTED] En nombre
de Lb-web
Enviado el: Domingo, 29 de Abril de 2007 04:06 a.m.
Para: Cake PHP
Asunto: Dynamic Links with DS constant?
I'm an newbie to CakePHP and I'
HI Guys
I'm an newbie to CakePHP and I'm having a problem with links
generated
by my DS constant.
I want to create a link to an image. The image path is stored in my
database
as a string: "img\uploaded\46343d19f2445\image-1.jpg"
In the forms that created the above string, I used the DS constant
That worked. Thanks a lot.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTEC
You would have to put the link in the foreach loop.
This is pretty commonly used if you have a list of items and want to
delete/edit one.
You can use it like this:
link('edit this post', '/posts/edit/'.
$post['Post']['id']) ?>
Like this the id is appended to ea
Can anyone tell me how to make a link name and location dynamic based
on the data variables?
Generic example:
link('Add new post', '/posts/add') ?>
How can I use a $post variable in place of 'Add new post' or
'/posts/add' to make them more dynamic?
--~--