Advertisement
Help Keep Boards Alive. Support us by going ad free today. See here: https://subscriptions.boards.ie/.
If we do not hit our goal we will be forced to close the site.

Current status: https://keepboardsalive.com/

Annual subs are best for most impact. If you are still undecided on going Ad Free - you can also donate using the Paypal Donate option. All contribution helps. Thank you.
https://www.boards.ie/group/1878-subscribers-forum

Private Group for paid up members of Boards.ie. Join the club.

PHP menu question

  • 19-09-2010 10:29PM
    #1
    Closed Accounts Posts: 40


    Hey,

    Can anyone help me out. I am in process of making a website and have a template thing that im editing but not too up to speed with PHP.

    I have a menu on the right hand side of my site and the first option is "Login". Now the PHP for this is:

    if ($conf == 'ON')
    echo '<li class="arrow"> <a href="' . URL . '/login.html">' . $lang . '</a>';
    else
    echo '<li class="arrow"> <a href="' . URL . '/login.php">' . $lang . '</a>';

    But I can't see where I can change the text that shows on my site to say "Sign up". I literally just want to replace the login with Sign up.

    This might be a real basic question but just cannot get my head around PHP :)

    Thanks


Comments

  • Registered Users, Registered Users 2 Posts: 35,522 ✭✭✭✭Gordon


    Looks like you're working with something that has different languages that are defined in separate files. If you have a way of searching for text within a whole bunch of files (I use Text Wrangler for Mac) then search your package for Menu_User_Login and you should find the definition to change.

    Is it OpenRealty? http://phpxref.com/xref/openrealty/include/language/en/lang.inc.php.source.html


  • Registered Users, Registered Users 2 Posts: 1,829 ✭✭✭lil_lisa


    Can you show us the code for login.html or login.php?


  • Registered Users, Registered Users 2 Posts: 9,579 ✭✭✭Webmonkey


    lil_lisa wrote: »
    Can you show us the code for login.html or login.php?
    I'm guessing there is only login.php. Judging by the code it looks like if mod rewrite on apache is enabled, it will map .html to .php for SEO purposes probably.


  • Closed Accounts Posts: 40 Djdukey


    Yes Gordan, thats the program! Ill download that program and have a look.

    I don't know what that apache thing about changing it to HTML.

    Im starting to worry a bit now I think my site my be a bit over my head :(


Advertisement