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
How to Customize Templates?
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
 
easypie  
View profile  
 More options Aug 27 2012, 2:32 pm
From: easypie <program...@gmail.com>
Date: Mon, 27 Aug 2012 11:32:43 -0700 (PDT)
Local: Mon, Aug 27 2012 2:32 pm
Subject: How to Customize Templates?

How would I go about customizing the templates? What I usually do is copy
the templates I want to edit over to the project's 'templates' folder.

/project
|-- templates
    |-- base.html
    |-- index.html
    ...

I want to customize the template by organizing them into their own folders.
I want all templates related to 'core' in 'core' and 'pages' in 'pages'

/project
|-- templates
    |-- core
        |-- base.html
        |-- index.html
        ...
    |-- pages
        |-- index.html
        |-- page.html


 
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.
Stephen McDonald  
View profile  
 More options Aug 27 2012, 4:37 pm
From: Stephen McDonald <st...@jupo.org>
Date: Tue, 28 Aug 2012 06:37:05 +1000
Local: Mon, Aug 27 2012 4:37 pm
Subject: Re: [mezzanine-users] How to Customize Templates?

That's the correct approach and all the templetes are broken into
sub-directories, except for those that live in core - those go in the root
templates directory as they're generally things that are used site-wide.

--
Stephen McDonald
http://jupo.org

 
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.
ArrantSquid  
View profile  
 More options Sep 3 2012, 9:12 pm
From: ArrantSquid <arrantsq...@gmail.com>
Date: Mon, 3 Sep 2012 18:12:55 -0700 (PDT)
Local: Mon, Sep 3 2012 9:12 pm
Subject: Re: How to Customize Templates?

You can also check here (this hit the mailing list a few months ago):

http://www.rosslaird.com/blog/customizing-mezzanine/

-John


 
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 »