Closed (fixed)
Project:
Front Page
Version:
5.x-1.9
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Reporter:
Created:
7 Jun 2008 at 10:39 UTC
Updated:
11 Sep 2008 at 07:32 UTC
Jump to comment: Most recent file
Comments
Comment #1
Phillip Mc commentedthis isn't really a front page issue...but, it might be an interesting feature request...i.e. offer a checkbox to override the
www.example.com/nodepage.however, one quick way of disabling the /node/ page would be to create a mini module using a snippet like the one below, which returns a 404 "page not found" message. edit sitename to suit.
Comment #2
NeuZeitgeist commentedHow to use your snippet?
I put this code to document type "page", enabled php code filter but there are no changes. I can still see node page.
Thank you.
Comment #3
Phillip Mc commentedI'm going to suggest this to Dublin Drupaller as a new feature in the new version of front_page.module - he's working on it at the moment.
If you're in a hurry....follow these steps to patch your existing front_page.module:
www.example.com/nodeyou should be directed to the front_pageHope that helps. Like I said earlier, I'm helping with the update of this module, so I'm going to suggest it as a new feature and it will be included in future versions along with a checkbox on the settings page that says "Override www.example.com/node page?".
I have attached an amended front_page.module (version 5.9) with the above changes already made if it's of use (Just remove the .txt extension)
I have tested the module and it works as expected, although if you experience any problems with it, just delete it, replace it with your backup copy of the module and report back up here.
Comment #4
NeuZeitgeist commentedThank you very much for your answer! I'll do like this.
Comment #5
NeuZeitgeist commentedIt works but there is a little bug. When you go on page www.example.com/node there is additional title "Content" on the page. Se screenshot.
Comment #6
Phillip Mc commentedI can't recreate that error. do you see the 'content' page title when you go to the front page normally?
Comment #7
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.