Closed (outdated)
Project:
Bibliography Module
Version:
6.x-1.9
Component:
Code
Priority:
Minor
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
16 Dec 2009 at 22:03 UTC
Updated:
21 Dec 2018 at 15:13 UTC
Jump to comment: Most recent
Comments
Comment #1
rjerome commentedNothing is impossible, I doubt it's easy, so it must be complicated :-)
Seriously though, are you saying that the work flow you have already setup presents the user with a blank Biblio input form and you would like to have it partially completed when it's presented to them?
Ron.
Comment #2
tomski commentedIndeed. Even a simple piece of php code that would allow directly to complete some of the biblio fields within an action would make the deal.
Thanks!
Tomski
Comment #3
tomski commentedI manage to find a solution. I have created a custom PHP action under rule :
This is just for the biblio_type but I should able from here to populate the other fields as well.
Explanation for those who would be interested in this:
- first : you need the Rules module and (I believe) the php filter activated
- second : you need to create an action to add content and you indicate that you want biblio type (this can be triggered by anything, in my case it is a flag).
- third : you add a PHP custom action as above by putting at the place of biblio_abstract the name of the variable you have given in the "add new content action".
- fourth : you add a save action for the added content.
The result is that a new biblio node is created in the process (in my case the node is attributed to the user who has flagged the theme node) and the biblio_type is automatically set to 103 (conference paper).
Tomski
Comment #4
rjerome commentedGreat, thanks for sharing that, it could prove quite useful.
The conference name would go in biblio_secondary_title, date in biblio_date, year in biblio_year, location in biblio_place_published...
Comment #5
bekasu commentedmarking issue closed.
bekasu
Comment #6
liam morlandThis version is no longer maintained. If this issue is still relevant to the Drupal 7 version, please re-open and provide details.