How to get filename in Typo3 solr extension with FAL and own Extbase extension -


before fal, can filename of image own extbase extension in solr config file "typo3/ext/solr/configuration/typoscript/solr/setup.txt" via

index {     queue {         tx_myextension = 1         tx_myextension {             fields {                 ...                 myimage_strings = articleimage                 ...             }            }     } } 

where "articleimage" database field image filename. since fal, in "articleimage" "1" saved, , filename gone of sys_* tables.

i wonder how filename inside solr extension -> setup.txt file?

using solr extension v3.0.0 on typo3 v6.2 solr 4.8.

solution found:

index {     queue {         tx_myextension = 1         tx_myextension {             fields {                 ...                 bild_strings = files                 bild_strings {                         references {                                   table=tx_myextension_model_name                                   uid.data = field:uid                                   fieldname=artikelbild                         }                         renderobj = text                         renderobj {                                   stdwrap.data = file:current:publicurl                                   stdwrap.wrap = |                         }                 }             }         }     } } 

this way url, can put out in solr template.


Comments

Popular posts from this blog

apache - PHP Soap issue while content length is larger -

asynchronous - Python asyncio task got bad yield -

javascript - Complete OpenIDConnect auth when requesting via Ajax -