hide menu link for a specific role? drupal 7

Hi,

I have my main menu and want to hide one link from it for a specific role.
Is it possible using some preprocess function? i know that menus are cached, so of course i need a solution that will not need clearing the cache for every user or something like that.

i wanted to do it this way because its just one small link, but of course i can just build different menus for different roles.

Looking for a carousel that will allow me to display various blocks.

Hello
I'm looking for a carousel that will allow me to display in a window views, aggregator and other block, by clicking on a left or right arrow.

Is there any carousel that allows slide of blocks?

I need to display one block at a time, there are 5 different slide, 4 being the last 4 articles of a specific content type and the last one being an RSS aggregator block.

Thanks in advance for you help and input.

Regards.

William

Different tabs on different node type

I found a solution to the subject problem, that is, in hook_menu:

$items['node/%node_edition/standing'] = array(
		'title'			=> t('Standing'),
		'page callback'		=> 'standing',
		'page arguments'	=> array(1),
		'access callback'	=> TRUE,
		'type'			=> MENU_LOCAL_TASK,
		'file'			=> 'standing.view',
		'weight'		=> 1,
);

... other nine $items with path ['node/%node_edition/something'] ...

then I defined a _load function:

add some spacing above page wrapper(Zen sub theme)

Hi everyone,

Im quite new to web development but I understand the various aspects quite well.
one thing I cant do though at the moment is add some spacing above my page wrapper.

Im using a Zen sub-theme with Drupal 7.

as you can see on my website(http://one-edinburgh.co.uk/site) I have a blue background with a white page wrapper but I would like it if the white page wrapper was in the middle of the page with the blue background all around it instead of it starting at the top.

Regarding web page development using Drupal

Hi All,

I am new to Drupal environment. I am not an expert in web page development rather. But, i wanted to develop web page particularly in Health related web pages using Drupal. I have installed XAMPP and Drupal successfully.
Can anyone please guide me how i can start following
1. Developing a web page (i have created About Us and Contact Us page but its looking Dull)
2. How to provide link from one page to another.
3. How to define inner page template and outer page template using phptemplate.

Thanks a lot in advance!

KR,
Raj

Override module *.tpl.php template file

i have a installed a module which overrides my search-result.tpl.php (module custom_search, override file is custom_search-result.tpl.php)

is there a way to override this custom_search-result.tpl.php with my own file which has some modifications on the custom_search-result.tpl.php? i prefer not to alter the module file itself.

Pages

Subscribe with RSS Subscribe to RSS - Drupal 7.x