Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8079567
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T16:08:50+00:00 2026-06-05T16:08:50+00:00

I am using latest Pyramid to build a web app. Somehow we have started

  • 0

I am using latest Pyramid to build a web app. Somehow we have started using Chameleon as the template engine. I have used Mako before and it was extremely simple to create a base template. Is this possible with chameleon as well?

I have tried to look through the docs but I can not seem to find an easy solution.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-05T16:08:52+00:00Added an answer on June 5, 2026 at 4:08 pm

    With Chameleon >= 2.7.0 you can use the “load” TALES expression. Example:

    main.pt:

    <html>
    <head>
        <div metal:define-slot="head"></div>
    </head>
    <body>
        <ul id="menu">
            <li><a href="">Item 1</a></li>
            <li><a href="">Item 2</a></li>
            <li><a href="">Item 3</a></li>
        </ul>
        <div metal:define-slot="content"></div>
    </body>
    </html>
    

    my_view.pt:

    <html metal:use-macro="load: main.pt">
    
    <div metal:fill-slot="content">
        <p>Bonjour tout le monde.</p>
    </div>
    
    </html>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Does anybody using latest enterprise library 4.1 in mono? I used mono migration analyzer
I am using latest Apache CXF to create a webservice. I have configured ws-security
I have experienced strange functionality of subversion. We are using latest 1.6 Svn server
Im using latest TCPDF version(5.9). But have some strange problems with encoding. I need
Hello I have a problem using latest vim with omnicompletion while editing a file
I am Using latest version of Jasper Reports .I used two frames in detail
Im using latest SVN 2.2 build compiled with VS 2008. When I build my
I am using latest version of jQuery Autocompletion plugin and have populated an array
I am using latest PHP and latest MySQL. I have tried htmlspecialchars and mysql_real_escape_string
I'm developing an iOS 4 application using latest SDK and XCode 4.2. I have

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.