If I go directly to /users/edit/1 it wont display the style, but if I remove the so it reads /users/edit it works. I'm pretty sure its nothing in the view or controller that relates to the parameter, as I've tested this with other views and controllers that do nothing at all, and the same problem exists.
On Oct 13, 5:14 pm, Jas <[email protected]> wrote: > My style or layout, disappears on some pages, I've narrowed it down to > the way $html->link is setup and have fixed some pages, but not the > ones that have a parameter, for example /users/edit/1 it still dont > show any styling or layout. > I've tried > echo $html->link('Change my details','/users/edit/'.$user['User'] > ['id']); > and > echo $html->link('Change my details', array('controller' => > 'users','action'=>'edit',$user['User']['id']),null,null,false); > When the page goes to the url they both work functionally but, dont > show any styling. But this did fix pages without a parameter. > > Any ideas? > > Jas --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
