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

As Designed Template Modification

Discussion in 'Resolved Bug Reports' started by xf_phantom, Nov 30, 2013.

  1. xf_phantom

    xf_phantom Well-Known Member

    The Template Contents doesn't show the "current" template content which includes all active template modifications.
    Shouldn't i get the "real" template which will be used for the output?
    It shows only the original, not modified xenforo template content.

    steps to reproduce:

    add a template modification to "account_wrapper"
    search for
    <!-- slot: pre_settings -->
    replace with
    <!-- slot: pre_settings -->
    <li class="section">
    <h4 class="subHeading">{xen:phrase fat_settings}</h4> <ul>
    create another modification in template "account_wrapper"

    Actual Results:
    Template Contents doesn't include my previous change

    Expected result:
    Template Contents includes my previous template modification, to be able to see the REAL output and also to use the new content for search and replace operations
    <!-- slot: pre_settings -->
    <li class="section">
    <h4 class="subHeading">{xen:phrase fat_settings}</h4> <ul>

    Even the "test modification" button won't show my REAL result :(

    I hope this won't be marked as "as designed":p
    Last edited: Nov 30, 2013
  2. Mike

    Mike XenForo Developer Staff Member

    This is as designed. The use case is generally not to create modifications that depend on other modifications. You're free to do that obviously if the need arises, but it's generally discouraged.

Share This Page