When a user profile is shown (e.g. http://site/user/1) I am able to show the biblio publications link (e.g. http://site/user/1/biblio) in the tabs.

Is it possible to print the publications inside the profile page?

Comments

rjerome’s picture

I used to have it right on the profile pages, but people complained that it took to much space, so it was moved to a tab. I guess you can please everybody :-( What is the problem with accessing it via the tab?

I suppose it could be put in a collapsed fieldset to conserve space.

andreij’s picture

Maybe I put the question in the wrong place but it should be read as:
"There is a best practice in order to show the biblio in the profile page without reinventing the weel?".

I've googled everywhere but sounds like that my project stakeholders are the only ones that likes the biblo that way.

rjerome’s picture

Hi Andrea,

I saw your other post (http://drupal.org/node/375597) regarding this, and if your a trying to develop a custom template for this purpose, you might want to install the "devel" module. It has "theme developer" helper module which can be quite useful in determining which variables are available on a given page. Just be aware that the devel module can interfere with normal site operation, so it's not something you want to leave enabled all the time.

Ron.

jjo’s picture

The tab feature works well and is convenient. The problem I am having is that username and a user's real name are not always the same. I am using a CCK field for the user's real name and I call drupal_set_title to replace the username with the real name on the profile page. However, when you click the publications tab the username is set at the top of the page, which is now not consistent with the profile page. I would like to use the user's real name here too. Can you point me to where you set the page title for a user's profile publication page? Thanks.

rjerome’s picture

It's set in the biblio_menu function, whose values are cached, but you could change it in the biblio_get_user_pubs() function which is in the biblio.pages.inc file. That's the function that gets called to build the users publication page.

Ron.

scarer’s picture

I am having a problem with the new publications I've added that aren't default biblio types (the types provided out of the box). They don't seem to be showing up in the users publications listing at all when I add them. However, when I add publicaitons to the user that are of the default type (book, book chapter etc.) they work. What could be the reason for this?

scarer’s picture

I set it so the author field was required for the new biblio types I created and it seems to be working now. I looked at the search query in the biblio.pages.inc file and it required the contributor data to work.

liam morland’s picture

Issue summary: View changes
Status: Active » Closed (outdated)

This version is no longer maintained. If this issue is still relevant to the Drupal 7 version, please re-open and provide details.