Problem using HTML Link Helper in Cakephp 1.3.1
Posted
by ShiVik
on Stack Overflow
See other posts from Stack Overflow
or by ShiVik
Published on 2010-06-14T06:28:59Z
Indexed on
2010/06/14
6:32 UTC
Read the original article
Hit count: 221
cakephp
|cakephp-1.3
Hello all
I am having a problem using $html->link helper in my view. Consider this snippet...
/views/nodes/packages.ctp
<li><?php echo $html->link( "Package 1", array( "packages", "package1" ) )?></li>
Now when I click on the link, the address in address bar appears like
http://www.server.com/nodes/packages/packages/package1
Why is this happening? I haven't changed anything in my default routing configuration file.
Regards Vikram
© Stack Overflow or respective owner