I have searched all over to try to find out how to do this and every method is for earlier versions of Drupal, or involves custom php coding (I'm not a coder by any means).
I'm still learning Drupal (v7) and am using the Bartik theme. This theme creates a tabbed menu near the top of the page. For most users I only want them to have access to this menu and not the navigation menu.
In the navigation menu is a link to the users blog page, this shows a path of "My blog", for whatever reason (certainly not lack of searching) I can't find the code behind this menu item. I want to add this link to the main menu. I have attempted a number of methods including (but not exclusively) :
/blog/%user, blog/$user, blog/$user->%uid, blog/%uid.
I have seen the PathAuto module mentioned and have installed that but it doesn't allow me to do what I want (if a user has created blog entries then PathAuto can generate nice URL's to those pages, but I can't find the correct Drupal variable to use in my path).
I know about the "Me" module, but this is only Drupal 6, but if anybody knows of a D7 alternative that would make my life (and learning curve) a lot easier.
Thanks in Advance
Comments
try this
Hi Andrew,
Following are the steps as to how you can add 'My Blogs' to your Main Menu:
-> Go to Administer > Structure > Menus (admin/structure/menu), here you will find 'Navigation' menu. Click on 'list links'. You will find 'Blogs' menu link listed here and 'My blog' under 'Blogs'.
-> Now edit 'Blogs' menu link and change its 'Parent link' to 'Main menu' (or menu created by you, all available menus will be listed in the 'Parent link' select list within this <>), also check 'Enabled' check box and hit 'save'. (This change Parent link of 'My blog' menu link as well as its dependent on 'Blogs' menu link for now)
-> Now go to the menu to which you have added them. Say if you have added it to 'Main Menu', go to Main menu and click on 'list links'.
-> You will find 'Blogs' and under it 'My blog' now listed in this menu. Drag and pull the 'My blog' menu link to the extreme left such that it no longer falls under 'Blogs' but now its a separate menu link and hit 'Save configuration'.
Note that if you don't want 'Blogs' menu link to be displayed in your menu, disable it now.
-> Thats it! you would see 'My blog' displayed in your Menu.
I hope the steps are clear and this is what you wanted...hth! :)
Regards,
BShetty
Thanks for that.....that is
Thanks for that.....that is exactly what I needed, and much simpler than I would've guessed.
Just needed a bit of extra fiddling as the breadcrumb menu ended up a bit messed up afterwards, but my main menu now works great.
Again, thanks a million.