The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
0answers
15 views

Show Block through node.tpl.php with filtering of “Only the listed pages”

For some reason, I have to show blocks within my node.tpl.php. I am showing the individual block like this:- $block = module_invoke('block', 'block_view', '18'); print render($block['content']); ...
0
votes
1answer
39 views

How to hide blocks from administrator?

I need to hide some blocks from priviledged user so he won't be able to attach them to regions via the Block layout. What is the proper way of doing this?
0
votes
2answers
29 views

Conditional 404 response based on inclusion of /node/# in URL

I've been requested by a client to completely block the URLs that contain a /node/## after the hostname to prevent these locations from being indexed by search engines. My issue is that I've already ...
0
votes
1answer
56 views

How to add page restrictions for blocks in frontpage?

I have several blocks in my homepage : 2 statics and 1 with a pager. I want to hide a static block when paging my homepage (after page "0"). I saw something similar in How can I show a block in a ...
4
votes
3answers
73 views

How can users block other users

In regards 7.x. Say a user that has a role of (registered user) wants to block another user with the same role that is harassing them and they don't want to see any more posts or comments from the ...
0
votes
1answer
208 views

How to use Block Access with specific Block?

I am using block access module to restrict block administration permission. I want to give permission to a role on specific block to edit that block. When I changed the permission firstly it permits ...
0
votes
3answers
605 views

How to add page restrictions for blocks in drupal?

I'm using the drupal administrator menu for the settings there i have a page called /desert/234234 the block should appear only when the url is /desert/(desert_id) how can i restrict that
0
votes
0answers
139 views

How can I display the rating in a custom block?

I have installed the Fivestar module, and I want to make it display its rating in a custom widget. In the Fivestar module, I tried the following code. function fivestar_block_info($delta = 0, ...
1
vote
2answers
459 views

Administer block permission let the user to see admin theme name

I gave the site admin role permission to administer blocks, but the problem is in admin/structure/block page, there is a tab that shows the admin theme name (Rubik). he can click on Rubik but doesn't ...
0
votes
1answer
55 views

Show block if user has never completed Ubercart checkout

Part of my website's signup process is the purchase of a product via Ubercart. The signup process directs the user to the checkout page with the product already in their cart. The problem I am having ...
2
votes
2answers
182 views

How to get notified when a user is blocked?

Is there a way to get notified when a user is blocked ? like a hook in user module or ? or there are another way ?
0
votes
1answer
88 views

How to Display a Block on a Page with a Variable URL

I want to show a block only on these user pages: .../user/USER_ID/recurring-fees. What will be the code to be placed in the PHP box to make this work?
0
votes
2answers
73 views

how to block a user from publishing a node in drupal 7

Please tell me that the user creates a node and he or she cannot publish that node on website and administrator can review that node and then the administer publish that node....
1
vote
2answers
378 views

How to make a block visible on a particular page and as well as on taxonomy term page?

here is my situation, I have a Taxonomy menu block built using taxonomy_menu and taxonomy_menu_trails module. And I have used block_term module to display the menu on nodes with given term(s). Now, ...
0
votes
1answer
92 views

How can i add multiple instances of newsletter subscriptions?

I want to display newsletter subscribe in different pages, in different ways. Hence once I have set newsletter : subscribe to home page, it does not apply to other page by default. How can I can ...
0
votes
1answer
103 views

Editing a Custom Block

I have taken over the maintenance of a site that was built with Drupal 6.x Prior to this I have no Drupal experience, so I am rolling up my sleeves and getting stuck into how Drupal works, with ...
1
vote
1answer
246 views

Is it possible to set: “show block on specific pages” into “is only the listed pages”, programmatically?

Is it possible to set: "show block on specific pages" into "is only the listed pages"? I suppose that I should add a new item in this block info, but I don't know which one and can't find it in the ...
2
votes
0answers
213 views

How do I effectively ban users with dynamic IP address maybe using a cookie?

Is there a module available to ban users that are using dynamic IP addresses with setting a cookie? I read on several forums that there is such a module available for PHPBB and I am wondering if ...
0
votes
1answer
999 views

How can I hide blocks based on content type or for specific nodes?

In some of my nodes i need to show only "body" part of node. I don't want to show blocks etc. in that nodes. How can i do this ? Creating a new "content type" and put the data from existing nodes to ...
3
votes
3answers
689 views

Access callback for blocks

We have "access callback" and "access argument" for defining the access to pages. What is the way to restrict showing blocks? Can "access callback" also be defined in hook_block_info(), or through ...
0
votes
1answer
924 views

Setting the permission for editing block content with a specific role

I have installed the modules below, but still can not set the permission for editing a block body with an specific role. Does someone know how to solve this issue? Thanks Block Access Block Content ...
2
votes
2answers
917 views

Restrict block to specific pages is broken when using view pagination

I have a block I want displayed on a view page, which has filtering and pagination. The block shows fine when you change the filter, but if you go to page 2 (or any other page than the first), the ...
2
votes
1answer
805 views

Controlling blocks displayed in domain access for each sub-domain

I'm a noob in Drupal and have been exploring the Domain Access module ( http://drupal.org/project/domain ) in my local environment and till now has been doing pretty well. But when it comes to ...
0
votes
1answer
399 views

How to show a block only if a specific user is logged?

I have a block which act as a menu. And the block is created dynamically like that: $menu_block = array( 'module' => 'menu', 'delta' => 'clientmenu' . $account->uid, // the id of ...