[TYPO3-core] RFC #6872: Add suggest-like feature to TCEforms

Andreas Wolf typo3ml at andreaswolf.info
Wed Jul 22 19:51:55 CEST 2009


Hi Steffen,

Steffen Müller schrieb:
> I tested on website with a bunch of pages, rootpage pid=1.
> allowed tables is pages.
> To get all available pages in the suggest result I used:
> TCEFORM.default.suggest {
>   pidList = 1
>   pidDepth = 99
> }
> 
> I copied some pages to subpages to get several items with the same title.
> But when I search for this page title, I do not see all pages with that
> title. A lot of pages where missing in my resultset.
> It seems the query ignores pidDepth and does not dig into more than one
> subpage.

you're right. There was an error in the page selector function, which is
fixed in the patch I attached.

I also fixed a problem with your change for configurable max items: It
lead to only one item being selected. The change is also in the patch I
attached, but they are two separate commits in my personal git
development repository. So if neccessary, I can easily separate them.

I'll post a v8 of the patch to the bugtracker and this list later on.

> One minor:
> The position of the search field is configurable by suggest.position but
> there is no predefined CSS class except position-right.

Ok, I'll add styles if neccessary.

Regards

Andreas
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0006872_tceforms-suggest-v7-fixes-depth-maxitems.diff
Url: http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20090722/c2c4d72e/attachment.txt 


More information about the TYPO3-team-core mailing list