Hi, I have my own module that extends biblio for use with my staff and research group node structure. I'm trying to get my biblio node lists to be formatted using the style defined by the biblio module.
I'm using a line similar to:
echo theme('biblio_list', $node);
Instead of getting the styled output as seen in the biblio module pages I just get the default style. What am I doing wrong?
Comments
Comment #1
rjerome commentedYou need to add the style name to the call...
Comment #2
Ulti commentedI have biblio_style_iges.inc defined but doing:
Doesn't change anything do I need to do more than just drop the inc file in the directory to get this?
Thanks for the help.
BTW I have:
At the top of my style include so I assume 'iges' is the correct string to use. This style is being used by the biblio module so it does work.
Comment #3
rjerome commentedI think I just found what the problem is...
That function has another argument before the 'style' argument...
You also have to supply the base url which will be biblio unless you have changed it, so the call would be
Ron.
Comment #4
Ulti commentedThanks rjerome that did the trick! Now all I have to do is finish my style include ;)
Comment #5
Anonymous (not verified) commentedWould you mind to share your module, or is it closed work? I will have to hack some stuff with theming, grouping etc. into biblio to get the lists that we need, and if you don't mind, it would be interesting to see that kind of things you have done and if we can use some things for our needs.
Comment #6
Ulti commentedHi Frank,
I'd be happy to give you my code but its all a bit specific to some custom content types we created and specific urls. In short it's a complete hack, that is specific to our database setup (cck fields and node types). I can't really see how any of it would help you. Contact me via the user contact form if you really want it...