Hi all.
Incase anyone wants to do the same, I have now managed to change the file
icons like this:
## Crop tag until the last slash in the src attribute - this leaves the
filetype still (important)
plugin.tt_news.newsFiles.stdWrap.substring = 49
# Then re-wrap the cropped tag with a path to the
That didn't work, the path is a property of filelink, and this is the path to
the file.
Well, I managed to change the icon to a custom one for every download, I
shall now look at changing the icon path , maybe using stdwrap.parseFunc
-
--
Stephen Bungert
--
View this message in context:
h
Is that not the path of the actual files? When you look at the path to the
files they begin with that, but the src for the icons comes from a different
folder, somewhere in the tslib or t3lib folders. I shall try what you say
and see.
Christopher Torgalson wrote:
>
> If you look at the default
On Mon, Jun 16, 2008 at 6:33 PM, Christopher Torgalson
<[EMAIL PROTECTED]> wrote:
> Hi,
>
> On Mon, Jun 16, 2008 at 6:07 PM, StephenBungert <[EMAIL PROTECTED]> wrote:
>>
>> All I need to do now is get it to change the icon based on the type of
>> file... hmmm
>>
>> I wonder how I can do that? Why
Hi,
On Mon, Jun 16, 2008 at 6:07 PM, StephenBungert <[EMAIL PROTECTED]> wrote:
>
> All I need to do now is get it to change the icon based on the type of
> file... hmmm
>
> I wonder how I can do that? Why can't you just set a global setting for a
> path to a folder with icons in? It would be so m
All I need to do now is get it to change the icon based on the type of
file... hmmm
I wonder how I can do that? Why can't you just set a global setting for a
path to a folder with icons in? It would be so much easier!
-
--
Stephen Bungert
--
View this message in context:
http://www.nabbl
I have it working now!
newsFiles {
icon_image_ext_list = jpg,xls
iconCObject = IMAGE
iconCObject {
file = fileadmin/templates/fmf/images/icons/mail.gif
}
icon_image_ext_list seems to be required, the description for it says:
'This is the extensions that should render as t
Still didn't work :-(
Here's all the code for tt_news, in case I did anything wrong.
I don't understand why it doesn't change the icon.
plugin.tt_news {
newsFiles {
iconCObject = IMAGE
iconCObject {
file = fileadmin/templates/images/icons/mail.gif
}
}
# Change some s
On Mon, Jun 16, 2008 at 5:19 PM, StephenBungert <[EMAIL PROTECTED]> wrote:
>
>
>
> Christopher Torgalson wrote:
>>
>>
>> Your TS makes no sense :)
>>
>> The IMG_RESOURCE ***cObject*** and the imgResource ***function*** or
>> ***data type*** are not the same thing. See the TSref for more
>> details,
Christopher Torgalson wrote:
>
>
> Your TS makes no sense :)
>
> The IMG_RESOURCE ***cObject*** and the imgResource ***function*** or
> ***data type*** are not the same thing. See the TSref for more
> details, but this should work:
>
> iconCObject.5 = IMAGE
> iconCObject.5 = {
>file = fi
Hi,
On Mon, Jun 16, 2008 at 4:06 PM, StephenBungert <[EMAIL PROTECTED]> wrote:
>
> Hi. I'm trying to change the icon used by icons in tt_news's file list.
>
> Someone suggested I look at the Typoscript for tt_news and this (along with
> the tsref) led me to write this:
>
> newsFiles {
>#As def
Hi. I'm trying to change the icon used by icons in tt_news's file list.
Someone suggested I look at the Typoscript for tt_news and this (along with
the tsref) led me to write this:
newsFiles {
#As default
path = uploads/media/
icon = 1
stdWrap.wrap = |
# try and change all
12 matches
Mail list logo