PDA

View Full Version : New Files in a filetree



kenny_mk
9 Sep 2010, 5:54 AM
Hello

i use the the filetree,


but i have one "problem".... perhaps you can help me...

i want add something after the filename...

like:

test.pdf THIS FILE IS NEW

find the "new" files is not the problem... but how can i change the filename with out change the link to the file...??

in my filetree.php
i add in the json object the variable ....
but how can i add these variable to the file lable in the treepenal?

thanks for helping me...

greets Kenny

Condor
10 Sep 2010, 2:18 AM
I would make my server return the filename as a separate node attribute and do an inline override of the treeloader createNode method to build the node text from the filename and other attributes.