PHP Warning: Undefined array key "rating" in ..../includes/class_postbit.php(368) : eval()'d code on line 68
[HOW TO - vB4] Postbit Legacy Location Field Alignment - vb.org Archive
Go Back   vb.org Archive > vBulletin Article Depository > Read An Article > vBulletin Tips & Tricks
Register FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
[HOW TO - vB4] Postbit Legacy Location Field Alignment
trilogy33
Join Date: Jan 2008
Posts: 70

 

UK
Show Printable Version Email this Page Subscription
trilogy33 trilogy33 is offline 01-16-2010, 10:00 PM

To quickly and neatly align a long 'ish location field entry in postbit legacy, preventing a wrap mess.
Ideal for UK town and county entries, for my purposes anyway.

In postbit_legacy

Find
Code:
<vb:if condition="$post['field2']"><dt>{vb:rawphrase location_perm}</dt> <dd>{vb:raw post.field2}</dd></vb:if>
Replace with
Code:
<vb:if condition="$post['field2']"><dt style="height: 15px;">{vb:rawphrase location_perm}</dt> <dd>{vb:raw post.field2}</dd></vb:if>

Result.
Before:



After:

Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 07:08 AM.


Powered by vBulletin® Version 3.9.0
Copyright ©2000 - 2017, vBulletin Solutions Inc.