Project

General

Profile

Actions

Bug #24616

closed

New page links in new record wizards are not configurable

Added by Francois Suter about 13 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Should have
Category:
Backend User Interface
Target version:
Start date:
2011-01-17
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
4.6
PHP Version:
5.3
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

Pretty much everything is configurable in the new record wizard (typo3/db_new.php), except for the three links to create new pages (after, inside and select position).

The attached patch introduces new Page TSconfig options to that effect.

I'm just opening this bug report in order not to lose track of this change, but it will go into 4.6 (too late for 4.5).
(issue imported from #M17086)


Files

17086.diff (3.4 KB) 17086.diff Administrator Admin, 2011-01-17 16:25
page_inside_hidden.png (31.6 KB) page_inside_hidden.png Francois Suter, 2011-05-31 11:06
Bildschirmfoto_2011-06-01_um_16.40.05.png (344 KB) Bildschirmfoto_2011-06-01_um_16.40.05.png Andy Grunwald, 2011-06-01 16:48
Actions #1

Updated by Francois Suter about 13 years ago

Original patch by Fabien Udriot, with some changes by me.

Actions #2

Updated by Francois Suter almost 13 years ago

  • Category set to Backend User Interface
  • Status changed from New to Accepted
  • Assignee set to Francois Suter
  • TYPO3 Version changed from 4.5 to 4.6

The new options are:

  • mod.wizards.newRecord.pages.show.pageInside
  • mod.wizards.newRecord.pages.show.pageAfter
  • mod.wizards.newRecord.pages.show.pageSelectPosition

For example, setting:

mod.wizards.newRecord.pages.show.pageInside = 0

will hide the "Page (inside)" link (see screenshot).

Actions #4

Updated by Francois Suter almost 13 years ago

Proposed text for documentation (if and when patch gets committed).

Property: pages
Data type: boolean
Description:
Use the following sub-properties to show or hide the links to create new pages after, inside or at a selected position.

show.pageAfter
show.pageInside
show.pageSelectPosition

Setting any of these properties to 0 will hide the corresponding link. Any other value will leave it visible.

Example:
mod.wizards.newRecord.pages.show.pageInside = 0

hides the "Page (inside)" link (screenshot to be added).

Default: not set (hence all links are visible)

Actions #5

Updated by Mr. Hudson almost 13 years ago

Patch set 1 of change I7efd0fb710f8026b34c1c9cbbbe8f8f1d43693cc has been pushed to the review server.
It is available at http://review.typo3.org/2450

Actions #6

Updated by Andy Grunwald almost 13 years ago

The following setup produces the output visible on the picture:

mod.wizards.newRecord.pages.show.pageInside = 1
mod.wizards.newRecord.pages.show.pageAfter = 1
mod.wizards.newRecord.pages.show.pageSelectPosition = 0

The space between pages an content elements is missing.
Actions #7

Updated by Mr. Hudson almost 13 years ago

Patch set 2 of change I7efd0fb710f8026b34c1c9cbbbe8f8f1d43693cc has been pushed to the review server.
It is available at http://review.typo3.org/2450

Actions #8

Updated by Francois Suter almost 13 years ago

  • Status changed from Accepted to Resolved
  • % Done changed from 0 to 100
Actions #9

Updated by Chris topher almost 13 years ago

Documentation has been added.

Actions #10

Updated by Riccardo De Contardi over 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF