[Typo3] how to change one of the three layouts for filelinks
Markus Massak
markus.massak at dataport.at
Tue Oct 4 00:14:28 CEST 2005
if someone's interested:
the easiest for me was to hack the source of
class.tx_cssstyledcontent_pi1.php.
Simply added the following piece of code from line 262 :
// Workaround for displaying descriptions as link instead of filenames
$dummy = $filesData[$key]['linkedFilenameParts'][1];
$dummy = substr($dummy, 0,
strpos($dummy,">")-1).$filesData[$key]['description'].'</a>';
$filesData[$key]['linkedFilenameParts'][1] = $dummy;
"Markus Massak" <markus.massak at dataport.at> schrieb im Newsbeitrag
news:mailman.1.1128196179.15300.typo3-english at lists.netfielders.de...
> Hi group,
>
> How can I change a layout?
> Especially, I want the filelink description to be displayed as link
instead
> of the file name.
>
> btw: i added this line to my constants section of the template but it
didn't
> change anything ... whats wrong?
> styles.content.uploads.labelWrap = <b> | </b>
> ...but these wrap-settings won't solve my problem (see above) anyway!
>
> I read about other users having this problem but I didn't found any
> appropriate solutions on the web nor in the books.
>
> Any help appreciated!
>
> --
> Markus Massak
>
>
>
>
>
More information about the TYPO3-english
mailing list