Tuesday, December 29, 2009

creating absolute links (including site)

Hi

with the Html and Form helper it's already easy to create absolute links
(starting from the root of the site), but I'd need to create links that
also include the address of the site (starting with http://).

This is needed since the output of the cakephp site should also be
included in other sites (with different addresses).

Is there an automatic way to do this? Or, I guess, I should set the
site name in some configuration file myself?

thanks in advance
Lorenzo

--
Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino
HOME: http://www.lorenzobettini.it MUSIC: http://www.purplesucker.com
BLOGS: http://tronprog.blogspot.com http://longlivemusic.blogspot.com

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 "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en

No comments: