Skip to:
Content
Pages
Categories
Search
Top
Bottom

change text.


  • johnnydoe
    Member

    @johnnydoe

    hello,

    where can i find the language file, because i want to remove things like » and such.

    thanks

Viewing 10 replies - 1 through 10 (of 10 total)

  • chrishajer
    Participant

    @chrishajer


    johnnydoe
    Member

    @johnnydoe

    i guess this is a way over my head, is there no single php file or such where i’m able to change the phrases directly with a text editor?

    thanks


    chrishajer
    Participant

    @chrishajer

    You’re not talking about changing everything into a new language then?

    Where does the text appear that you want to change? You can change anything that appears in a template file without hurting anything else. Maybe what you want to change appears in a template file. Where are the characters you want to change? Is it just »?

    You might be asking about two different things: language file, and characters that appear in the template files.


    johnnydoe
    Member

    @johnnydoe

    well actually i want to change things like “» ” or the “|” in the footer (Welcome, admin | Admin | Log Out ) .

    so sorry for the confusion so far :D


    chrishajer
    Participant

    @chrishajer

    Where does the » appear on your page? In the page title, or by the Add New or between the forum name and topic name? And that admin link for me is in the header not the footer. Can you post a screenshot with the items circled that you want to change?


    johnnydoe
    Member

    @johnnydoe

    it’s the Topic – Add New » on front-page.php

    <th align="left"><?php _e('Topic'); ?> <?php new_topic(); ?></th>

    thats why i thought there is a language file or such around, because the phrases here are actually php tags.


    chrishajer
    Participant

    @chrishajer

    What version did you install?


    chrishajer
    Participant

    @chrishajer

    In the front-page.php file in your template folder, you can do this:

    Change:

    <th><?php _e('Topic'); ?> — <?php new_topic(); ?></th>

    to:

    <th><?php _e('Topic'); ?> — <?php new_topic('Add New ---->'); ?></th>

    Where Add New —-> is what you want displayed instead of the default.


    johnnydoe
    Member

    @johnnydoe

    ah gotcha that worked like a charm, thanks a ton.

    btw i use 0.9.0.2 .


    johnnydoe
    Member

    @johnnydoe

    sorry to bother you again, but i also need to change the [sticky] tag on the frontpage in to something else, lets say in ricky.

    the same trick you’ve mentioned above with the add new?

    thanks

Viewing 10 replies - 1 through 10 (of 10 total)

You must be logged in to reply to this topic.