[TYPO3-english] [Tesseract] Filter does not work

Daniel Doesburg | DOESBURG.BIZ daniel at typo3-nl.eu
Mon May 23 00:33:49 CEST 2011


		
		
Hi François,

Thanks for your answer.

I've done the following:

In all extensions, who had the possibility, set the debug function.
Installed devlog

The first page (first tutorial on the website) gives a nice devlog output

The other page (with filter) does not give any output. No list and no 
devlog output.

I copied the Data query and the Display from the first to the second 
page and changed the plugin to use the copied versions.

Same result. If I not use the filter I get a nice output and some nice 
messages in devlog.

As soon as I activate the filter I get no output. Not on the page and 
nothing for devlog.

The only thing in the filter I added is a title and in the configuration 
"admin=1". And I'm sure there is an admin in the database :-)

And also "admin=0" in the filter gives no output.

Did you mean to add "&debug[structure]=1" to the url? No reaction.


Any idea?


Best regards,

Daniel Doesburg





François Suter schreef:
Hi Daniel,

I would play some with Tesseract. And I build the example of the site.
Looks fantastic and full of promises for fast programming.

And the first tutorial was a breeze.

Glad to hear that :-)

But the second was my Waterloo.

OK, let's try to get you out of that.

The filter to show only admins of editors did not work.

I've tried this options after the instructions of the manuals on the
website:

1. added the field admin to the select statement
2. In the filter changed "admin=0" to "be_users.admin=0"
3. In the filter changed "admin=0" to "main.be_users.admin=0"
4. In the filter changed "admin=0" to "main.admin=0"

All of this should change the result.

5. Tested in TYPO3 4.5.2 and in TYPO3 4.6alpha

Should work fine with 4.5.2. Haven't tested yet with 4.6.

In all tests the list with editors stays empty.

As far as I know I've installed the extensions in the preferred order.

Good.

What else can be wrong?

That's hard to say with the above information. Here's some information
you could add:

- a screenshot of the displaycontroller content element showing the
relations between the components
- activate the debug mode of dataquery and check what SQL query is
produced. This is probably the most useful.
- when viewing your page, you can also add the following to the query
string:

&debug[structure]=1

This will instruct templatedisplay to debug() the data structure. But it
will probably be empty. Checking the SQL query generated by dataquery is
probably the most useful.

HTH






More information about the TYPO3-english mailing list