Did I find the right examples for you? yes no

All Samples(8)  |  Call(4)  |  Derive(0)  |  Import(4)

src/p/l/plone.app.theming-1.2.0/src/plone/app/theming/transform.py   plone.app.theming(Download)
 
from plone.app.theming.utils import compileThemeTransform
from plone.app.theming.utils import prepareThemeParameters
from plone.app.theming.utils import isThemeEnabled
from plone.app.theming.utils import findContext
 
            parameterExpressions = settings.parameterExpressions or {}
            params = prepareThemeParameters(findContext(self.request), self.request, parameterExpressions, cache)
 
            transformed = transform(result.tree, **params)

src/p/l/plone.app.theming-HEAD/src/plone/app/theming/transform.py   plone.app.theming(Download)
 
from plone.app.theming.utils import compileThemeTransform
from plone.app.theming.utils import prepareThemeParameters
from plone.app.theming.utils import isThemeEnabled
from plone.app.theming.utils import findContext
 
            parameterExpressions = settings.parameterExpressions or {}
            params = prepareThemeParameters(findContext(self.request), self.request, parameterExpressions, cache)
 
            transformed = transform(result.tree, **params)

src/p/l/plone.app.theming-1.2.0/src/plone/app/theming/browser/mapper.py   plone.app.theming(Download)
from repoze.xmliter.utils import getHTMLSerializer
from plone.app.theming.utils import compileThemeTransform
from plone.app.theming.utils import prepareThemeParameters
from plone.app.theming.utils import getCurrentTheme
 
                return self.theme_error_template(error=e.msg)
 
            params = prepareThemeParameters(context, self.request, themeInfo.parameterExpressions or {})
 
            # Fix url and path since the request gave us this view

src/p/l/plone.app.theming-HEAD/src/plone/app/theming/browser/mapper.py   plone.app.theming(Download)
from repoze.xmliter.utils import getHTMLSerializer
from plone.app.theming.utils import compileThemeTransform
from plone.app.theming.utils import prepareThemeParameters
from plone.app.theming.utils import getCurrentTheme
 
                return self.theme_error_template(error=e.msg)
 
            params = prepareThemeParameters(context, self.request, themeInfo.parameterExpressions or {})
 
            # Fix url and path since the request gave us this view