Menu

#909 Login link vs. login section

open
nobody
None
5
2007-12-24
2007-12-24
Wes Groleau
No

The link "Login" at teh top of each page (Cloudy them) was not obvious to visitors as the place to go for a new account/ So I put "Login or request account" as an override in extra.en.php

But the same variable is used for the login section and for the button, so it's still confusing to some.

Suggest that the link to get to that page be a separate variable from the button text and box title after you get there.

Discussion

  • Wes Groleau

    Wes Groleau - 2007-12-24

    Logged In: YES
    user_id=1537714
    Originator: YES

    I did this by changing "login" to "login_link" in
    print "<a href=\"$LOGIN_URL?url=".urlencode(basename($SCRIPT_NAME).normalize_query_string($QUERY_STRING."&amp;ged=$GEDCOM"))."\" class=\"link\">".$pgv_lang["login_link"]."</a>";

    in includes/functions_print.php and adding
    $pgv_lang["login_link"] = "Login or Request Account";
    to my extra.en.php

    But I can't test it--my server just went down

     
  • Wes Groleau

    Wes Groleau - 2008-01-26

    Logged In: YES
    user_id=1537714
    Originator: YES

    The fix below does work.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.