Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 0.6.5

Request #3204 Adding Raw entries to the Header
Submitted: 2005-01-14 19:20 UTC
From: david at inspiredthinking dot co dot uk Assigned: doconnor
Status: Closed Package: HTML_Page2
PHP Version: 4.3.10 OS: N/A
Roadmaps: (Not assigned)    
Subscription  


 [2005-01-14 19:20 UTC] david at inspiredthinking dot co dot uk
Description: ------------ Hi, Can you extend Page2 - with a mechanism to allow the addition of raw entries within the HEAD tag? I've modded my version thus: $pageObject->_rawHeadString = "<!-- compliance patch for microsoft browsers -->\n". "<!--[if lt IE 7]>\n". "<script src='js/ie7-standard.js' type='text/javascript'>\n". "</script>\n". "<![endif]-->\n";

Comments

 [2005-03-24 18:47 UTC] thesaur
OK, that will be added to the next release. If you already have extended the class to provide a solution, I will be implementing it as "addRawHeaderData(string/array/object $content)"
 [2007-12-20 18:25 UTC] pfrenssen (Pieter Frenssen)
I have added a patch that adds the addRawHeaderData() function. Can this be merged into the source?
 [2009-09-26 10:50 UTC] samwilson (Sam Wilson)
 [2009-09-26 10:52 UTC] samwilson (Sam Wilson)
I've updated Pieter Frenssen's patch to work with 0.6.0beta.
 [2011-12-10 07:48 UTC] doconnor (Daniel O'Connor)
clockwerx@clockwerx-desktop:~/pear-svn-git/HTML_Page2$ patch -p1 < patch- download.php\?id\=3204\&patch\=Page2.php\&revision\=1253944246 patch: **** Only garbage was found in the patch input.
 [2011-12-10 07:54 UTC] doconnor (Daniel O'Connor)
-Status: Assigned +Status: Closed
This bug has been fixed in SVN. If this was a documentation problem, the fix will appear on pear.php.net by the end of next Sunday (CET). If this was a problem with the pear.php.net website, the change should be live shortly. Otherwise, the fix will appear in the package's next release. Thank you for the report and for helping us make PEAR better.
 [2011-12-10 07:55 UTC] doconnor (Daniel O'Connor)
-Assigned To: iwarner +Assigned To: doconnor