1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Removing Colon

Discussion in 'Styling and Customization Questions' started by Luke B, Jul 27, 2011.

  1. Luke B

    Luke B Active Member

    How do I remove the colon from "latest" in the last post node?
    _r1_c1.jpg
     
  2. Brogan

    Brogan XenForo Moderator Staff Member

    I suspect it may be hard coded in the template.

    Although I know a few changes were made to move colons and such to the phrase system to help with translation.
     
  3. Luke B

    Luke B Active Member

    The "latest" phrase seems unnecessary and forced so I removed it for esthetic purposes. Now I just need to remove this colon somehow. Any idea where it might be found? It's a bit of an obscure question I know.
     
  4. Brogan

    Brogan XenForo Moderator Staff Member

    It's in the node_forum_level_2 template.

    Code:
    {xen:phrase latest}: <a href="{xen:link posts, $forum.lastPost}" title="{$forum.lastPost.title}">{xen:helper wordTrim, $forum.lastPost.title, 30}</a>
     
    Luke B likes this.
  5. Luke B

    Luke B Active Member

    And there it is! Found and removed!

    Thank you very much Brogan!
     
  6. Luke B

    Luke B Active Member

    Where would I find and remove the colon from the profile page sidebar? Thank you again

    _r2_c2.jpg
     
  7. Fuhrmann

    Fuhrmann Well-Known Member

    In the template member_view:

    PHP:
    <div class="section infoBlock">
                <
    dl class="secondaryContent pairs">

                    <
    xen:hook name="member_view_info_block">

                    <
    xen:if is="{$canViewOnlineStatus}">
                        <
    dt>{xen:phrase last_activity}:</dt>
                            <
    dd><xen:datetime time="$user.effective_last_activity" /></dd>
                    </
    xen:if>

                    <
    dt>{xen:phrase joined}:</dt>
                        <
    dd>{xen:date $user.register_date}</dd>

                    <
    dt>{xen:phrase messages}:</dt>
                        <
    dd>{xen:number $user.message_count}</dd>

                    <
    dt>{xen:phrase likes_received}:</dt>
                        <
    dd>{xen:number $user.like_count}</dd>

                    <
    dt>{xen:phrase trophy_points}:</dt>
                        <
    dd><a href="{xen:link 'members/trophies', $user}" class="OverlayTrigger">{xen:number $user.trophy_points}</a></dd>

                    <
    xen:if is="{$canViewWarnings}">
                        <
    dt>{xen:phrase warning_points}:</dt><dd>{xen:number $user.warning_points}</dd>
                    </
    xen:if>

                    </
    xen:hook>

                </
    dl>
            </
    div>
     
    Luke B likes this.
  8. Luke B

    Luke B Active Member

    Awesome. Thank you very much!
     
  9. Luke B

    Luke B Active Member

    One more for ya :)
    What template would I find the colons in the home page sidebar?

    _r2_c2ss.jpg
     
  10. Brogan

    Brogan XenForo Moderator Staff Member

    Not sure if you know how to check which template or not, so this should help.

    How can I find out which template to edit?
    Using your browser, view the page source and look for a line of code near the top of the page which begins
    <div id="content" class="; the class is the name of the template. So for the main forum page, the line of code is:
    <div id="content" class="forum_list">, which makes the template forum_list.

    http://xenforo.com/community/threads/frequently-asked-questions.5183/#post-181037

    Or you can search the phrases for the text which will return a list of all matching phrases.
    You can then search the templates for the actual phrase titles.
     
    Luke B likes this.
  11. CyclingTribe

    CyclingTribe Well-Known Member

    Not on topic - but the thread title made me wonder if you were having an operation ... :eek:
     
    Edrondol, Luke B and MGSteve like this.
  12. MGSteve

    MGSteve Well-Known Member

    .. glad I wasn't the only one. :LOL:
     
  13. Luke B

    Luke B Active Member

    You know, when I was typing it up I was thinking the same thing. I had a feeling someone was going to say something :)
     
    GeeksChat likes this.
  14. Brogan

    Brogan XenForo Moderator Staff Member

    Let me know if you're still struggling to find those colons Luke.

    I just figured you might want to know how to do it yourself, it's sometimes quicker than waiting for an answer.
     
    M@rc likes this.
  15. kkm323

    kkm323 Well-Known Member

    I believe you have to do a lot of editing when you upgrade to 1.1 :D:(
     
  16. Russ

    Russ Well-Known Member

    On a really side note Luke, I am absolutely loving how much effort and detail you're putting in your site. It truly shows how much you care about your board :), I LOVE the style.
     
    Luke B likes this.
  17. Luke B

    Luke B Active Member

    Thank you for all your help Brogan. I'm still having a difficult time locating the colons :) to the right of the logged in user profile picture in the sidebar.
    My EXTRA.css is loaded up but I still have a good amount of templates that will be going into notepad ++ once I upgrade to 1.1 o_O

    Thank you very much Russ! It's always nice to hear complements on something I've put a good amount of time into. I'm never satisfied with my work, so it will be changing/improving as long as its in my hands.
     
  18. Brogan

    Brogan XenForo Moderator Staff Member

    The sidebar_visitor_panel template.
     
  19. Luke B

    Luke B Active Member

    Perfect Brogan, Thank you!
     

Share This Page