Template Editing
#1
Is there any way to make the template editing upon plugin install just place you code at the end of a template? Because there isnt really anything I can replace Toungue

EG: I wantto place {$guest_inline} at the end of the postbit template Smile
Reply
#2
Try this;
find_replace_templatesets("postbit", "#".preg_quote('</tbody>
</table>')."#i", '</tbody>
</table>{\$guest_inline}');
Reply
#3
This user has been denied support. This user has been denied support.
"#$#D" might work
Reply
#4
Unfortunately neither work Confused

And I can't just replace "</table>" for obvious reasons Toungue
Reply
#5
This user has been denied support. This user has been denied support.
Well then, $db-> is your friend... Toungue
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)