Menu

Header Title...

Help
tthdoc
2011-02-06
2013-05-30
  • tthdoc

    tthdoc - 2011-02-06

    I have tried to find where to change this, but cannot find it.  Every page title at the top says xxx - PhpGedView, for instance John Doe - I1234 - Individual Information - PhpGedView, or My Family Tree - PhpGedView.  Where can I change it so it does not include this in the header title.  I have a link at the bottom of each page for PhpGedView with the icon, but I would rather not have it in the page titles.

    Thanks,
    Doc

     
  • Stephen Arnold

    Stephen Arnold - 2011-02-06

    IIRC, this variable is set in the session.php file. Take a look there. Not sure why you would wish to remove - you haven't paid anything for the software, but don't wish to promote?

     
  • Gerry Kroll

    Gerry Kroll - 2011-02-06

    Doc:
    I agree with Stephen.  What's wrong with having the text "- PhpGedView" in the title of each page?  Do your users actually LOOK at the title displayed by the browser, or do you just not want your bookmarks cluttered with extraneous information?

    If you can give us a reason, I'll tell you where to look. 

     
  • tthdoc

    tthdoc - 2011-02-06

    Stephen,  Thanks for the help.

    Gerry, the reason was when I sent a link to the page through facebook, it uses this title and I did not want to confuse who I was sending it too to wonder what it was and just wanted the name of the family tree there.  As to promoting it, I have the powered by PhpGedView logo on every page of the site.

     
  • Stephen Arnold

    Stephen Arnold - 2011-02-06

    Doc
    I don't understand the URL to FB problem. The URL (Link) is simply the address and should have nothing to do with the page TITLE, unless you did not provide the link a name and let FB get the link name from that header. It is possible to send other names:

    <a href="http://www.MyArnolds.com">Visit the Arnold Family Tree</a>
    

    or any variation of this by changing the 'Visit…….." portion.
    -Stephen

     
  • Gerry Kroll

    Gerry Kroll - 2011-02-06

    The above tag should have a "title" sub-field, like so:

    <a href="http://www.MyArnolds.com" title="Visit the Arnold Family Tree">Visit the Arnold Family Tree</a>

     
  • Gerry Kroll

    Gerry Kroll - 2011-02-06

    Sorry -- no semi-colon in that last <a>.  Don't know how that got in there.

     
  • Gerry Kroll

    Gerry Kroll - 2011-02-06

    Doc:
    If you REALLY want to mess around with what the browsers show in the window title bar, you can look at the beginning of function print_header() in file "includes/functions/functions_print.php" 

    We recommend that you leave things as they are.

     
  • tthdoc

    tthdoc - 2011-02-06

    I have tried everything, yet when I type the website into a facebook comment, it lists below as a title - My Website - PhpGedView, and below the actual link:  www.mywebsite.com/familytree.  I even went into sessions where it defines PGV_PHPGEDVIEW and made it blank.  This worked on the site and the link for the powered by icon, but on FB still said My Website - PhpGedView.  I am thinking that FB caches a site once found, and only updates every so often (kinda like google will not reflect a change right away).  So I will just wait a few days and check again..

     

Log in to post a comment.