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

Request #2465 flexy: toStyle addition
Submitted: 2004-10-05 20:29 UTC
From: jesse dot planck at gmail dot com Assigned:
Status: Closed Package: HTML_Template_Flexy
PHP Version: 4.3.4 OS: all
Roadmaps: (Not assigned)    
Subscription  


 [2004-10-05 20:29 UTC] jesse dot planck at gmail dot com
Description: ------------ Flexy:toJavascript is very helpful, yet I was wondering if we can have something to help deal with CSS Style Sheets. Many HTML workers use the @import to create web sites that degrade well with older browsers. It would be nice to be able to manipulate those. example of multiple styles for layout: <link rel="stylesheet" type="text/css" media="print" href="{ROOT_CSS}/print.css"> <link rel="stylesheet" type="text/css" media="screen" href="{ROOT_CSS}/compatible.css"> <style type="text/css" media="screen"> <!-- @import url({ROOT_CSS}/main.css); --> </style> There is probably a way, yet I am still digging for it!

Comments

 [2004-10-06 09:41 UTC] User who submitted this comment has not confirmed identity
If you submitted this note, check your email.If you do not have a message, click here to re-send
MANUAL CONFIRMATION IS NOT POSSIBLE.  Write a message to pear-dev@lists.php.net
to request the confirmation link.  All bugs/comments/patches associated with this

email address will be deleted within 48 hours if the account request is not confirmed!
 [2004-10-06 13:59 UTC] jesse dot planck at gmail dot com
Probably. I'm guessing that Flexy will not step into <style> because of the same problems caused by javascript and all those nasty "{}". It would be nice to do simple #var# replacements in <style>. I don't think I would add any other functionality, but I'm sure other people would have reasons... like allowing "IF" maybe. Being able to manipulate in-line styles can be cool for some folks I'm sure. My example is very simple, and I am simply trying to keep all template elements centralized and dependent on configuration settings in the PHP application. Jess.
 [2004-10-08 08:15 UTC] User who submitted this comment has not confirmed identity
If you submitted this note, check your email.If you do not have a message, click here to re-send
MANUAL CONFIRMATION IS NOT POSSIBLE.  Write a message to pear-dev@lists.php.net
to request the confirmation link.  All bugs/comments/patches associated with this

email address will be deleted within 48 hours if the account request is not confirmed!