As designed Template Modification

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
Code:
<!-- slot: pre_settings -->
replace with
Code:
<!-- slot: pre_settings -->
<li class="section">
<h4 class="subHeading">{xen:phrase fat_settings}</h4> <ul>

</li>

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
Code:
<!-- 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:
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.
 
Back
Top Bottom