Hello,
I was wondering if there is a way to include a fragment identifier in a
URL generated with Router::url() using the new way of passing the url
in an array (cake 1.2dev)?
Thanks in advance!
P.S. if there isn't a way to do this I'll open an enhancement ticket on
trac
P.P.S I've read the code and there doesn't seem to be such an option,
so I just hacked it before line 490 before the return:
491 if (isset($url['fragment'])) {
492 $fragmentIdentifier = '#' . $url['fragment'];
493 } else {
494 $fragmentIdentifier = '';
495 }
496 return $output . $extension . $fragmentIdentifier .
$_this->queryString($q);
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake
PHP" 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
-~----------~----~----~----~------~----~------~--~---