>Anyone have a way that I can enable the custom prefix of a tag library
>within every page of my site, including includes?
find . -name "*.cfm" | xargs grep -L "<cfimport prefix=\"ui\"
taglib=\"/system/ui\">" | xargs sed -i.bak -e "1i<cfimport prefix=\"ui\"
taglib=\"/system/ui\">"
Execute from the root of your cf site.
Will add "<cfimport prefix="ui\" taglib="/system/ui">" as the first line
of every cfm file that doesn't already contain it (*after* making a
backup of the file - foo.cfm -> foo.cfm.bak)
Requires several of the gnuwin32 utils from sourceforge:
find
xargs
grep
sed
all hail the power of the command line.
/t
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking
application. Start tracking and documenting hours spent on a project or with a
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224512
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54