![]() |
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:
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? ;) |
Apparently, it was the empty IF conditional causing the problem. I got around it by closing off the DIV in the SHOWTHREAD template, and putting just a regular opening DIV tag in the empty part of the conditional:
Code:
<if condition="!$GLOBALS['FIRSTPOSTID']"> |
All times are GMT. The time now is 06:28 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|