2017-01-15, 05:48 AM
(This post was last modified: 2017-01-15, 05:50 AM by zontrakulla.)
I want to add some codes after the last </div> or at the end of the template. How do i achieve this?
Scheme:
Scheme:
<div><div>
<tr>
<td>
...
</td>
</td>
</div>
</div>
<!-- CODES_TO_ADD -->
find_replace_templatesets("sometemplatefile", "#".preg_quote('LAST_DIV?')."#i", 'CODES_TO_ADD');