Set the Html helper in your app/app_controller.php:
class AppController extends Controller {
var $helpers = array('Html', etc.., etc..)
}
T+
On Jul 6, 4:13 pm, CM <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I am new to cakePHP and I read some posts on creating static pages by
> adding the pages to the apps/views/pages/ and using the pages
> controller. However, my links and images in the default.thml layout
> do not work anymore.
>
> I have been adding my links using <img> and <a> tags because for some
> reason I could not get $html->image and $html->link to work. Does
> anyone know how to fix this?
>
> Thanks
>
> Chris
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---