Hi, New to Drupal and have a question. I am rebuilding my website from HTML, Javascript, CSS, and so on coding to Drupal and also using it for Drupal learning. I have a block that I want to be displayed on all nodes/pages of the site except for the following; front, contact and forum only when an anonymous user/visitor is on the site. The block does not display on the front page and that is correct. However no matter what I place the “Show block on specific pages except for those listed” the only page it does not show up on is the front page. I have tried <contact/*> and so forth for the contact and forum pages I wish the block not to be displayed. The block is only to display if the user is an anonymous user/visitor. That portion works. When a registered user is logged in the block does not display, which is correct. What is the “magic” way of getting the block not to display on several pages? To have a look see please visit http://www.spacecoastfreedom.com
Any help is appreciated.
Thanks
Cocoa56
Comments
You're close!
You only need to use angle brackets for the "" page.
So, if you want the block to not appear on the home page and contact page, the entries in the box should be:
To also hide the block from the forum when an anonymous visitor is viewing the page is a bit more tricky, and beyond the scope of what Drupal core's block configuration page can provide. Check out the Context (http://www.drupal.org/project/context) module for more fine-grained control of block visibility. It's a powerful module that we use on most sites we build.
Thanks,
-mike
Short answer: don't put any
Short answer:
don't put any of the patterns except front in brackets
Ryan Price
DrupalEasy Podcast
Closed
Thanks ultimike and liberatr that did the trick. Who would have thought it, not me I guess. Thanks again.
Cocoa56
Blocks not visible on the front page
I use a setting to show only on the front page. The setting i used was node/1. Today I made a change in the text of the block. When I saved the block, it disappeared from the front page. HELP!!
I have tried using , but it does not work.
I am using the danland theme.
Any help much appreciated!
<front>
If you want a block to show only on the home page, use <front>, not "node/1".
Thanks,
-mike
switched of the FCK Editor
The FCK editor was switched on for the settings box "Show on specific pages". Switching it off solved my problem!
Forum
Hi, A friend of mine wants to use only the forum portion of Drupal but stills wants to keep the original site in HTML coding. The site is large and they don’t want to change over to another system but just want to use the forum portion of Drupal. They are currently using 3rd party forums and want something more stable and get away from the advertisements. I thought having Drupal in a subfolder from the root directory on the server and setup a link from the HTML site to Drupal forum. Me being new to Drupal is that a good way to go? What is anyone’s recommendation?
Thanks
Cocoa