Hi,

This is what i have in place in my layout

<?php echo $this->doctype() . "\n"; ?>
<html xmlns="http://www.w3.org/1999/xhtml";>
    <head>
    <?php echo $this->HeadMeta() . "\n"; ?>
    <?php echo $this->HeadLink() . "\n"; ?>
    <?php echo $this->HeadScript(). "\n"; ?>
    <?php echo $this->HeadTitle() . "\n"; ?>
    <?php echo $this->HeadStyle(). "\n"; ?>

</head>

Those will be replaced with appropriate HTML tags so if you have those in
the layout you will need to remove them. Though i think using them is much
more elegant. You can then append style, scripts titles and other meta tags.

-V

On Mon, Jun 1, 2009 at 7:04 AM, Jalil F. <[email protected]> wrote:

>
> It seems Zend is adding some default HTML tags like head and title when
> rendering a view. How can I disable this? I already have these tags set in
> my phtml file.
>
> Thanks,
>
> -J
> --
> View this message in context:
> http://www.nabble.com/Duplicate-HTML-Tags-tp23809662p23809662.html
> Sent from the Zend Framework mailing list archive at Nabble.com.
>
>


-- 
Vincent Gabriel.
Lead Developer, Senior Support.
Zend Certified Engineer.
Zend Framework Certified Engineer.
-- http://www.vadimg.co.il/

Reply via email to