Project

General

Profile

Actions

Feature #31303

open

Insert Records: Ability to override header of source record

Added by Urs Braem about 13 years ago. Updated about 2 years ago.

Status:
Accepted
Priority:
Should have
Assignee:
-
Category:
Frontend
Start date:
2011-10-26
Due date:
% Done:

0%

Estimated time:
PHP Version:
Tags:
Complexity:
Sprint Focus:

Description

When inserting a record, it will pick up the header from the original article.

That doesn't fit the needs in many cases, as the context for the inserted article is a different one, and a modification in the header may be needed for clarification.

The original header should be overridden by the Field currently labelled as "name" (if not empty).

An example:

Page 1:
<h1>London branch</h1>
<h2>Our partners</h2>
McKenzie
McBuffet

Page 2:
<h1>Berlin branch</h1>
<h2>Our partners</h2>
Hermann & Söhne
August & Co

Page 3:
<h1>Our global partners</h1>
<h2>Our partners</h2>
McKenzie
McBuffet
<h2>Our partners</h2>
Hermann & Söhne
August & Co

-> The h2s on Page 3 should be overrideable with a custom text to state the context:

Page 3:
<h1>Our global partners</h1>
<h2>London</h2>
McKenzie
McBuffet
<h2>Berlin</h2>
Hermann & Söhne
August & Co

One client of mine has for years been structuring his content in an odd way to escape this: he splits an article into a header and a content part, so he can later on reference only the content and place a different header before. Which leads to 3 content elements and a shortcut instead of 1 and a shortcut.

Actions

Also available in: Atom PDF