Issues

ZF-10345: HeadLink View Helper does not allow "id" attribute

Issue Type: Patch Created: 2010-08-19T16:00:31.000+0000 Last Updated: 2010-11-03T09:48:18.000+0000 Status: Resolved Fix version(s): - 1.11.0 (02/Nov/10)

Reporter: Benjamin Arthur Lupton (balupton) Assignee: Marc Hodgins (mjh_ca) Tags: - Zend_View

Related issues: Attachments: - ZF-10345.patch

Description

The HeadLink View Helper does not allow the "id" attribute. This makes it impossible to include Mozilla Bespin via the HeadLink helper, as it is dependent on using the id attribute. Using the id attribute on link elements is valid, and I can see no reason why this was not included. There are also several other use cases, such as determining if a link has already been included by using a id for it.

I have already created a patch which I use for every new release of Zend Framework successfully: http://gist.github.com/539147

Comments

Posted by Marc Hodgins (mjh_ca) on 2010-10-25T17:35:02.000+0000

Patch with test attached.

Posted by Matthew Weier O'Phinney (matthew) on 2010-10-26T05:52:56.000+0000

Patch applied to trunk and 1.11 release branch -- thanks!

Posted by Benjamin Arthur Lupton (balupton) on 2010-11-03T09:48:12.000+0000

Thanks guys!

Have you found an issue?

See the Overview section for more details.

Copyright

© 2006-2016 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.

Contacts