The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
||||
|
||||
Template Edit Disabling Inline Editor
Trying to add a wrapper around the postbit, but I'm running into a problem with the inline editor not working on anything but the top post of a thread. Everything else opens in the full editor. I imagine it has something to do with the conditional I'm using, but strangely enough, it's only when I remove the bottom half of the wrapper that the Quick Edit works fine.
Could I possible be using the wrong conditional for my needs? Here's the opening and closing code for the wrapper. I only need the opening tag for the DIV if it's not the topmost post of the thread. I have the opening DIV tag for the top post already defined in the SHOWTHREAD template. I've tried putting this in the postbit and in the postbit_wrapper and a combination of both, but nothing solves my problem. Code:
<if condition="!$GLOBALS['FIRSTPOSTID']"> <else /> <div> <b class="djdarkcorner"> <b class="djdarkcorner1"><b></b></b> <b class="djdarkcorner2"><b></b></b> <b class="djdarkcorner3"></b> <b class="djdarkcorner4"></b> <b class="djdarkcorner5"></b></b> </if> <b class="djdarkcorner"> <b class="djdarkcorner5"></b> <b class="djdarkcorner4"></b> <b class="djdarkcorner3"></b> <b class="djdarkcorner2"><b></b></b> <b class="djdarkcorner1"><b></b></b></b> </div> As an addendum, it does appear to be the <if> conditional causing the problem. Removing it fixes things. However, I need the conditional to remove the opening of the wrapper, otherwise it creates a layout problem. --------------- Added [DATE]1216560938[/DATE] at [TIME]1216560938[/TIME] --------------- I just run into the peculiar stuff, don't I? |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|