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

XF 1.3 Additional text on upgrade page

Discussion in 'Styling and Customization Questions' started by JamesBrown, Jul 5, 2014.

  1. JamesBrown

    JamesBrown Well-Known Member

    I'm stuck trying to figure this out. I would like to add some text just above the Orange bar showing the available upgrades. Which template and where within it should I place the html. Thanks in advance

    upgrades.jpg
     
  2. Brogan

    Brogan XenForo Moderator Staff Member

    The FAQ in my signature explains how to identify the template name of the current page.
     
  3. JamesBrown

    JamesBrown Well-Known Member

    Thanks I found the template, account_upgrades But text I add does not show up. Can someone let me know how I met get some text to appear on this page. Thanks again
     
  4. Brogan

    Brogan XenForo Moderator Staff Member

    Edit the template like so:
    HTML:
    <xen:require css="account_upgrades.css" />
    
    <p class="importantMessage">{xen:phrase your_phrase}</p><br />
    Add the line shown and create your phrase to suit.
     
    JamesBrown likes this.
  5. JamesBrown

    JamesBrown Well-Known Member

    Thanks Brogan, I'm revisiting this as I've still not got it to work.

    I've made a phrase called text_test

    And I've tried adding this in a dozen places in the template. but it never shows up

    HTML:
    <xen:require css="account_upgrades.css" />
    
    <p class="importantMessage">{xen:phrase text_test}</p><br />
     
  6. JamesBrown

    JamesBrown Well-Known Member

    I've sorted it now with a notice that only shows up on that page :)
     

Share This Page