By Anonymous (not verified) on
I wanted to place a block in the right sidebar on the "compose tips" page - only. The URL:http://mysite.com/?q=filter/tips
The process I followed:
administer -> blocks -> configure -> Page specific visibility settings: Show on only the listed pages:
I tried:
filter/tips
filter/tips/
/filter/tips/
/?q=filter/
/?q=filter
?q=filter
/?q=filter/tips/
/?q=filter/tips
?q=filter/tips
http://testsite.ouverson.com/?q=filter/tips
To no avail; the block is not displaying.
Yes, I selected "Enabled".
Comments
2 things
hi
does the block have any contents?
if your block doesn't have any contents it won't show...also, check to see if there are any visibility settings for the block which might be hiding it from you.
Alternatively, try using this useful snippet which helps identify paths in a block.
Phil
I changed to the "Primary link" block to test.
Thanks for the help Phil. I'm 3 weeks into Drupal, and it seems that I get one question answered, and 3 more pop up. I sure appreciate the community.
I think you were right; the block had no content, so I changed to a block that I knew had content.
I tried this block on the front page and it did display, but not on the page I wanted. I'm guessing it had to do with the fact that I knew the Drupal path to the front page:
What do I place in the... "Page specific visibility settings:" -> "Show on every page except the listed pages" or "Show on only the listed pages"?
I tried the full URL, but that didn't work.
Thanks in advance.
P.S. I'll give the snippet a look-over.
===
Doug Ouverson
hear | see | say | do | teach
What do I place in the...
What do I place in the... "Page specific visibility settings:" -> "Show on every page except the listed pages" or "Show on only the listed pages"?
You need to put the node, not the full URL. So you would put node/3 or node/6. Use for front page.
Also when you get the pathauto module installed (which you should), you would just use the path that is generated for you. So if you have a page "About Us", pathauto will generate the path www.yoursite.com/about_us. (Instead of node/3 for example). Then under the Page visiblity settings, you would put about_us instead of node/3 for example.
newms
The above assumes you have
The above assumes you have clean URLs installed. Without clean URLs you will have to use ?q=node/3 or ?q=about_us (I think)
newms
page specific blocks
Please let me know what is path i have to put for blocks which are page specific.
I tried with full url, ?q=node/3, /?q=node/3.
Anybody found solution for this ?
try with node/3 not with
try with node/3 not with ?q=node/3 it works
Other question for this topic
They said that i can tel blog/* fr all my blog page
I made a content call "recette", i'd like to show the block taxonomy "ingredients" on only my content "recette" i try type recette/* but didn't work.
Did i have to type all the node ?
It will be a titanesc work...
Thank's for your help
I try to do it but not solved
I try to do it but not solved problem
page block
try with node/3 it will work
block options set to 'exclude these pages'
Just browsing through this, it seems that the issue is simply that the default option that is toggled for the 'Show on specific pages' view is to *exclude* the listed pages.
Toggling the 'Show on listed pages' is the answer here (with the combination of listing the page name as it appears in the url ofcourse).
Regards,
Liran Tal.
Drupal path syntax?
I had the problem that I wanted to show a specific block only when I was looking at a "View" that I created, and "no node"
I found out how to solve my problem....
the key is "Machine Name:" under Advanced and Other
if you put some special word there, you can type just that word in the list.
try putting magic in Machine Name, and then type magic in "Show on only the listed pages:"
it workes....
Wildcards : Which one do I use?
I've got an issue to do with wildcards in path names. What I have is a block that needs to use 'show on every page except the listed pages'.
I want to exclude it from URIs after 'admin/build' (so it doesn't show on the 'build' section of admin), except for 'admin/build/block'. Normally I'd use '/admin/build/*', but I want to adapt that to make 'admin/build/block' an exception to that rule (preferably without specifying each manually). Is there a wildcard combo I can use for this, something like '/admin/build/*[!block]'?
"Restricted to certain pages" still won't work
(Drupal 7.12):
My attempts to set the visibility of a block to "All pages except those listed" or to set it to "Only the listed pages" have been completely unsuccessful. I have tried all of the following paths:
http://www.domain_name/bg/taxonomy/term/42#overlay-context=bg/node/24
or
?q=node/24
or just
node/24
Can you tell me where to find the Machine Name, if that's the solution? I can find it for a vocabulary in the taxonomy, but not for a taxonomy term, nor indeed for any other type of content.
After I find the machine name, should I specify it on its own or as part of a path?
"Restricted to certain pages" still won't work - solved
I've found the answer to my own question. For the benefit of anyone else who has this problem, if the page to be listed (in "All pages except those listed" or "Only the listed pages") is a taxonomy term, then the path to be entered is just:
taxonomy/term/42 (or whatever the number of the taxonomy term is).
If, on the other hand, the page is a node (such as for "page" or "story" type content), the path to be entered is:
node/24 (or whatever the number of the node is).
Works OK for me.
I try with node/462 but it
I try with node/462 but it not work
Block visibility
Hay , if the block is not working from admin interface ,
use database to visable your block below is the query u have to fire to make your block visible
SELECT * FROM blocks WHERE delta LIKE '%image%' ;
region : content_bottom
STATUS : 1
visibility : 1
pages : mypage/page_test
Show block on specific page using node id of that page
Hello
I have recently solved the issue of not working "Show block on listed pages" / "Show block on specific page:: Drupal path syntax?"
If you use page title or name like : /homeowner-resources then it will not work and block will not show on that page
but if you use specific page node id then it will works fine like : node/5 in text box only then block will appear on specific
page
Thanks and Regards
Ravinder
SOLUCIONADO
para que funcione debes ir a:
Home » Administration » Configuration » Search and metadata
allí veras el alias de cada nodo.
utiliza el alias tal cual como se muestra alli..
en la configuración del bloque selecciona "Only the listed pages"
y pega allí el alias que tiene tu nodo..
espero les funcione..
ami me funciono..
Need help.A newbie
Hi,
I am new to Drupal and have problems specifying path to block configuration.
i have a page called "Guest lectures" which is not the front page. So while i was trying to add articles through the view module,i have successfully created the block containing the custom content typed article. But the problem lies as to how i should specify the url in the block configuration. the problem is very basic but i had no luck solving it. It will be very kind if anyone could help me out.
The page i want to add the block to is something like this "http://localhost/AADc/node/67"
Thanks