[TYPO3-Solr] Display author, type, created/changed date in the result
Tobias Schaefer
tobias.schaefer at ptb.de
Thu Oct 25 11:05:01 CEST 2012
Hi Horea,
thank you for your hints. The markers exist indead and the viewhelpers like
DATE and IF are really useful.
Kind regards,
Tobias Schäfer
> Hi Tobias,
>
> Here is the wiki page of the project :
> http://forge.typo3.org/projects/extension-solr/wiki
> <http://forge.typo3.org/projects/extension-solr/wiki/Templating> Here
> you can find some details about templating
> http://forge.typo3.org/projects/extension-solr/wiki/Templating
>
> ###RESULT_DOCUMENT.AUTHOR### should work. Did you put it inside the
> correct subpart (<!-- ###LOOP:RESULT_DOCUMENTS### begin --><!--
> ###LOOP_CONTENT### -->...)?
> The template is solr/resources/templates/pi_results/results.htm
> PS. Be sure that the field Author is not empty and the record is
> indexed and commited.
>
> I hope this helps.
>
> Horea
>
> On 24.10.2012 20:29, Tobias Schaefer wrote:
>
>> Hi list,
>>
>> how is it possible to display the author, type and the
>> created/changed
>> date of a page or tt_news-entry in the result?
>> Since it's possible to sort the result by author, type and
>> created/changed date this informations must be present.
>> I tried to alter the result-template by adding a marker
>> ###RESULT_DOCUMENT.AUTHOR###. Of course I was just guessing the name
>> of the marker since I couldn't find any documentation about the
>> available markers.
>> I'm using solr 2.2.2 (TER) and TYPO3 4.5.20.
>> Kind regards,
>>
>> Tobias Schäfer
>>
>> _______________________________________________
>> TYPO3-project-solr mailing list
>> TYPO3-project-solr at lists.typo3.org
>> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-project-solr
More information about the TYPO3-project-solr
mailing list