Not showing course details

vantony
Forums
When a user click on course description on the right sidebar it just shows subscribe to course link nothing else.But for admin and manager can see all details regarding course like price,purchase button if course is paid,user expiration etc..How can i customize of able to show for non members some specific information in that block.
Profile picture for user James Aparicio
James Aparicio

Hi vantony,

Hi vantony,

Look at the css.

Currently it is beeing shown or not based on css, and if you are admin.

Take a look at template.php and styles.css

 

Best regards

vantony

I can see in template.php

I can see in template.php this kind of a code for admin.its add a node node-course non-member is-admin clearfix class to the node.So what about other roles and how can i set it for just few fields other than entire view ? $roles = og_get_user_roles('node', $vars['node']->nid); foreach ($roles as $role) { $vars['classes_array'][] = str_replace(' ', '-', $role); } if (user_access('administer nodes')) { $vars['classes_array'][] = 'is-admin'; } } }
vantony

Any idea ?Is that a block ?

Any idea ?Is that a block ?
Profile picture for user James Aparicio
James Aparicio

Hi vantony,

Hi vantony,

As i said, look at the styles.css file.

Its just css hiding it.

Best regards