Project

General

Profile

Actions

Feature #19169

closed

Integrate hook in page module to render preview of records with own CType

Added by Oliver Hader over 15 years ago. Updated over 13 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
-
Target version:
-
Start date:
2008-07-30
Due date:
% Done:

0%

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

Description

The method tt_content_drawItem in tx_cms_layout (page module view) renders a preview for each defined CType, like header, text, textpic, etc. If an own CType is used, e.g. "tx_myext_pi1", the bodytext field is rendered by default and nothing less or more.

A solution for individual CTypes would be to introduce a hook that is able to render the preview of the accordant record.

In general the page module would be happy with kind of refactoring... ;-)
(issue imported from #M9078)


Files

0009078.patch (1.16 KB) 0009078.patch Administrator Admin, 2008-07-30 16:12
0009078_v2.diff (14.7 KB) 0009078_v2.diff Administrator Admin, 2008-08-12 17:46
Actions

Also available in: Atom PDF