After installing the frontpage module, a completely empty menu item is added to the stock navigation menu.
Steps:
* install stock Drupal 5.0b2
* install HEAD of frontpage module
* go to
?q=admin/build/menu
of your site
//exp: no "empty" menu item observed
//act: " (disabled) enable" found in list of menu items
Badness #1: It's a bit difficult to determine that this is the frontpage menu item. There should be some better rendering of this, if possible.
* enable the menu item
* enter some title, e.g. "my front page"
* submit changes
Now "my front page" appears in the navigation menu and on the front page, as well (?q=front_page).
Comment: I am not certain whether that, in itself, is good.
* now *disable* that menu item again
// menu item no longer appears in the navigation menu
//exp: "my front page" no longer appears on the front page, either
//act: "my front page" still appears on the front page
If you use more generic text instead of "my front page", you will enjoy finding the cause of that suddenly appearing heading text on your front page :->
Having the ability to set a title is rather nice feature, IMHO, simply because the title tag will be filled in appropriately, but the way things work currently, this is not intuitive. Possibly have the ability to set an explicit title in the frontpage configuration?
Comments
Comment #1
Dublin Drupaller commentedThanks for flagging that daffy. I have updated the module so that there is a suggested menu item title for the front page now and users can change that under ADMIN -> SITE CONFIGURATION -> MENUS.
The general usage is to use the "HOME" link or clicking on the logo if it's enabled as the navigation back to the front of the site. The suggested menu item is now included as an extra option and I've added in the text title so it doesn't appear blank.
http://cvs.drupal.org/viewcvs/drupal/contributions/modules/front/front_p...
Dub
Comment #2
daffy commentedI might be missing something here :-)
There now is a disabled "front page" menu item in the Navigation menu, defaulting to no title. This takes care of the bit where no text is shown for menu label in the Navigation menu. Great!
Alas, with things being as they are, now "front page" is shown as [title] and the page heading on ?q=front_page.
I seem to be unable to see a way to define *nothing* as the front page title / heading, while also having some meaningful text in the navigation menu (should that navigation menu entry actually be required)
Hm, perhaps my intent / use case would clarify matters. Just a bit of background: My setup is
a) Have a front page with text defined for anonymous users. This text basically asks users to log in, nothing else.
b) Authenticated users get a redirect to ?q=node
Net effect, and what I do want to accomplish: unauthenticated users always only see the "please" login text; other users see the site.
I'd love to have a very distinct page title (heading) for anonymous users - no title at all.
I am very neutral on having a menu item out in the navigation menu, but IFF there is one, I want it to feature a useful name (independent of role!), with the ability to specify a text/title for the menu item that keys on the role (exactly in the same way the front_page module allows to have different behaviour for every single role out there. I have an additional "administrator" role, currently, and expect to add more).
Thanks!
Stefan
Comment #3
Dublin Drupaller commentedI've reverted the earlier change (removed the page & menu title addition)
copy and paste the following into the textarea for anonymous users on the ADMIN -> SITE CONFIGURATION -> ADVANCED FRONT PAGE settings.
Marking this feature request as won't fix.
hope that helps.
dub