Project

General

Profile

Actions

Feature #21685

closed

Enable easier mail form styling

Added by Florian Carstens almost 15 years ago. Updated about 11 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2009-11-25
Due date:
% Done:

0%

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

Description

The standard typo3 mail form doesn't allow to style single form elements by their respective types, because there is no possibility to output the type information in the html.

The output of the type information for each form element could be easily accomplished by adding the following line to tslib_cObj::FORM (typo3/sysext/cms/tslib/class.tslib_content.php):

$result = str_replace('###TYPE###',$confData['type'],$result);

on line 2131 in trunk version (see applied patch)

This way I can setup the following typoscript setup:

tt_content.mailform.20 {
layout = <dl class="###TYPE###">###LABEL###<dd>###FIELD###</dd></dl>
}

(issue imported from #M12749)


Files

typo3-mail-form.patch (604 Bytes) typo3-mail-form.patch Administrator Admin, 2009-11-25 12:48
Actions #1

Updated by Alexander Opitz over 11 years ago

  • Category deleted (Communication)
  • Status changed from New to Needs Feedback
  • Target version deleted (0)

As this report is very old, is the handling in newer TYPO3 CMS Versions (like 6.0/6.1) more like you expect it?

Actions #2

Updated by Alexander Opitz about 11 years ago

  • Status changed from Needs Feedback to Closed

No feedback for over 90 days.

Actions

Also available in: Atom PDF