Mako is no longer bundled with Pyramid, nor is it the only templating engine 
available to pyramid.

See:

pyramid_jinja2
pyramid_mako
pyramid_chameleon

If you build your main application using the asset stuff built into pyramid, 
you can then create another package that overrides those assets.

See this page for more information: 
http://docs.pylonsproject.org/projects/pyramid/en/latest/narr/assets.html#overriding-assets

Bert JW Regeer

On Jan 22, 2014, at 09:21 , Devon Meunier <[email protected]> wrote:

> So as far as I understand this, you want to either have multiple sets of 
> templates or CSS.
> 
> For templates, you can change the configuration of `mako.directories` (see: 
> http://docs.pylonsproject.org/projects/pyramid/en/latest/narr/environment.html#mako-module-directory)
>  and just mirror the same filenames between theme folders. This only works 
> application-wide and not per-user, in which case you probably just want to 
> dynamically load the appropriate css style in your template itself.
> 
> On Wed, Jan 22, 2014 at 7:58 AM, Winston Ferreira <[email protected]> 
> wrote:
>> Hello, 
>> I am new at Pyramid so forgive if my question may seen stupid.
>> 
>> I come from the Plone world where theme and app are diferrente packages 
>> (mypackage.theme and mypackage.app) and I was wondering if this is possible 
>> with pyramid.
>> And if possible, what is the best way to implement this?
>> 
>> Thanks.
>> 
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "pylons-discuss" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected].
>> To post to this group, send email to [email protected].
>> Visit this group at http://groups.google.com/group/pylons-discuss.
>> For more options, visit https://groups.google.com/groups/opt_out.
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "pylons-discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/pylons-discuss.
> For more options, visit https://groups.google.com/groups/opt_out.

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to