By sycorax on
hey how do u remove the HOME from advanced front page, for both the anonymous user and authenticated user. CHecked out the forums but only could find topic on front page but not advanced front page.
and one more thin my site directly takes me to the profile page instead of the front page after login, y is that happening.
My site - www.assistmoi.com
Comments
.
You should be able to open the menu settings and disable the Home link with the check box.
The login can be fixed here http://drupal.org/node/460024
Login problem
http://www.jamesjordaniii.com/webd/action_triggers
thanks
thanks the login thing worked, but i couldnt find the check box to remove home links.
I went to administer> site building> menus . could only find Navigation, primary and secondary. or did you mean any other menu settings? if yes, could you point me to the exact location of the menu.
.
Since I don't use this mod...http://drupal.org/project/front I just installed this module in my local-toast wamp and using primary links, and I made a bunch of menu links.. then went to the menu settings and removed the home link by unchecking it in the menu settings.. Same as regular.. I looked at the code for your page, and it looks like it's using primary links..
s
s
no , not that
i wasnt talking about the primary links.
when you hit www.assistmoi.com, on the first page, i would like to remove, the HOME which is right above "What is assistMoi.com? How will it assist me ?"
.
yes, I went on your site and have seen the Home link.. I assume is generated by one of the menus in the system.. yes? no?
Which menu r u using?
nope
the links have no connetion to the home. i think its got to do something with the advanced front page module. Some thing in the code. any idea?
well
tell us your advanced front page module settings then.
:)
page title
something is giving you a page title on your front page..i.e. "HOME" appears to be a page title
<h1 class="title">Home</h1>when you look at the page source.recommend you have a look at your page.tpl.php file for that theme, to see if that is inserting it. or try changing the theme to see if it still appears.
I agree
"Home" is a title (now I realized you were talking about the "Home" above the question and not in the primary links section). You should search within the code for the answer
Solution
sites/all/themes//common_methodes.php
Look for breadcrumbs
In my installation it's on line 35
function art_breadcrumb_woker($breadcrumb) {
$breadcrumb = menu_get_active_breadcrumb();
if (!empty($breadcrumb)) {
return '
';
}
}
We don't want it returning Home button
function art_breadcrumb_woker($breadcrumb) {
$breadcrumb = menu_get_active_breadcrumb();
if (!empty($breadcrumb)) {
//return '
';
}
}
That's it!
i dont find
hey i couldnt find the common_methodes.php in sites/all/themes ..., freaking home is still there on ma site...
I have this problem too... I
I have this problem too... I suspect (I'm unable to test it at the moment) that it will be in the page.tpl.php file, as thats where the css for my site is hinting to me I might find it (Home is wrapped in a H1 class="title" tag, and h1.title is referring to page titles, not node titles). When I get home and can access a shell to the server I'll have a play and see if I can script it out... its very annoying.
Cheers
Steve
ok, found the offending code
ok, found the offending code in my page.tpl.php file (this will probably be different for you, but the concept will be the same):
and simply changed the first line:
&& means AND, and != means "not equal to", so now it checks if there is a title, AND that the title is NOT "Home" before printing it.
Cheers
Steve
I have seen this in a couple
I have seen this in a couple of place but it does not seem to change anything for me... Can someone please have a look to see where and what should go in... I am using AdaptiveTheme... below is the section on the page.tpl.php I would have thought the && $title != "Home", event though my node is 'home' with a small case h.
Thanks in advance
THIS IS THE ANSWER TO THE ABOVE QUESTION
this is the appropriate way to remove the Home title from frontpage.
Just a small improvment if your site is not in english
This worked
Thanks man!
This worked for me!
home title
Sorry, I wasn't thinking... here you go.
goto: administer > Site configuration > Site information and at the bottom,, put 'frontpage' in Default front page.
Goto views, enable the frontpage view, it's included with views.
Then goto the 'page' view, and choose row style 'fields'
Then use the 'fields' setting '+' and choose 'Node: Body'
save it and check the front page.
Hi dbeall, in this situation
Hi dbeall, in this situation how would I then apply a unique panel to the page?
thanks
hmm, don't know
I wish I could answer your question about panels, but I haven't had enough time using panels to help on that one.
I do know that anything that is 'promoted to front page' will show in the view.
The standard home menu remove solved
Don't need to delet the breadcrumbs or othere lines in the theme template just do this.
Do this and the standard the Home link provided by the menu tabs in the Bartik theme
Wil disappear, Just go to the admin menu >> /admin/structure/menu/manage/main-menu and delete it,
Or comment it out by removing the V in the block and the standard home menu is gone.
I think it will work at other templates to, But im not for sure about that.
It works!
Thank you!
Indeed it works when you go to Structure -> Menus -> Main menu -> list links ("operations" column) -> then you just unable/disable Home -> Save -> Done!