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

XF 1.2 how to find the locations (class) of the different pages XenForo

Discussion in 'XenForo Questions and Support' started by Allan, Dec 22, 2013.

  1. Allan

    Allan Well-Known Member

    For example:

    - Conversation -> .conversations_list, conversation_view
    - Forumhome -> forum_list
    - Forum display -> forum_view, forum_list
    etc ....

    I did not find anything about it ..
     
  2. Andy.N

    Andy.N Well-Known Member

    View source of any page and search for
    <div id="content" class="
    For example, on forum home, you will find
    <div id="content" class="forum_list">

    That means the template is forum_list
     
    Allan likes this.
  3. Allan

    Allan Well-Known Member

    Good idea, thank you Andy ;)
     
  4. Brogan

    Brogan XenForo Moderator Staff Member

    It's been in the FAQ for about 3 years...

    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-181112
     
  5. cclaerhout

    cclaerhout Well-Known Member

Share This Page