Hi Ron,

In 6.x a filefield added to the biblio content type shows download links to attachments in list view, in 7.x not (yet). Can you re-introduce this?

CommentFileSizeAuthor
#9 issue.1138636.png38.69 KBrjerome

Comments

rjerome’s picture

The code is still there, I'll check to see why it's not working...

ar-jan’s picture

Is this in biblio_theme.inc (832-870)? Maybe not updated yet, seems there's still old CCK-supporting code in there?

rjerome’s picture

Status: Active » Fixed

Sorry, I forgot about this one...

It's fixed now.

http://drupalcode.org/project/biblio.git/commit/adf3c44

ar-jan’s picture

Status: Fixed » Active

Thanks for looking into this! But I believe it's not yet working - I downloaded a snapshot from git, and attachments aren't showing...

rjerome’s picture

Hmmm, works for me. Do they show up in the "tabular" full node view?

ar-jan’s picture

The attachment shows on full node view (tabular, original), but this was already working before the update to biblio. Different display styles don't make a difference, right?
Not sure what more to check. The display setting for the filefield makes no difference, and there's no Biblio configuration needed right? (like a setting in the links section)...
I have a regular filefield attached to the Biblio content type, with a number of 1 allowed files...

rjerome’s picture

The thing is, there is no "filefield" in D7, it should have been converted to a regular file object during the upgrade. Do you have the "devel" module installed? It could give us a look at the node structure and see where your file is actually living.

ar-jan’s picture

Ah, well I got lost in old terminology. It's a fresh D7 site, and I added a field named 'publications' to the Biblio content type. I did play with filefield_paths for a time, but got too many warnings, I disabled and uninstalled it. I can check with Devel later, if that's still of use.

rjerome’s picture

StatusFileSize
new38.69 KB

Yes, please do. I've tested it with the standard File field and it works for me.

ar-jan’s picture

I have also used the standard file field, it looks the same as your screenschot. I've only changed the label to 'Publication', and added a file directory (publications) for the files to be saved in.
I have Devel installed, but I'm not sure what exactly you'd need to troubleshoot. I could give you an account with admin privileges on a test site - let me know if I should PM you the info.

rjerome’s picture

Send me login details via my contact form and I'll take a look.

Ron.

ar-jan’s picture

For others reading the thread: Ron identified the issue on my site.

@Ron: had a chance to look further into this?

rjerome’s picture

Sorry, not yet, but it will be addressed in the next week or two.

Ron.

Cliff Donath’s picture

Title: Show filefield attachment link in list view » Lost Tabular View sorted by Year
Component: Code » User interface

Just started learning D7 and setup Biblio 7.x-1.dev on first site and worked well. But I than moved it to another site and lost tabular view sort/Filter feature. I have been able to insert articles and import groups of articles. Now I only get a single viewing of one article and no way to move through the article listings. I can search and find articles but nothing more. I have been update on releases.

I have gone through several uninstalls and installs with no difference. Any suggestion on what I should do?

We are building an academic site to share citations with the world. Thanks for your help.

rjerome’s picture

Title: Lost Tabular View sorted by Year » Show filefield attachment link in list view
Component: User interface » Code

@CliffDonath,

This seems like a different issue than the one you posted to, so could you open a new issue regarding this.

Also, in that new issue, could you tell me if you are using "Views"?

rjerome’s picture

This ("Show filefield attachment link in list view") is working now.

http://drupalcode.org/project/biblio.git/commit/c163042

Ron.

rjerome’s picture

Status: Active » Fixed
ar-jan’s picture

Status: Fixed » Active

I tried the latest (Jun-6) dev snapshot, but I'm not getting the file links to display. Unless I'm missing something, it's not yet working fully...?

rjerome’s picture

Oppps, there was a problem with the permissions which I didn't encounter because I was working as the admin user where all permissions are bypassed.

I think it's fixed now.

http://drupalcode.org/project/biblio.git/commit/754460f

ar-jan’s picture

Status: Active » Fixed

It's working now, thanks!
P.S. made a donation (though on a student's budget).

rjerome’s picture

Many thanks for the donation!

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.