Blocks FAQ: Difference between revisions
- Managing blocks
- Block settings
- Activities
- Activity results
- Admin bookmarks
- Administration
- Blog menu
- Blog tags
- Calendar
- Comments
- Community finder
- Course completion status
- Course overview
- Course/site summary
- Courses
- Feedback
- Flickr
- Global search
- HTML
- Latest announcements
- Latest badges
- Learning plans
- Login
- Logged in user
- Main menu
- Mentees
- Messages
- Navigation
- Network servers
- Online users
- People
- Private files
- Quiz results
- Random glossary entry
- Recent activity
- Recent blog entries
- Remote RSS feeds
- Search forums
- Section links
- Self completion
- Social activities
- Tags
- Upcoming events
- Youtube
- Blocks FAQ
Helen Foster (talk | contribs) (removing old FAQs) |
Mary Cooch (talk | contribs) (updated for 2.0: How do I hide front page blocks from non-logged-in users?) |
||
Line 4: | Line 4: | ||
# Click the "Turn editing on" button at the top-right of the front page. (You need to be logged in as an administrator.) | # Click the "Turn editing on" button at the top-right of the front page. (You need to be logged in as an administrator.) | ||
# Access the assign roles page via the assign roles icon (a face and mask) in the header of the block to be hidden. | # Access the assign roles page via the assign roles icon (a face and mask) in the header of the block to be hidden. | ||
# | # Scroll down to the settings block and click the Permissions link | ||
# [[File:Blockassign.png]] | |||
# | # In the ''View block'' section, click the X next to ''Guest'' | ||
# Click the "Save changes" button. | # Click the "Save changes" button. | ||
Revision as of 09:36, 26 August 2011
How do I hide front page blocks from non-logged-in users?
- Click the "Turn editing on" button at the top-right of the front page. (You need to be logged in as an administrator.)
- Access the assign roles page via the assign roles icon (a face and mask) in the header of the block to be hidden.
- Scroll down to the settings block and click the Permissions link
- File:Blockassign.png
- In the View block section, click the X next to Guest
- Click the "Save changes" button.
How do I make a front page block visible to teachers but not students?
It is possible to control who sees block on the front page. The following applies to any specified group of people, not just teachers and students.
- Ensure you have hidden your block from non-logged in users as above
- In site administration>users>permissions>define roles, create a new role such as "front page block viewer"
- Click the "Turn editing on" button on your front page
- Click the "assign roles " icon on your block.
- Click the blue words of your new role. They link to the assign roles page. Choose who you want to allow to see this block (such as your teachers) by moving them from the right hand box to the left.
- Click the "Override permissions" tab
- For your new role, press the "allow" button to allow them to view this block
- For the authenticated user, press the "prevent" button to prevent them seeing this block
- Click the "Save changes"button.
I want to hide the Latest News Block from anyone not logged in.
This example will work for all blocks.
- Log in as an Administrator then turn editing on
- Click on the assign roles icon (usually the first icon and looks like one of these) in the header of the block to be hidden, in this case the Latest News block. This takes you to the Assign roles page.
- Click the "Override permissions" tab.
- Select the role "Guest".
- Reset the capability moodle/block:view to prevent.
- Click the "Save changes" button.
This should hide the block from everyone until they have logged in.
Log into your Moodle as normal and then type this:
(http://www.mysitename.org/)admin/blocks.php
into the address bar. This will take you directly to the blocks page and you will be able to reset any hidden block.
When I try to select some pages in the Admin block, I get a "Timed Out" message and the screen reverts to the login page
This could be caused by many things. The best guess, would be that the installation process made some mistakes. For example, a MySQL, PHP or Apache setting or combination of settings were not configured correctly for the site. If it is a new site, it is probably better to not waste time on trying to find out which line in a config file needs to be changed, but first try and reinstall. Check your browser, is it IE7 or 8. Unfortunately, some releases of IE have trouble rendering Moodle styles easily, the complexity of a page may cause an error in IE and the internal error handlers just toss you back to the login page.
How can I change a Block item name from a list inside a block?
You can change an item name in the Administration ► Language ► Language editing > Editing words and phrases tab. Select the 'moodle.php' file then search for the words you need to alter.
See also
- Using Moodle Blocks forum