Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Default doctype in Chameleon
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  3 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Theron Luhn  
View profile  
 More options Apr 30 2012, 5:44 pm
From: Theron Luhn <the...@luhn.com>
Date: Mon, 30 Apr 2012 14:44:27 -0700 (PDT)
Local: Mon, Apr 30 2012 5:44 pm
Subject: Default doctype in Chameleon

I want to specify a default doctype in Chameleon. Google told me this is
how to do it:

In Chameleon you can provide a ``doctype`` keyword argument to the

> template constructor which will act as a default doctype.

How do I do that in Pyramid?

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Chris McDonough  
View profile  
 More options Apr 30 2012, 5:51 pm
From: Chris McDonough <chr...@plope.com>
Date: Mon, 30 Apr 2012 17:51:31 -0400
Local: Mon, Apr 30 2012 5:51 pm
Subject: Re: Default doctype in Chameleon
On 04/30/2012 05:44 PM, Theron Luhn wrote:

> I want to specify a default doctype in Chameleon. Google told me this is
> how to do it:

>     In Chameleon you can provide a ``doctype`` keyword argument to the
>     template constructor which will act as a default doctype.

> How do I do that in Pyramid?

Afraid the Pyramid renderer associated with chameleon templates doesn't
provide a way to set this value.  At the moment, you'd have to create
your own renderer as per
<http://docs.pylonsproject.org/projects/pyramid/en/1.3-branch/narr/ren...>

- C


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Malthe Borch  
View profile  
 More options May 1 2012, 2:17 am
From: Malthe Borch <mbo...@gmail.com>
Date: Tue, 1 May 2012 08:17:47 +0200
Local: Tues, May 1 2012 2:17 am
Subject: Re: Default doctype in Chameleon
On 30 April 2012 23:44, Theron Luhn <the...@luhn.com> wrote:

> I want to specify a default doctype in Chameleon.

> How do I do that in Pyramid?

You can use a "master" template and put the doctype in there, as XML.

\malthe


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »