Is there anyway to cite a biblio entry in a node (using FCKEditor) like what we do by [bib] tag but print the biblio attributes just where we used [bib] tag not at the end of the page? I mean i want a page like this:
Dear students please see J. carry "title of the biblio", 1999, publisher and write a review for that blah blah blah.
Now I use the link to content plugin for FCKeditor but it shows the title of the biblio pages only. I think it may be because it could not access biblio pages attributes.
I know that it is not a popular feature, however, could you guide me if I can tweak it myself?
Thanks in advance
Comments
Comment #1
rjerome commentedAnything is possible...
The best way would be to define a new tag type, maybe [ibib] or something like that. There are basically two functions involved and they're both in the biblio.module file. The biblio_filter function defines the tags and how they are operated on. So near the top of the biblio_filter function, you would have to change it to something like this...
Then a bit further down you would have to make another delta (1) case to match the above new tag (1)
Then add the new function to handle the replacement...
That should do it, but I haven't tested this code so it may not be completely bug free.
Ron.
Comment #2
masood_mj commentedThanks a lot.
Biblio module is my favorite module not just because of itself but also because of its writer.
a bug:
; after the last return $text
last step:
enable ibib filter at the input formats
Thanks again
Comment #3
rjerome commentedThanks for the kind words,
So if I understand correctly what I described above (with the debugging and enabling) worked as you desired and we can call this fixed?
Ron.
Comment #4
masood_mj commentedyes
Comment #6
matthiassamwald commentedI think the feature requested in this issue is quite handy (I would need it as well). Since the code is already there, why not integrate it into the official version of Biblio? It would be much appreciated!
Comment #7
rjerome commentedI've added the feature described above to the code.
Ron.