Is there an easy way to hide the title Link (and titel text) to the node?
Nice Module

Comments

filoquin’s picture

Assigned: Unassigned » filoquin

You can add a function in your theme/template.php.
In $values['node'] you have the node info.
By default the module use this function drupal_render($values['node'],'content-glider');

function theme_content_glider_node_template($values){
 $return ='<div class="glidecontent">';
 $return .= $values['node'][field_you_want]; 
 $return .="</div>";

 return $return ;
}
jhorvat’s picture

I'm new to Drupal.

Can you explain: $return .= $values['node'][field_you_want]?

I created Content type: rotate
Image type in rotate has machine name: field_image2

function theme_content_glider_node_template($values){
$return ='

';
$return .= $values['node'][field_image2];
$return .="

";

return $return ;
}

I wrote this in the and of template.php of my theme: pixture_reloaded. Also note I'm using Drupal 7.

What do i do wrong? Thanks.

tashaharrison’s picture

You can use design suite to delete the title. Simply create a full product view mode and select your layout. When you save a drop down should appear which allows you to hide title. Also create a view mode for content glider.

webproject_ru’s picture

Assigned: filoquin » webproject_ru

node.tpl.php

Take out the following:
echo art_node_title_output($title, $node_url, $page);

In my case it was 6th line.

This will take out title for all of the nodes, but you can still add title in the node itself if you really need to by using tag :)

webproject_ru’s picture

webproject_ru’s picture

Its meant to say :

but you can still add title in the node itself if you really need to by using heading (hX) tag :)