Quote:
Originally Posted by GlamRockTalk
Thanks DJ. But, this is what I have right now. Is there something wrong with it?
Code:
<div class="pbit"><if condition="$post[field2]"><strong>Location:</strong> $post[field2]</if></div>
|
Move your if condition outside the DIV if you want the DIV to be hidden when there's no Location content. Right now you have the if condition around the Location only, so only the location text is going to be hidden when that field is not filled in by the user.
Quote:
Also, we didn't get to this one about the centering of the tabs....
|
You should be able to get it to center by adding a style tag to the main container:
Code:
<div id="$post[postid]postbittabs" class="djdot" style="text-align:center;">
Quote:
Originally Posted by GlamRockTalk
Just found another issue with the 'post thanks' hack showing in both boxes. I used the following code.....
Code:
$template_hook[postbit_userinfo_right_after_posts]
....and it shows this.....
Attachment 89663
....when I try and add this....
Code:
<div class="pbit">$template_hook[postbit_userinfo_right_after_posts]</div>
....it then shows this.....
Attachment 89664
.....what should I do to fix this? Any suggestions?
|
The template hook probably already displays the upper portion in a div of that class, so encasing it in another
pbit class DIV just encases the whole thing. Try looking for any plugins the Post Thanks Hacks uses in relation to the postbit and look inside the code for a DIV containing the literal HTML for that particular code. You should be able to edit it from there.