Hey.

First of all..I really like your module. It is just what I was looking for! :-)

But I have a small problem. When I goto .../last_node/news for example then the header of the page of course shows the node-type (which in this case is "news") but also this symbol in front of it: ¤

I am not quite sure what this is, but I wanan get rid of it. How can I do it?
I was looking through the sourcecode, but didn't find anything similar.
So maybe you could tell me what this is.

Cheers

Canaris

Comments

TheCrow’s picture

If you want eliminate a ¤ symbol you do search the ¤ code in _last_node_normalize_title and _last_node_normalize_linkblock functions and replace or delete them.
This is a version optimized without any char:

function _last_node_normalize_title($title,$node_type)  {
  $image = variable_get('last_node_imagenode_'. $node_type,'');
  if ($image) { 
    $title = "<img class=\"last_node-imagenode\" src=$image/> ". $title;
  }
  return $title;
}

function _last_node_normalize_linkblock($title,$node_type)  {
  $image = variable_get('last_node_imagenode_'. $node_type,'');
  if ($image) { 
    $title = "<img class=\"last_node-imagelinkblock\" src=$image/> ". $title;
  }
  return $title;
}
TheCrow’s picture

Status: Active » Closed (fixed)
TheCrow’s picture

Status: Closed (fixed) » Fixed
Anonymous’s picture

Status: Fixed » Closed (fixed)