Active
Project:
Bibliography Module
Version:
7.x-1.x-dev
Component:
Miscellaneous
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
7 Nov 2011 at 19:33 UTC
Updated:
3 Oct 2013 at 16:35 UTC
Heyy,
I know that a while back there was going to be a feature where only the specific fields that the admin made available would be displayed when creating a new record, instead of showing all the different fields.
Is this feature still in development, or has that been taken away?
-Keith
Comments
Comment #1
rjerome commentedThanks for pointing that out, the infrastructure is in place for this feature, I'm just not respecting the "visibility" flags when the form is built.
I'll fix that.
Ron.
Comment #2
lpeabody commentedJust an idea that could be useful, and I have no idea how difficult this would be to do, but... I feel like with having eventual control of what fields are visible and what fields aren't, it occurred to me that many of the vertical tabs won't have any fields visible. For example, for Journal Article I am using a grand total of 7 fields. It would definitely confuse the user base I work with having to click through a bunch of empty vertical tabs.
So, I guess for tabs that have no fields in them, just don't display the tab? Just a thought. Cheers.
Comment #3
rjerome commentedGood point!
Comment #4
rjerome commentedThis is fixed now...
http://drupalcode.org/project/biblio.git/commit/0ee241b
Comment #5
lpeabody commentedAwesome, thanks Ron. I'm gonna try this first thing in the morning.
Comment #6
jward50 commentedI have installed this now and it all seems to be working great, I will test it more fully over the next week or so but looking good so far.
Thanks for this Ron
Julie
Comment #7
lpeabody commentedHmm... I get an error.
Notice: Undefined index: biblio_formats in biblio_load() (line 1646 of /var/www/website/drupal-7.4/sites/all/modules/biblio/biblio.module).
I probably just tweaked something under the hood and forgot to write down what I did. I'll keep looking.
EDIT: Ah, I see there was an update to the database. I'll work on updating that... I tried running drush up biblio-7.x-1.x-dev but it claimed that the module was already up-to-date, and I don't see a way to make drush force the update.
Comment #8
rjerome commentedCan you not just visit the /update.php page?
Comment #9
lpeabody commentedI could do that, I suppose. To be honest I didn't know I could do that. I'm a command line junkie so I've used drush for every single administrative task.
That being said, using drush I got it working. I just backed up the old module, downloaded it, ran drush up and all was well... I've done it a bunch of times before, I'm just having a slow morning... -_-'
Thanks very much for this update Ron, it'll make the scientists happy :)
Comment #11
liquidcms commentedsorry to re-open.. but wondering if i understand the visible feature.
i want to have Abstract field on the edit form; i just do not want it to show on the node view (technically in $content). this would seem like what the field visibility setting is for (but no help text with the field so not sure). if this is the case; then this does not work. i have abstract set to not be visible but it still shows (in both edit and view)
Comment #12
liquidcms commentedahh.. there is a collapsed help section at the top (my admin theme was hiding it) where it says the visibility setting is to hide the field on the edit form.
in that case this is both a:
- bug report: as it is still visible on the edit form
- feature request: as it would be nice to be able to not show certain fields in $content