Skip to:
Content
Pages
Categories
Search
Top
Bottom

The most stupid question…:-)

  • Profile photo of Sgrunt
    Sgrunt
    Participant

    @sgrunt

    maybe the most stupid question in the world, and i know someone of you will never talk to me after this but…

    i want to add in the menu of each sub blog a link to the MAIN homepage. What is that link?

    :-))))

Viewing 6 replies - 1 through 6 (of 6 total)
  • $bp->root_domain

    Profile photo of Sgrunt
    Sgrunt
    Participant

    @sgrunt

    grr i hate to be blocked by silly questions…

    i’m into one of my sub blogs (i use subdirectories), for example:

    http://mysite.com/sgruntblog

    if i put this link in the menu of header.php:

    <li><a><?php bp_site_name() ?></a></li>
    it always points to http://mysite.com/sgruntblog

    i need it pointing to http://mysite.com so people can reach the main blog from all the sub blogs.

    sorry: the forum strips my code: the content of the href is echo $bp->root_domain;

    Profile photo of Sgrunt
    Sgrunt
    Participant

    @sgrunt

    hi guys, always me. I’ve noticed than putting echo $bp->root_domain; in the href, it reloads the actual page i’m visiting. Surely Andy is in right, maybe could be a problem of my installation? I only need linking to my main blog homepage, from other sub blogs.

    Profile photo of John James Jacoby
    John James Jacoby
    Keymaster

    @johnjamesjacoby

    Andy is definitely right on this one…

    You might want to make sure you’re uploading the files to the right places, and try deleting your browser cache for good measure.

    Profile photo of Sgrunt
    Sgrunt
    Participant

    @sgrunt

    sorry, deleted

    Profile photo of Mike Pratt
    Mike Pratt
    Participant

    @mikepratt

    It’s not a stupid question but you might find better success at getting help, in addition to doing a service to your fellow BP peeps by actually putting the subject of your problem as the Title of the post. Of course, I just clicked out of curiosity but I doubt that’s what you wanted

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘The most stupid question…:-)’ is closed to new replies.