[TYPO3-english] socials -> change template path

Robert Wildling robertwildling at gmail.com
Sun Jun 3 13:28:31 CEST 2012


Thanks, Georg!

Strangely enough TYPO3 doesn't care about whether there is a slash or 
not. The really important part is the folder called "Share". My folder 
structure is now:

fileadmin/_layout/templates/socials/Share/Show.html

with this TS:

plugin.tx_socials {
   view {
       templateRootPath = fileadmin/_layout/templates/socials/
     }
}

Now I hope there is a way to change the icons... :-)

Thanks for your help!

Robert


> Am 03.06.2012 12:41, schrieb Robert Wildling:
>> plugin.tx_socials {
>>    view {
>>      templateRootPath = fileadmin/_layout/templates/socials
>>    }
>>
>
> IMO a / at the end is needed
>
>> I also wonder how the ext knows about the *name* of the template file?
>> Is it always Show.html?
>
> yes, as the action is called showAction()
>
> georg



More information about the TYPO3-english mailing list