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

XF 1.4 Change help topics order ?

Discussion in 'Styling and Customization Questions' started by Cmely, Feb 27, 2015.

  1. Cmely

    Cmely Member

    Is it possible to change the help topics order ? including the default ones and the admin created ones ?
    And if yes, how?

    thank you in advance for your help :)
     
  2. Amaury

    Amaury Well-Known Member

    For your first question, edit the help_index template; for your second question, the order is determined by what you put in the Display Order field.
     
  3. Cmely

    Cmely Member

    Thank you Maru :)
    This is almost what I need: how can I display the admin created help topics first and change the links in the left panes accordingly ?

    0079.jpg
     
  4. Amaury

    Amaury Well-Known Member

    Move this:

    Code:
        <xen:hook name="help_index_extra" />
    
        <xen:foreach loop="$pages" value="$page">
            <dl>
                <dt><a href="{xen:link help, $page}">{$page.title}</a></dt>
                <dd>{$page.description}</dd>
            </dl>
        </xen:foreach>
    Below this:

    Code:
    <div class="baseHtml">
     
  5. Cmely

    Cmely Member

    Yes, this is what I've done, but this change only the right pane order. The index (on the left) stay in the previous order.
    The picture attached in my previous post show the result of this move.
     
  6. Amaury

    Amaury Well-Known Member

    Check the help_wrapper template.
     
  7. Cmely

    Cmely Member

    Perfect! Thanks a lot, Maru :)
     

Share This Page