[TYPO3] Third try: Print a list of image filenames to the page?
Mike
php at talkingspider.com
Mon Sep 25 03:26:54 CEST 2006
>
>Well, on the basis of what conditions do you want to select content?
>There's no magic; in the CONTENT object you're doing a perfectly
>conventional database query (using the .select property the properties
>of which can be found in the TSref under 'functions'). You have to
>specify the WHERE clause of the sql query just as you'd have to in
>php.
>
>-Christopher
Yea- see that's exactly my question, how do I construct a query that
will give me like "the second content object down on the list in the
left column"? I was looking at the tt_content table in the database,
and I can't see how I could do it. I actually wish there was just
like an arbitrary field in the typo3 back end like "label" and I
could label a content item in whatever way I wanted and construct the
query like "where label='myidentifier' ". I could hijack one of the
existing fields in there and use it for that purpose, but then the
label will show up on the page. (Plus that's kind of a hack...) I
figured there has to be an established way of doing this.
More information about the TYPO3-english
mailing list