Opened 17 years ago

Closed 17 years ago

#6975 closed (duplicate)

Feature request: allow blocks to appear more than once

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

Description

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.

Thanks

Change History (1)

comment:1 by James Bennett, 17 years ago

Resolution: duplicate
Status: newclosed

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