Re: Dynamic Links with DS constant?
I can never use the $html-link when i want to link on an image as it turns all the into gth; has anyone ever found a way? On 29 Apr 2007, at 21:18, Samuel DeVore wrote: btw r() is a convenience function for str_replace manual.cakephp.org/chapter/constants On 4/29/07, Mariano Iglesias [EMAIL PROTECTED] wrote: echo $html-link('Link','/' . r(DS, '/', $filepath)); -MI - -- Remember, smart coders answer ten questions for every question they ask. So be smart, be cool, and share your 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'm having a problem with links generated by my DS constant. -- (the old fart) the advice is free, the lack of crankiness will cost you - its a fine line between a real question and an idiot http://blog.samdevore.com/archives/2007/03/05/when-open-source-bugs- me/ Anton Morrison [EMAIL PROTECTED] --~--~-~--~~~---~--~~ 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 PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
Re: Dynamic Links with DS constant?
On 4/29/07, Anton Morrison [EMAIL PROTECTED] wrote: I can never use the $html-link when i want to link on an image as it turns all the into gth; has anyone ever found a way? If you look at the api http://api.cakephp.org/class_html_helper.html#444f26b63f2193142b80169b8d04cf95 you will notice the param $escapeTitle defaults to true, make the call with it set to true On 29 Apr 2007, at 21:18, Samuel DeVore wrote: btw r() is a convenience function for str_replace manual.cakephp.org/chapter/constants On 4/29/07, Mariano Iglesias [EMAIL PROTECTED] wrote: echo $html-link('Link','/' . r(DS, '/', $filepath)); -MI - -- Remember, smart coders answer ten questions for every question they ask. So be smart, be cool, and share your 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'm having a problem with links generated by my DS constant. -- (the old fart) the advice is free, the lack of crankiness will cost you - its a fine line between a real question and an idiot http://blog.samdevore.com/archives/2007/03/05/when-open-source-bugs- me/ Anton Morrison [EMAIL PROTECTED] -- (the old fart) the advice is free, the lack of crankiness will cost you - its a fine line between a real question and an idiot http://blog.samdevore.com/archives/2007/03/05/when-open-source-bugs-me/ --~--~-~--~~~---~--~~ 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 PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
RE: Dynamic Links with DS constant?
?php echo $html-link($html-image('test.gif'), '#', array('escape'=false)); ? Or: ?php echo $html-link($html-image('test.gif'), '#', array(), false, false, false); -MI --- Remember, smart coders answer ten questions for every question they ask. So be smart, be cool, and share your knowledge. BAKE ON! blog: http://www.MarianoIglesias.com.ar -Mensaje original- De: cake-php@googlegroups.com [mailto:[EMAIL PROTECTED] En nombre de Samuel DeVore Enviado el: Lunes, 30 de Abril 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 --~--~-~--~~~---~--~~ 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 PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
RE: Dynamic Links with DS constant?
echo $html-link('Link','/' . r(DS, '/', $filepath)); -MI --- Remember, smart coders answer ten questions for every question they ask. So be smart, be cool, and share your 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'm having a problem with links generated by my DS constant. --~--~-~--~~~---~--~~ 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 PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
Re: Dynamic Links with DS constant?
btw r() is a convenience function for str_replace manual.cakephp.org/chapter/constants On 4/29/07, Mariano Iglesias [EMAIL PROTECTED] wrote: echo $html-link('Link','/' . r(DS, '/', $filepath)); -MI --- Remember, smart coders answer ten questions for every question they ask. So be smart, be cool, and share your 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'm having a problem with links generated by my DS constant. -- (the old fart) the advice is free, the lack of crankiness will cost you - its a fine line between a real question and an idiot http://blog.samdevore.com/archives/2007/03/05/when-open-source-bugs-me/ --~--~-~--~~~---~--~~ 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 PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---