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

XF 1.5 HELP problems

Discussion in 'Styling and Customization Questions' started by jadmperry, Sep 14, 2016.

  1. jadmperry

    jadmperry Well-Known Member

    My site (www.pebforum.com) has this issue with the Home>Help page:

    This is what is displayed: 2016-09-14 (1).png


    So, all of the "help" sub-links are all smooshed together.

    Here is the link:
    http://www.pebforum.com/site/help/

    Any idea how to make each subsection/tab viewable and/or readable?

    Thanks in advance!!

    Jason
     
  2. Nudaii

    Nudaii Well-Known Member

    you could add display: inline-block; to the li :)

    the online sidebar is also showing up below forumlist for me when on desktop, is that intended?
     
  3. jadmperry

    jadmperry Well-Known Member

    Where would I add this? (And, was your post complete? "to the li"? what is that?

    Is there a template that I should be referencing?

    Not sure what you mean here....I think/thought "forumlist' was a vb term (?).

    Thanks for your response!!
     
  4. Nudaii

    Nudaii Well-Known Member

    howdy the li is a html tag using in making lists, in this case the tabs, for some reason the style you are using seems to use different layout than the standard help page which has the links/tabs to the left of the content.

    As for forumlist, i meant the list of forums :) in xenforo i believe its template is called forum_list
     
  5. Nudaii

    Nudaii Well-Known Member

    Btw would the skin happen to be an older one, because it seems its missing some css for the help pages.
     
  6. Nudaii

    Nudaii Well-Known Member

    a quick & dirty fix

    looking for template help_wrapper and replacing this

    Code:
    <li class="section">
                   <ul>
                       <xen:hook name="help_sidebar_links">
                       <li><a href="{xen:link help/smilies}" class="{xen:if "{$selected} == 'smilies'", 'secondaryContent', 'primaryContent'}">{xen:phrase smilies}</a></li>
                       <!-- slot: pre_bb_codes -->
                       <li><a href="{xen:link help/bb-codes}" class="{xen:if "{$selected} == 'bbCodes'", 'secondaryContent', 'primaryContent'}">{xen:phrase bb_codes}</a></li>
                       <!-- slot: pre_trophies -->
                       <xen:if is="{$xenOptions.enableTrophies}">
                           <li><a href="{xen:link help/trophies}" class="{xen:if "{$selected} == 'trophies'", 'secondaryContent', 'primaryContent'}">{xen:phrase trophies}</a></li>
                       </xen:if>
                       <!-- slot: pre_cookies -->
                       <li><a href="{xen:link help/cookies}" class="{xen:if "{$selected} == 'cookies'", 'secondaryContent', 'primaryContent'}">{xen:phrase cookie_usage}</a></li>
                       <!-- slot: pre_tos_url -->
                       <xen:if is="{$tosUrl}">
                           <li><a href="{$tosUrl}" class="{xen:if "{$selected} == 'terms'", 'secondaryContent', 'primaryContent'}">{xen:phrase terms_and_rules}</a></li>
                       </xen:if>
                       </xen:hook>
                       <xen:foreach loop="$pages" value="$page">
                           <li><a href="{xen:link help, $page}" class="{xen:if "{$selected} == {$page.page_name}", 'secondaryContent', 'primaryContent'}">{$page.title}</a></li>
                       </xen:foreach>
                   </ul>
               </li>
    
    with
    Code:
    <li class="section">
                   <ul>
                       <xen:hook name="help_sidebar_links">
                       <li style="display:inline-block;"><a href="{xen:link help/smilies}" class="{xen:if "{$selected} == 'smilies'", 'secondaryContent', 'primaryContent'}">{xen:phrase smilies}</a></li>
                       <!-- slot: pre_bb_codes -->
                       <li style="display:inline-block;"><a href="{xen:link help/bb-codes}" class="{xen:if "{$selected} == 'bbCodes'", 'secondaryContent', 'primaryContent'}">{xen:phrase bb_codes}</a></li>
                       <!-- slot: pre_trophies -->
                       <xen:if is="{$xenOptions.enableTrophies}">
                           <li style="display:inline-block;"><a href="{xen:link help/trophies}" class="{xen:if "{$selected} == 'trophies'", 'secondaryContent', 'primaryContent'}">{xen:phrase trophies}</a></li>
                       </xen:if>
                       <!-- slot: pre_cookies -->
                       <li style="display:inline-block;"><a href="{xen:link help/cookies}" class="{xen:if "{$selected} == 'cookies'", 'secondaryContent', 'primaryContent'}">{xen:phrase cookie_usage}</a></li>
                       <!-- slot: pre_tos_url -->
                       <xen:if is="{$tosUrl}">
                           <li style="display:inline-block;"><a href="{$tosUrl}" class="{xen:if "{$selected} == 'terms'", 'secondaryContent', 'primaryContent'}">{xen:phrase terms_and_rules}</a></li>
                       </xen:if>
                       </xen:hook>
                       <xen:foreach loop="$pages" value="$page">
                           <li style="display:inline-block;"><a href="{xen:link help, $page}" class="{xen:if "{$selected} == {$page.page_name}", 'secondaryContent', 'primaryContent'}">{$page.title}</a></li>
                       </xen:foreach>
                   </ul>
               </li>
    
    pic.png
     
    jadmperry likes this.
  7. jadmperry

    jadmperry Well-Known Member

    You gave me the fix!!

    Thanks so much. If you have a donation link or something, let me know.

    Thanks again for the help!!!
     
    Nudaii likes this.
  8. Steve F

    Steve F Well-Known Member

    Did you want the help navigation like that or like the default? Seems a little out of place is all.

    Could be outdated templates or some non specific CSS overwriting the default sidebar navigation.
     
  9. Nudaii

    Nudaii Well-Known Member

    The skin i believe is a pre 1.2 or early 1.2 skin, so possible its misssng some of the templates to reflect the help page changes that come later on.
     
  10. Steve F

    Steve F Well-Known Member

    If so the the template you provided would have likely caused errors as the additional pages function wasn't added until XF 1.4. Also, the above can be done with some CSS instead of editing a template.

    @jadmperry if you would like I can take a look later for you if you want.
     
    Nudaii likes this.
  11. Nudaii

    Nudaii Well-Known Member

    i believe the board itself is using later than 1.4 so the above code shouldnt cause errors, but the skin doesnt seem to be much higher than 1.2 (where as you say custom help pages were later i believe 1.4), and yep was a quick fix while i was at work, didnt have a time to look into what was causing the default selectors to be overrode. saw an issue like that once before and that was a dbtech addon from 1.1 when on 1.2 or higher so could be related to li on pre 1.2 skins once the softtware itself is ugraded 1.2 and beyond.

    notice there some odd issues with the usercards too, the avatars seem to be on the div above the info, very curious.
     

Share This Page