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 8604899
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T02:41:26+00:00 2026-06-12T02:41:26+00:00

My Problem : I cannot get my jade blocks to extend My Setup :

  • 0

My Problem: I cannot get my jade blocks to extend
My Setup: Running the latest NodeJS with Express 3

I’m loading some HTML via Ajax using a Post method

app.post "/utilities", (req, res) ->
  res.render "utilities", layout:false

In Utilities I have the content, and I’m trying to break up everything into chunks so that this page isn’t so busy

// utilities.jade

div#topPanel
  section#toolMenu
    block tool // <- won't load

  div#rightPanel
    section#screen
    section#userWindow
      block user // <- won't load

section#chatWindow
  block chat // <- won't load (example case)

And lastly I have the individual blocks that follow this structure

// chat-block.jade
extends utilities

block chat
  div.inner
    div.left
      form#chat-input
        textarea
    div.window
      div.full
  • 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-12T02:41:27+00:00Added an answer on June 12, 2026 at 2:41 am

    I think what you want to do is to include chunks of jade into your main file.

    Change to following code

    section#chatWindow
      block chat // <- won't load (example case)
    

    to

    section#chatWindow
      include chat
    

    and your chat-block.jade to

    div.inner
      div.left
        form#chat-input
          textarea
        div.window
          div.full
    

    Then it works fine!

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

This is a very old problem, but I cannot seem to get my head
I am having many problems running DJ. Primarily, I cannot get delayed_job running any
I cannot get execv() to work in my C program. I suspect the problem
I cannot get the Theme.Dialog activity to get smaller. The problem is that i
This seems like a very simple problem, but I cannot get a scrollbox to
Question: I have an annoying problem with nhibernate. The problem is I cannot get
The problem we are having is that we cannot get binding to work in
I'm having the problem that I cannot get client-side validation to fire from within
There seems to be a problem with Security component when enabled, I cannot get
I have a problem with my code, I cannot get it the 'test' to

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.