Project

General

Profile

Actions

Feature #17874

closed

Add suggest-like feature to TCEforms

Added by Andreas Wolf almost 17 years ago. Updated over 14 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
-
Start date:
2007-12-02
Due date:
% Done:

0%

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

Description

The current way of inserting records into relation-fields is quite complicated - you have to open the element browser, go your way to the page where the record is stored and insert it. This can be really time-consuming, especially when having a deeply nested, complicated structure of pages.

This patch adds a feature like seen in Google suggest or other applications. When enabled, it displays an input field below (and - planned - right to) the list of related records. See the attached screenshot for an example.
The feature uses script.aculo.us to display the selector and an extended version of alt_doc_ajax.php originally made by Oliver Hader.

To test it, apply the attached patch to TYPO3 4.1.x or 4.2-dev. The patch has been made against 4.1, but it also applies to trunk without any serious hassle.
Then install the extension demo_ajaxselect, which is also attached to this report. Insert a record of type "Demo record for AJAX selector" to have a record with two ajax-capable fields. You also have to add the following configuration to TSconfig (some of it should be set by default when this patch gets into core):

TCEMAIN {
default.ajaxSelector { # limits the selection to page 1 and its subpages
pid = 1 # sets the default renderlet for all records
AJAXclass = ajax_select
}

pages.ajaxSelector {
  # only select the subpages of the pid defined above when selecting pages
  # other records will still be fetched from all subpages
pidDepth = 0
}
  1. define some alternative settings for the extensions a21glossary and party
    tx_a21glossary_main.ajaxSelector {
    AJAXclass = tx_a21glossary_ajaxselect
    pid = 23
    }
    tx_party_parties.ajaxSelector {
    AJAXclass = tx_party_ajaxselect
    }
    }

IMPORTANT: To be able to fully test the extension, please install a21glossary and party (from typo3xdev SVN).

(issue imported from #M6872)


Files

ajaxselector.png (25.8 KB) ajaxselector.png Administrator Admin, 2007-12-02 14:41
group_suggest.gif (97 Bytes) group_suggest.gif Administrator Admin, 2007-12-30 21:25
T3X_demo_ajaxselect-0_0_0-z-200801201834.t3x (11.7 KB) T3X_demo_ajaxselect-0_0_0-z-200801201834.t3x Administrator Admin, 2008-01-20 18:33
suggest_v3.diff (31.8 KB) suggest_v3.diff Administrator Admin, 2008-01-20 18:34
suggest_v4.diff (32.8 KB) suggest_v4.diff Administrator Admin, 2008-01-28 12:05
suggest_v5.diff (38.9 KB) suggest_v5.diff Administrator Admin, 2009-05-20 00:16
T3X_demo_ajaxselect-0_0_0-z-200905200017.t3x (11.7 KB) T3X_demo_ajaxselect-0_0_0-z-200905200017.t3x Administrator Admin, 2009-05-20 00:17
tceforms-suggest-v6.patch (34 KB) tceforms-suggest-v6.patch Administrator Admin, 2009-06-15 15:38
0006872_tceforms-suggest-v7.diff (68.4 KB) 0006872_tceforms-suggest-v7.diff Administrator Admin, 2009-06-26 11:03
0006872_tceforms-suggest-v8.diff (69.3 KB) 0006872_tceforms-suggest-v8.diff Administrator Admin, 2009-07-23 09:56
0006872_tceforms-suggest-v9.diff (69.8 KB) 0006872_tceforms-suggest-v9.diff Administrator Admin, 2009-09-03 22:51
0006872_tceforms-suggest-v8-to-v9.diff (1.86 KB) 0006872_tceforms-suggest-v8-to-v9.diff Administrator Admin, 2009-09-03 22:51

Related issues 7 (0 open7 closed)

Related to TYPO3 Core - Bug #21036: Use suggest feature in system extensionsClosedRupert Germann2009-09-11

Actions
Related to TYPO3 Core - Bug #21034: Use suggest feature in coreClosedSteffen Kamper2009-09-11

Actions
Related to TYPO3 Core - Bug #21026: TCEforms suggest fails with empty label or label_alt fieldClosedRupert Germann2009-09-10

Actions
Related to TYPO3 Core - Bug #21061: TCEforms suggest sometimes uses incorrect permissions to show recordsClosed2009-09-15

Actions
Related to TYPO3 Core - Bug #21924: suggest wizard does not work properly with TCA fields of type "select"ClosedTolleiv Nietsch2010-01-07

Actions
Related to TYPO3 Core - Bug #21342: Improve TCEforms SuggestClosed2009-10-22

Actions
Related to TYPO3 Core - Bug #21723: "find record" search filed for web site users and groupsClosed2009-11-27

Actions
Actions

Also available in: Atom PDF