Sunday, May 23, 2010

Re: my link looks like this app/webroot/index.php/

Hi all,

can anybody help me out of this issue my link loosk like this:

<ul class="gpMargPad"> 
<? foreach($ui_navilist as $ui_naviName => $ui_Url): ?>
<li> 
<a href="#" class="gpFloatLeft ui_icons ui_icon_resize"></a> 
<?=$html->link($naviName,
array('controller'=>'clients','action'=>$Url),
array('class'=>'gpFloatLeft')
) ?>
<span class="gpFloatRight gpBlock">
<span class="gpBlock gpClearBoth"></span> 
</span> 
<span class="gpBlock gpClearBoth"></span> 
</li>
<? endforeach; ?>
</ul>

did i do anything wrong. i get always this url url from link "exemple.cc/app/webroot/index.php/instead of "exemple.cc/index"
and dont know why...


2010/5/20 Davor Ilic <webfacer@gmail.com>
have anyone this problem exept me :) ? And found some solution then please help me out.



2010/5/19 Davor Ilic <webfacer@gmail.com>

Hi All,

i have the problem if i use from helpers the "$html->link" i get this link app/webroot/index.php/ and i do not know why because i didn´t change anything.
i changed only the routers.php to this "Router::connect('/', array('controller' => 'clients', 'action' => 'index'));"


Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions.
 
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate