Opened 8 years ago

Closed 8 years ago

#6975 closed (duplicate)

Feature request: allow blocks to appear more than once

Reported by: MihaiD Owned by: nobody
Component: Template system Version: master
Severity: Keywords:
Cc: template, block, multiple Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:


Wouldn't it be nice if a template accepted multiple appearances of a block?

I'm thinking of declaring a {% block <name> %} in a template and then extending another template where {% block <name> %} appears more than once.

Sometimes you need identical content displayed in multiple regions of a web page. As the system works now I would have to define two blocks for this and every time I make a change to one of them, remember to change the other. A bit redundant.


Change History (1)

comment:1 Changed 8 years ago by ubernostrum

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Resolution set to duplicate
  • Status changed from new to closed

Duplicate of #4529. Please search the tracker for existing issues before filing a new one.

Note: See TracTickets for help on using tickets.
Back to Top