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

dbeall’s picture

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

dddave’s picture

sycorax’s picture

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.

dbeall’s picture

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..

hearttoheartsiva’s picture

s

sycorax’s picture

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 ?"

dbeall’s picture

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?

sycorax’s picture

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?

m13’s picture

tell us your advanced front page module settings then.

:)

Phillip Mc’s picture

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.

m13’s picture

"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

Baltuz’s picture

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!

sycorax’s picture

hey i couldnt find the common_methodes.php in sites/all/themes ..., freaking home is still there on ma site...

kiwi_steve’s picture

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

kiwi_steve’s picture

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):

<?php if ($title): ?>
<h1 class="title"><?php print $title; ?></h1>
<?php endif; ?>

and simply changed the first line:

<?php if ($title && $title != "Home"): ?>
<h1 class="title"><?php print $title; ?></h1>
<?php endif; ?>

&& 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

OnthegOinOz’s picture

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

<?php if ($title or $tabs): ?>
            <div id="main-content-header">
              <?php if ($title): ?><h1 id="page-title"><?php print $title; ?></h1><?php endif; ?>
              <?php if ($tabs): ?>
                <div class="local-tasks"><?php print $tabs; ?></div>
              <?php endif; ?>
            </div>
          <?php endif; ?>
EDDYL’s picture

this is the appropriate way to remove the Home title from frontpage.
Just a small improvment if your site is not in english

<?php if ($title && $title != t("Home")): ?>
<h1 class="title"><?php print $title; ?></h1>
<?php endif; ?>
ben2010-1’s picture

Thanks man!
This worked for me!

dbeall’s picture

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.

OnthegOinOz’s picture

Hi dbeall, in this situation how would I then apply a unique panel to the page?

thanks

dbeall’s picture

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.

jrvw’s picture

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.

lduf’s picture

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!