By Bluey on
I was wondering, after visiting http://www.moby.com, on how to do do two things:
1) The main page is an image.
2) Most of the links (journal, music, news) do not lead to nodes (ex: http://www.moby.com/journal)
Is there a way to do this?
Thanks for reading.
Comments
Scratch number 1
After fiddling with Drupal I discovered paths. So scratch that. Instead I was wondering (along with number 2) on how to have the sidebar appear only when a user is logged in.
Thanks.
What version of drupal are you using?
In 4.7 you can configure which blocks are visible by using the page specific visibility settings... Click the Show if the following PHP code returns TRUE (PHP-mode, experts only). checkbox, and enter the following code (if you want blocks to be visible only when logged in):
If you want blocks to be visible only for anonymous users, change it to the following:
cheers...
I'm Using 4.6
I installed 4.6. Is there a way to do that in this version?
Thanks
Yes
Make a block, set it to 'php'
--
Tips for posting to the forums.
When your problem is solved, please post a follow-up to the thread you started.
PHP blocks in 4.6
check out PHP block snippets from the handbook...
cheers..
thanks
Thanks for pointing out the page. I hope I will have some time this evening to edit it slightly.
--
Tips for posting to the forums.
When your problem is solved, please post a follow-up to the thread you started.
try creating a block
if you hqave sidebar links and you want them to link anywhere say an external site, Iusually create a new block and put my links in there instead of adding them with admin>menu.
on disabling the sidebar for un-authenticated users you can just disable the menu items that displays for un-authenticated users - this way your side bar will only appear when you are logged in as admin
South Africa web design - http://www.econsultant.co.za
I'll try that
Thanks for the suggestions! I'll try them out.
Thanks