The block-visibility tag has no wiki summary.
1
vote
1answer
23 views
Context reaction : Exclude specific block?
I've got a website with 3 large contexts :
- internet
- intranet
- shop
These 3 contexts are "tight" (sorry about my english, I think this is the word).
My Block UI (admin/build/block) provides to ...
0
votes
0answers
33 views
How to make block visibility work when page has parameters
I have a block which should be displayed on a couple of page. I configured it like this :
Only the listed pages
event
event*
event/*
news
news*
news/*
It works when my url ...
0
votes
0answers
35 views
Google Custom Search Block Not Displaying In Drupal 6 But OK In D7
probably a total noob issue. I got started with Drupal on D7 and this is a D6 site.
I want to implement this Google Custom Search on a D6 site: http://drupal.org/node/1887016
We're signed up for GCS ...
3
votes
3answers
95 views
show block on pages with a question mark ( 'searchquery' )?
For example end up with url's like
example.com/viewname?f=[0]field_name=%3A21
I want to make a block visible on pages like the above but not when only the view is displayed.
Only he view will ...
0
votes
1answer
16 views
What might be stopping this Contextualised Filter work in Block (please)?
I am stuck making a contextualised filter in Block View (and I guess if I knew my question, I would also know my answer).
The view comprises
A set of images which I can see in the View before I set ...
0
votes
1answer
26 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
1answer
41 views
Tokens to change a block's visibility
I am trying to make a block visible only to pages whose URL matches user/[current-user:uid]/downloads, but I don't get anywhere.
Do you have any idea on how to achieve this?
5
votes
1answer
47 views
Show block for /member/* but not member/*/likes
I want to show a block on a member's profile page (member/) but not on member//likes.
It doesn't seem I can do this without php in the block setting, does it?
0
votes
0answers
25 views
block doesn't show with pressflow
Ive seen a few block visibility questions but they did not seem the same.
I migrated (Aegir) a D6 site that uses NWS Weather (6.x-1.1) to Pressflow (6.27). I can not get the block to display. I have ...
0
votes
1answer
18 views
What is the slug of mainpage?
I am editing blocks in /admin/structure/block - when I click "Configure" for a block, I see:
Show block on specific pages
All pages except those listed
Only the listed pages
Pages on which this PHP ...
0
votes
2answers
93 views
Display block on certain page
I want to display a block on the user/* page. I checked "only the listed pages" and entered "user/" but the block also appears on "user//relationships" for example.
How can I keep the block on just ...
0
votes
2answers
92 views
Drupal 7 Display a block on custom tab
I would like to display a view block on a custom tab I created as follows, but the tab is always empty. The block has the option to be shown only on specified path node/%node/calendario-corsi. Is it ...
3
votes
1answer
68 views
Content block doesn't show when query is added to the URL
I have a Drupal 7 page where some of my content blocks don't show up, if there is a query added to the URL.
Say my block is main_content, and it is shown all all pages except the listed ones, where ...
2
votes
1answer
157 views
Role specific Dashboard block Drupal 7
I created a set of Views based blocks which will be displayed in the Dashboard's Main Content Region.But those all of them are not for the site admins. Some of them are for other roles. So I have ...
0
votes
1answer
60 views
Block is not showing up in a custom taxonomy page template
I am using Drupal 7
I have a content type courses. I have a page folder in template folder, with courses.tpl.php file. When i go to courses page it is showing contents from courses.tpl.php. Issues is ...
1
vote
2answers
84 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
62 views
Block not showing on a matching path (menu item duplicate)
I have a strange situation and would like to verify it with you.
I have a menu block of main manu level 2+ links.
Corporate [<--block title, level 1 of Main Menu]
About Us ...
0
votes
2answers
68 views
Code to add node add form to a custom block (not working)
I am trying to use code below to display node add form for a custom content type in a custom block.
Any guidance on why the code below may not be working is sincerely appreciated.
function ...
0
votes
0answers
23 views
Block only displaying part of content?
I have a little problem and I have no idea what is going on.
I have a block in my footer that is only displaying say 100 characters. Then it just gets cut off. Yet on my old server the entire block ...
1
vote
2answers
40 views
block restrict depending on role
I use this snippet to restrict block visibility from administrator
<?php
global $user;
if (user_access('access administration pages') || ($user->uid == 6)) {
return FALSE;
} else {
return ...
3
votes
2answers
141 views
How can I show a block in a view page, excluding it's paginated pages
I want to place put a block in a view page. Let's say 'news' page. Path is: 'http://www.mysite.com/news'
The view uses pager to list the contents.
I want a block to show up only in the very ...
1
vote
0answers
58 views
What is the best way to hide drupal block which we have created in module
I am using GeoMap module to show maps of organizations. I am setting the data for it in the block i have defined in the custom module. I don't want to display that block (but the code in that block ...
0
votes
0answers
124 views
Does Drupal Context Module check block visibility settings before rendering them?
I am using Drupal 7.14 and Context module 7.x-3.0-beta4 .
I set block visibility settings and context modules doesn't seems to be checking them before rendering. Only context conditions are validated ...
0
votes
1answer
68 views
Display message or block when View Page is null or empty
I have a Content Type : Events and i have created 3 events they are currently published and displayed in Page ie Display as View.
If there are no published Events then it should display a custom ...
0
votes
1answer
58 views
How to find the ID of a views block that is not assigned to a region?
The title pretty much says it all. I need to find the ID of a Views block that is not assigned to any region, in Drupal 7.
0
votes
1answer
61 views
Updating the block region/pages settings for a NEW views block during an implementation of hook_update_N
I have a feature module which provides a view which has a block component.
To keep things simple, the module I'm writing a hook_update for is 'mymodule' the feature which implements the view is ...
0
votes
1answer
376 views
PHP code for Block visibility by Vocabulary ID
I need to show a block for terms of a certain vocabulery. Drupal.org has this snippit for Drupal 6, but I cant find anything for Drupal 7.
http://drupal.org/node/69076
Im looking at PHP in the ...
0
votes
2answers
127 views
block visibility snippet restrict path
I use the following snippet to restrict who can see a block inside admin pages. Can you help me add the restriction of a path /cart* for non admin users into this snippet?
if (user_access('access ...
4
votes
1answer
806 views
Show block on /user profile page only
I want to show a block when a user visits his/her own profile page at /user.
The public user profiles have paths of "/member/[username]".
When I limit the block to "user" it won't show up. When I ...
0
votes
1answer
32 views
Show block in particular nodes having some string in title
I have a block and I need to show this block only in some situations.
For example if title of node includes "abc", block will be visible else it won't.
From visibility settings of block I use this ...
0
votes
0answers
16 views
What token to use to refer to call a block?
I am wondering what token should I use to refer to current block as a URL. I need to use it in Custom Contextual Link module.
0
votes
2answers
70 views
Restrict administrator users from seeing blocks
I am using Drupal 6. I placed a JavaScript snippet in a block required by a third-party chat service I have on site.
Now, this block is by default displayed on my administrative pages, which is ...
0
votes
3answers
498 views
Show block only on node view page, not in node create or edit form
How can I configure block visibility to show only in node view pages? (not in node edit and create pages)
What should I insert in "Show block on specific pages" > "Only the listed pages"? current ...


