Try this

$this->Html->link(__('Our Partners', true),
$this->Html->url(array('yoururlarray')) . '#slide1');

--
Lep pozdrav, Tilen Majerle
http://majerle.eu



2011/7/4 heohni <heidi.anselstet...@consultingteam.de>

> Hi,
>
> I am using thise "trick" for niver urls:
>
> Router::connect('/partner', array('controller' => 'pages', 'action' =>
> 'display', 'partner'));
>
> <?php echo $html->link(__('Our Partners', true), array('controller' =>
> 'pages', 'action' => 'display', 'partner'),.....
>
> But now, I want to link to a page like this
>
> /myproject/partner#slide1
>
> But this is not working, the Router::connect function does not
> recognize the link anymore.
>
> Anyone any an idea, how to solve this?
>
> Thanks!!
>
> --
> Our newest site for the community: CakePHP Video Tutorials
> http://tv.cakephp.org
> Check out the new CakePHP Questions site http://ask.cakephp.org and help
> others with their CakePHP related questions.
>
>
> To unsubscribe from this group, send email to
> cake-php+unsubscr...@googlegroups.com For more options, visit this group
> at http://groups.google.com/group/cake-php
>

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to