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

XF 1.3 template modification question

Discussion in 'Styling and Customization Questions' started by Scarface, Jun 11, 2014.

  1. Scarface

    Scarface Member

    this tutorial is awesome ive done my style with this guide but now im trying to make it better such as modifying moderator bar so if i go to modify a line and create mystyle_moderator_bar how would i go to overwrite the part of the code?

    example
    Code:
    moderator_bar
    
    Replace the following:
    
    <xen:hook name="moderator_bar" />
    
    With:
    
    <xen:if is="{$visitor.user_id}">
    <xen:include template="navigation_visitor_tab" />
    </xen:if>
    <xen:hook name="moderator_bar" />
    or should i just edit the xenforo moderator bar instead of creating my own?

    or if i do create template modification will it export it?
     
  2. Brogan

    Brogan XenForo Moderator Staff Member

    Scarface likes this.
  3. Scarface

    Scarface Member

    thannks for the fast answer, so if i do that then when i export the style the modification will come with it right ?
     
  4. Scarface

    Scarface Member

    Maybe i wasnt clear enough or i just dont understand the procedure but i have created a style i want to add visitor panel to the moderator bar but trying to make it so when i do it i dont do it directly to the template. then once done i want to export the style so i can have this once imported on the live style. How to do this or is it even possible?
     

Share This Page