Hi,
I have been playing around a bit with disknode and inline. I like features of both modules. One problem with inline is that you have to upload the files on the page (with "attachment"). One thing that I would like to have on disknode is the ability to place the links to files I have chosen via disknode inside the body of my page/node, and eventually not one after another, but wherever I want in the body of the page/node. I suppose that with theming I might be able to place the links to disknode within the body (although I don't know how to do that now) but could I also place them anywhere on the page, or they would have be following each other? (basically I want a mix of inline and disknode). Any hints?
thanks in advance!
boris-antoine
Comments
Comment #1
sunI don't know how disknode attaches files to nodes but I could imagine it is done almost the same way like upload.module or attachment.module. Since inline.module is able to handle attachments now, I suggest this is a feature request for inline.module instead.
If disknode.module places all files asigned to a node into an object
$node->disknodesthis could be easily done by extending inline.module.What does elmuerte think about that?
Comment #2
elmuerte commenteddisknode already places all files in the node
$node->disknodefilesis a array containing all the files atteched to the node by disknode, each entry is an object with the following properties:fid: file ID in the table
filename: just the file name (e.g. basename)
filepath: full path to the file (within the files directory)
filesize: size of the file in bytes
filemime: the mime type
downloads: number of downloads
Comment #3
sunMoving this issue to inline. Don't know if I'll have the time to implement this soon but it's definitely worth to do this.
Maybe we need a more generic way to support inlining of files supplied by other modules - through inline extensions (XML or PHP).
Comment #4
boriso commentedThanks Sun!
Just for the sake of complete information, I point to a forum topic that I created just before I made a feature request for inline/disknode module. Here is the link :
http://drupal.org/node/68795
/boriso
Comment #5
sunMarking this issue as dependent on http://drupal.org/node/80170
Comment #6
sunThe disknode project seems to be dead. Marking as won't fix for now.