View Full Version : Editing postbit template
ZeroHour
Mon 14th Jan '08, 6:30pm
Hi
I recently tried to change the postbit template specifically to edit the size of the line that breaks the bottom of the post with the signature.
Whatever I change it too though does not appear to go live. I think its probably something obvious but does anyone have a suggestion as to why the site is not reflecting template change?
Cheers
Wayne Luke
Mon 14th Jan '08, 8:04pm
The only thing that would make the template change not take effect is if you are using a different style than the one that you make the change in.
ZeroHour
Mon 14th Jan '08, 8:23pm
Thats what I thought but yet it does not seem to get edited.
The templates I have are all significantly different so I know the correct one is active. I will double check and see but its strange as I did try these stages before.
I am correct in thinking the postbit template is the part that control the rendering of threads (such as this one) and thus controls the display of signatures.
ZeroHour
Mon 14th Jan '08, 8:55pm
Right I deleted this chunk of code from postbit which I thought would mean that no signatures would show regardless but yet they remained. I also added the styleid to the url bar to ensure its the correct one.
$template_hook[postbit_signature_start]
<if condition="$post['signature']">
<!-- sig -->
<div>
__________________<br />
$post[signature]
</div>
<!-- / sig -->
</if>
$template_hook[postbit_signature_end]
Any ideas why the change did not get reflected in the full screen refresh?
Cheers for the help
decostop
Mon 14th Jan '08, 9:19pm
are you using the legacy postbit? (postbit info on the side instead of the top). It's a different template (postbit_legacy)
ZeroHour
Mon 14th Jan '08, 9:21pm
Yeh I discovered that just now. Was being a muppet. Sorry for wasting your time
This can be deleted.
vBulletin® v3.8.0 Beta 4, Copyright ©2000-2008, Jelsoft Enterprises Ltd.