Flexinode/Attachment Display
gtoddv - August 9, 2005 - 21:39
So I am trying to use Flexinode and Attachment modules together to create a pseudo document management system. I have got the new node type set up and it is really cool however displaying content isn't so hot from a usability standpoint. I would like a listing display that includes the attachment. Right now you have to click the node title to get to the expanded view that will show you the attached file.
Could someone point me in the right direction as to how to include the attachment information in the standard node list?
Thanks in advance,
gtoddv

Just in case I didn't
Just in case I didn't describe my issue properly here is a post on a seperate topic but with the same issue, displaying a list of nodes rather than the incomplete teasers;
http://drupal.org/node/26517#comment-46455
Any help would be greatly appreaciated.
gtoddv
Please, could someone please
Please, could someone please provide some guidance here? This is a make or break situation.
vielen Dank
So Maybe I am Dumb...
Perhaps self deprecation is what is needed here. If I haven't adequately described this issue with terms that someone can understand, please let me know. I know this issue has come up elsewhere, but there doesn't seem to be a post that contains a solution.
Anyway, I really need some help from the community, even if it is someone telling me it can't be done.
Or should I post this as a Flexinode issue? HELP!!!
Gracias
try this..
Hi Gtoddv
this isn't a definitive "how to" answer to your question..but I thought I would point out this dicussion about theming flexinode content I took part in a while back that you might find useful.
That might spark a few ideas on how better to display your flexinodes & attachments for useability.
The only gray area I have is how the flexinode attachment field is handled. Maybe it's as simple as just referencing the appropriate flexinode-field. Or if it's an inline image that has to be attached as simple as putting the flexinode-field within an IMG tag..i.e.
<img src="/<?php print $node->flexinode_10->filepath ?>">hope that helps..I know it's not a complete "how to do that" answer, but seeing as nobody else volunteered a reply, I thought I would mention the thread...
Dub
Thanks very very much for responding!
Thanks Thanks Thanks!!!
Anything that gets me back on track is helpful. I appreciate it. I do recall the theming discussion so that might be a good resource.
This might become more of an issue as the flexinode is used to complete other node types (e.g. Event). I am using the flexinode for both the latest event module and the above mentioned document management system.
Two clicks to get to content isn't good. Hopefully there is a workaround floating around.
Thanks very very much for responding!
gtoddv
theming is the key..
hi and you're welcome..
I think theming your fleixinode content should solve the problem you're experiencing with useability...once you split-apart the flexinode content into seperate fields and start controlling precisely what is displayed where you can achieve very sophisticated ways of displaying your content.
Hope that makes sense..and I assume you're using phptemplate based theme.
Others have raised the issue before that there wasn't much documentation or easy to follow instructions to override how fleixnode content is displayed....but, that thread about theming flexinodes does sort of explain how to get started.
can you do me a favour?
If you get it working can you post your flexinode-n.tpl.php override file up here with any CSS extras that goes with it....I'm thinking of starting a "sliced bread flexinode-override.tpl.php snippets" handbook page..similar to the Sliced Bread PHP Page Snippets, which proved popular and has turned into a valuable resource.
Cheers
Dub
Yes I am using phptemplate
Yes I am using phptemplate and I think I can figure this thing out. I will definitely post the results here (including files).
And by the way, your answer(s) make perfect sense.
Thanks Again,
gtoddv
Clarification
I think some clarification is necessary in hopes that this topic will turn into something useful for many others.
I am not using the file upload field with flexinode, I am combining the attachment module and flexinode, just like you know have to combine the event module with flexinode. So essentially what I have right now is attachment module with a few extra fields that are provided by flexinode.
The problem arises when I need to display the node. I want everything show within the node list, no teasers. The example of theming a flexinode makes sense, and is working for me up until the point of retrieving the full portion of the attachment information.
The answer would be helpful not only in my situation but should work if you are trying to theme the 4.6 version of Event.
So what is the answer? How do you get the flexinode to display it's associated attachment(s) (or Event information)?
I have looked at all the instructions/manuals I can find, and there doesn't seem to be any reference.
Hasn't anyone tried to theme
Hasn't anyone tried to theme the new version of Event?
Me too.. i looking for the way to do it
So i hope someone who could do it....
What if...
What if I want to theme the Upload module inside a flexinode?
I mean, using the default upload module on a flexinode...
Rosamunda
Buenos Aires | Argentina
www.ligadelconsorcista.org
Anyone?
Any clue?