Help colouring taxonomy field in view

Dear all,
I'm trying to build a page that displays a list of my publications.
I could manage in doing so by creating a new content type (Reference) to insert all the publication
I've been involved to. One of the field is the "Authors" field that I've set up based on taxonomies.

I then build up a view displaying the fields I want to show.

I'd like to know if there is a way to colour differently a term in the views, so that my name can appear
on a different color to show if I was the main author, one of the collaborators and so on.

Clarifying: Custom Pages Based on URL

I just want to clarify what I've been reading around the web...

If I wanted to create a custom Template to be used when a user went to "/mediamanager":

  1. Do I use the preprocessor to determine this?
  2. What should the template name look like? (ex. page--mediamanager.tpl.php)

I'd love to be able to determine quite a bit from the URL, so this question should enlighten me beyond the current question.

Error message appearing on pages in Marinelli theme after upgrading some modules

After upgrading some modules in my Drupal 7.2 installation, I now get a red error message box on all pages along the lines of:

Notice: Undefined variable: exception in include() (line 121 of /home/theinnerpublic_html/sites/all/themes/marinelli/templates/page.tpl.php

I have no idea what is wrong, I looked at the page.tpl.php and line 120-121 is:

Odd 'Undefined index' error

Hi,

I'm currently working on my first Drupal theme build from scratch. I've been able to solve all former issues, until now; whenever I add custom regions to my .info file and leave out the sidebar and highlighted blocks the following error message appears

Problems with Views

I am not sure what is happening. I have created a little food/recipe website with a content type of food. I then create a view of those food content types. The view is suppose to be fooditems. When I go to fooditems it says page cannot be found, yet I have at least one entry in that content type.

What am I doing wrong?

Settings page:

http://i.imgur.com/sTdhY.png

Multiple Authors and Multiple Bios on a Node

I am trying to create nodes that display multiple authors (from a custom "authors" field - not the user field) and a bio for each author.

With the help of http://turczynski.com/blog/2011-02-07/drupal-7-node-multiple-authors, I was able to do the first task. I cannot seem to get the bios fields passed to the node template.

These are the preprocess functions I am using (in template.php), which work for the authors but not for the bios. Has anyone tried this or have any advice?


function genesis_icenter_preprocess_node(&$vars, $hook) {
if (isset($vars['field_authors']['und']) && is_array($vars['field_authors']['und'])) {
$vars['name'] = t('!username', array(
'!username' => genesis_icenter_article_authors($vars['field_authors']['und'])));

$vars['bio'] = t('!bio', array(
'!bio' => genesis_icenter_article_bios($vars['field_authors']['und'])));

} else {
$vars['name'] = t('by !username', array(
'!username' => t('Anonymous')));
$vars['bio'] = t('by !username', array(
'!username' => t('')));
}
}

function genesis_icenter_article_authors($uids) {
$authors = array();
if (count($uids)) {
foreach($uids as $author) {
$user = user_load($author['uid']);
if ($user->uid) {
$authors[] = l($user->name, 'user/' . $user->uid);

Pages

Subscribe with RSS Subscribe to RSS - Drupal 7.x