we are using Biblio to organize and display some of our results/resources at the end of a custom expert system tool for giving adults help on preventing child sexual abuse.

We want to use both the URL field (external and internal links) and attached PDFs as fields to display (along with a couple other std fields, Title, Auth, Yr and Abstract).
Related questions:

1) Display a Biblio URL field (external links) in another node. Not a problem.

2) Display a Biblio URL field (internal links). Will this cause problems?

3) Options for linking/displaying a PDF att to a Biblio node - A. Is there a way to display the Biblio PDF field in the results node (perhaps with an icon) that will directly open that PDF (new window)? Or B. do we have to send the user to that Biblio node where they have to find the PDF link/field?

4) PDF attachments. If the answer to 3A is YES, then I assume that PDFs that are attached to biblio nodes can be linked to directly from other nodes, yes?

THANKS
Jim

Files: 
CommentFileSizeAuthor
#10 bib_theme.zip5.13 KBFrank Steiner

Comments

rjerome’s picture

There are a number of ways to approach this... You could put the URL to the pdf in the URL field and then tell biblio to link the titles with the URL field, this will open the PDF directly when someone clicks on the title. If you tell it not to link the URL with the titles, then the URL will show up in the table view and they can click on it there.

To attach file, you use the upload module, then links to any attached files will be listed in both the bibliographic and node views.

Hope this answers your questions.

Ron.

jahhlove’s picture

Thanks Ron. Yes, helpful.

But can you directly answer Q2 and Q4 ... I'm not a Drupal developer so can't tell if these are answered implicitly in your response.

Jim

rjerome’s picture

Hi Jim,

>> 2) Display a Biblio URL field (internal links). Will this cause problems?

No this shouldn't be a problem (if so let me know)

>> 4) PDF attachments. If the answer to 3A is YES, then I assume that PDFs that are attached to biblio
>> nodes can be linked to directly from other nodes, yes?

To be honest, I don't think so. Technically it should be possible, but the upload module doesn't make available. Maybe you if you search the Drupal site you will find someone else who has faced this issue and resolved it somehow.

Ron.

jahhlove’s picture

Hi Ron,
Tks.

Where would on the site would you suggest looking for someone on the site who might have dealt wit this issue (#4 above).... AND how should I phrase the question?

Or what search phrase for past support requests might be productive? Any particular forum/module?

Jim

rjerome’s picture

I think a combination of cck and views will accomplish what you want, first create a view which lists attached files on nodes, then create a cck field which references that view and attach it to the content type (page,view). I tried this an what happens is you get a link to the node which contains the attachment, but not to the attachment itself. Perhaps with a little playing around you could get directly to the attachment.

If you search for "upload link multiple nodes" or something to that effect you will find a few articles related to this.

Ron.

rjerome’s picture

You might also want to check out the asset module http://drupal.org/project/asset

Ron.

jahhlove’s picture

thanks Ron! we're getting our test site up and I'll check this out after that...
Jim

Frank Steiner’s picture

>> 4) PDF attachments. If the answer to 3A is YES, then I assume that PDFs that are attached to biblio
>> nodes can be linked to directly from other nodes, yes?

> To be honest, I don't think so. Technically it should be possible, but the upload module doesn't make
> available. Maybe you if you search the Drupal site you will find someone else who has faced this issue
> and resolved it somehow.

I've done this, take a look at http://drupal-test.bio.ifi.lmu.de/publications

I'm using the webfm module for this. I allows to upload any kind of file and gives it an internal webfm id. The advanted over the upload module is that files are separated from nodes. You can attach webfm files to as many nodes as you want. Node attachments are kind of symbolic links, i.e., just pointers to the internal webfm link for this file. You can also use the URLs like http://blabla/webfm_send/21 to reference to the files from any node you want.

For biblio, I use a custom field to paste the hrefs for the files (webfm has a function for pasting the correct hrefs for attached files) and re-themed theme_biblio_tabular and theme_biblio_entry to make the PDFs appear in the output. If that sound like you could use it, I can post those re-themed functions here.

Trenghu Srantem’s picture

dear Frank,
I am greatly interested in your solution for adding attachments to entries. Being a newb at Drupal, I would love to have a look at these re-themed functions ...

Frank Steiner’s picture

StatusFileSize
new5.13 KB

Here are the snippets for the 1.1 version of the module. I'm sure some things have to be adjusted for the latest releases, I'm just too busy to upgrade :-(

Aren Cambre’s picture

Status:Active» Closed (duplicate)