Menu

#12 CSS ~tag~ limitations

-current
open
Core (8)
7
2005-01-14
2005-01-14
No

although ~tags~ are provided to the content and
themes, css files and any other included files for that
matter do no have this ability exposed.

suggested fix:

create a simple phplet that will process and output the
requested file. it could work something like the get.php
phplet i.e.:

tags.php?q=file.css

that should process the css file to scan it for any
~tags~ and do the necessary replacements, then sent
the output to the browser like get.php

limitation: limit this to text/plain files only

to simplify the process, add a tag similar to ~tdir~ that
will generate the above url automatically:

~tags file.ext~ will generate tags.php?q=file.css

Discussion


Log in to post a comment.

MongoDB Logo MongoDB