From: Alexander L. <li...@us...> - 2003-10-31 18:34:18
|
Update of /cvsroot/collective/ExampleFileSystemSkin In directory sc8-pr-cvs1:/tmp/cvs-serv4274 Added Files: .cvsignore README.txt __init__.py __init__.pyc refresh.txt version.txt Log Message: Initial check-in. --- NEW FILE: __init__.py --- """ $Id: __init__.py,v 1.1 2003/10/31 18:34:15 limi Exp $ """ from Products.CMFCore import CMFCorePermissions from Products.CMFCore.DirectoryView import registerDirectory skin_globals=globals() # Make the skins available as DirectoryViews. registerDirectory('skins', skin_globals) --- NEW FILE: version.txt --- 1.0 --- NEW FILE: refresh.txt --- This product supports being refreshed from the ZMI. --- NEW FILE: .cvsignore --- *~ *.pyc --- NEW FILE: README.txt --- Example File System Skin This Product demonstrates how you can put your skins on the file system. Use this as a base for filesystem-based skins. Using this Product, you can distribute your skin as an installable Product that shows up in Plone's 'Add/Remove Products' control panel. Usage Instructions: 1. Rename 'ExampleFileSystemSkin' at the top and inside the 'skins' to whatever you want to call your skin/product. 2. Replace all references to 'ExampleFileSystemSkin' in the 'Extensions/Install.py' file with the same name as in step 1. 3. If you have several directories (one for images, one for templates), you can add them to the list in the line of 'Install.py' that looks like this:: skin_names = ('ExampleFileSystemSkin','MyAddedSkinDirectory') 4. Use the 'Refresh' tab in Control Panel -> Product Management -> YourProduct -> Refresh to update your skin changes if you are not running Zope in debug mode. 5. Remember that you will need to reinstall if you add additonal directories. Credits By Helge Tesdal and Alexander Limi from "Plone Solutions":http://www.plonesolutions.com - Plone Development, Training, Support. --- NEW FILE: __init__.pyc --- (This appears to be a binary file; contents omitted.) |