Just as an addition, your solution worked great. I overcame the
Helper::url() problem by making a custom AppHelper with the following
code:
function url($url = null, $full = false) {
$url = parent::url($url, $full);
if (!empty($this->params['facebook'])) {
$url = str_replace($this->base, $this->base . '/fb', $url);
}
return $url;
}
That way I can use html helper, etc. without it breaking my URLs.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send email to [email protected]
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
-~----------~----~----~----~------~----~------~--~---