source: products/quintagroup.themetemplate/trunk/quintagroup/themetemplate/localcommands/templates/viewlet/browser/viewlets.py_insert @ 1005

Last change on this file since 1005 was 1005, checked in by mylan, 15 years ago

Import package: Copied http://svn.quintagroup.com/products/qtheme.template/trunk@2041 + modifications concerning changed package name, namespace

File size: 331 bytes
Line 
1\#from Products.CMFCore.utils import getToolByName
2\#from Products.Five.browser.pagetemplatefile import ViewPageTemplateFile
3\#from plone.app.layout.viewlets import common
4
5\#\# -*- extra stuff goes here -*-
6
7class ${viewlet_class_name}(common.ViewletBase):
8    render = ViewPageTemplateFile('templates/${viewlet_template_name}')
9
Note: See TracBrowser for help on using the repository browser.