Ah, I realize now, the differnce with me is that I have the uploads as a
content element and you place it directly with TS only.
But how does this work? How do you tell it which files to link?
Am 18.05.11 17:58, schrieb Urs Bräm:
Hey Enrique
with me, it does work. I have set
tt_content.uploads.20.itemRendering.20.1.cropHTML = 2|...
in an extension Template after all the other TS
and instead of "file.xls"
I get "fi.." (which might not be what you need?)
Are you familiar with the TSOB? There you can check if the setting kicks
in.
> MAIN< tt_content.uploads
> MAIN.20.itemRendering.20.1.cropHTML = 16|...
I think applying the TS to the marker you've copied the object into is
only necessary with temp.-objects. You should be able to write into
tt_content directly.
You can also always extract the entire TS Block for uploads from
css_styled_content, place it in an Ext.Template and fiddle there.
Regards
Urs
Am 17.05.11 09:18, schrieb Enrique Moreno Tent:
Hi Urs. Unfortunately, that did NOT work for me. :( This is the code now:
MAIN< tt_content.uploads
MAIN.20.itemRendering.20.1.cropHTML = 16|...
On Mon, May 16, 2011 at 7:57 PM, Urs Bräm<[email protected]> wrote:
Hi Enrique
tt_content.uploads.20.itemRendering.20.1.cropHTML = 16|...
this should crop the Filename to 16 Letters (well, also the file
extension...), is that what you wanted to do?
Urs
Am 16.05.11 18:32, schrieb Enrique Moreno Tent:
Hello guys. Ive built a module with a filelinks like this:
MAIN< tt_content.uploads
, but i want to use "crop" on the title of each file, so that it doesnt
surpass 16 chars. Any idea how could this be done? Some poeple
suggested I
override the userFunc from css_styled_content, but Ive looked at it and
its
quite complicated. isnt there an easier way?
thanks
--
Urs Bräm
macht Websites
---
Certified Typo3 Integrator
CH-3011 Bern
www.ursbraem.ch
_______________________________________________
TYPO3-english mailing list
[email protected]
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
--
Urs Bräm
macht Websites
---
Certified Typo3 Integrator
CH-3011 Bern
www.ursbraem.ch
_______________________________________________
TYPO3-english mailing list
[email protected]
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english