Or if you're not going to use router then:

$html->link('Add User', 'users/add');

Faifas



On Thu, Feb 19, 2009 at 13:14, djiize <[email protected]> wrote:
>
> $html->link('Add User', array('controller' => 'users', 'action' =>
> 'add'));
>
> On 19 fév, 12:01, amarradi <[email protected]> wrote:
>> Hello together,
>>
>> i have 2 Controller EntriesController and UsersController.
>>
>> And i have views for the Entries and views for the user.
>>
>> If i set an link like in an view from Entries i will get an link to
>> add new Entry
>>
>> $html->('Add Entry', array('action'=>'add'));
>>
>> But what have i to do to get an link to Add new User into the Entry-
>> View ? I tried
>>
>> $html->('Add User', array('action'=>'Users.add'));
>>
>> But is doesn't run
>>
>> Many greetings
>>
>> Marcus Radisch
> >
>

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to