How can I show metadata of file (creation date, updation, size of file) automatically which is linked by fckeditor through IMCE filebrowser?(like iconizer module automatically show icon according to file). Could anybody know any tricks or any module? Please help me.

Comments

Yuki’s picture

These days I am posting...but nobody is replying :(((

Yuki’s picture

Could somebody help me out or at least give me an idea how to do it?

xtfer’s picture

Get yourself the Devel module, install, visit one of your content items and go to the "Devel Render" tab. This shows you all the items in $node that Drupal is using to create your rendered content.

Look through the list and find the attached files and their metadata. You can use this information to present the file information in your theme.

Open the relevant node-.tpl.php file in your theme (or just node.tpl.php), and try inserting the relevant items into the template.

I'm not sure what specific item or row you will be looking for, but the format will be something like:

print $node->content['files']['#value'];

where content is the top level item in $node, and files and #value are its children.