hello all,

i successfully installed the latest 5.x release of drupal for my business site. i've been "playing" around with it all morning doing small configuration tasks. i figured how to add a blog link under Navigation on the left side of the front page. i'm able to view the link and when i click on the link it takes me to the blog page just like it should. a person that happens upon my business site that is not registered can see the link (i figured out how to add permissions for this) but when they click on the link, it takes them to another page and states "Page Not Found". how can i get this configured so unregistered users can still view the blog? also, is there a way to change the name of the link? i would like it to read something other than "my blog". now, i was able to add a contact link and that seems to work fine for someone that is not logged in.

i searched online for documentation for this but was unable to find anything specifically for this.

thanks, in advance, for your help!

Comments

cm1967’s picture

i forgot to include the link to the site.

http://cmccullough.net

it's very, very, very basic at the moment. should have lots more content by the end of the weekend.

thanks, again, for your help with this issue.

pbarnett’s picture

Hi!

You can set what unregistered users can see and do from Administer > User management > Access control

Pete.

cm1967’s picture

thanks!!

cm1967’s picture

i'm still having issues with the blog link. under Administer > User management > Access control, all i can see under Blog Module is "edit own blog". i checked the box for anonymous user but the error is still there. should i be seeing something else there?

thanks.

cm1967’s picture

i just found something else.

Under Administer > Site Building > Menus > Navigation > My blog, it shows My blog as "locked" and will not allow me to unlock it. Could this be the issue?

thanks

pbarnett’s picture

Hi!

The link to your blog from the navigation menu is to http://cmccullough.net/?q=blog/0 and gives me a 404.

However, if I go to http://cmccullough.net/?q=blog/1 I can see "chad's blog".

I'm thinking the link must be wrong...

Pete.

cm1967’s picture

hmmmmm.......that's odd.

http://cmccullough.net takes me to my business site. very strange. http://cmccullough.net/?q=blog/1 does take me to the blog that i created for my business site. http://cmccullough.net takes me to the main page of my business site. from there, if an unregistered user clicks on "My blog", they will then receive the error message.

i'm sure this is all being caused by my lack of understanding how drupal works.

thanks again!

cm1967’s picture

oh, wait a minute. now i think i understand what you're saying. when an unregistered user clicks on the "My blog" link, it takes them http://cmccullough.net/?q=blog/0. if it were to take them to http://cmccullough.net/?q=blog/1 instead, that would probably resolve the problem. is there a way to change where the link directs them?

i'm starting to understand this....... :-)

pbarnett’s picture

Hi!

I see that the 'my blog' link has been removed; you can add menus and menu entries from Administer > Site Building > Menus.

I'd try creating a new menu, adding links to the new menu, and enabling and positioning the new menu block from Administer > Site Building > Blocks.

Pete.

cm1967’s picture

sorry for removing the "My blog" link. i was working with the config files and removed it for testing purposes. i must have done it right when you launched the site. it's back in there now.

i'll try what you are recommending.

thanks!

pbarnett’s picture

Hi.

What I did for my site was to create and populate a new navigation menu, then made the original only visible to admin with a PHP snippet for the block visibility. Worked for me...

Pete.

cm1967’s picture

looks like i have a little more reading to do......

pbarnett’s picture

Hi!

But we're always here if you need help :-)

Pete.

pbarnett’s picture

If you go to administer > Site building > Blocks > Navigation > configure, you can check the 'Show if the following PHP code returns true' radio button in 'Page-specific visibility settings' and add the following snippet :-

<?php
global $user;
return ($user->uid == 1);
?>

and that will do it.