The vB Geek

The vB Geek (http://www.thevbgeek.com/index.php)
-   Geek Article and Review System (http://www.thevbgeek.com/forumdisplay.php?f=26)
-   -   Any way to change the appearance of results from multiple checkboxes?? (http://www.thevbgeek.com/showthread.php?t=3179)

-RL- 05-08-2007 09:01 PM

Any way to change the appearance of results from multiple checkboxes??
 
Hi

I just wondered if there's an (easy) way to format the results from multiple checkboxes??

Right now I have a field that's displayed like this:

Payment Methods Supported
Credit
Card,Checks,2Checkout,Paypal,Gift
Card

Since there's no space after the comma the line break doesn't look very good, so is there a way to add an extra space after the comma so it would look like this?

Payment Methods Supported
Credit Card, Checks, 2Checkout, Paypal,
Gift Card

I've tried to look through the forums and tutorials, but haven't found anything on this yet.. :)

The Geek 05-09-2007 02:39 PM

Hmmm. Can you put a space between the options in the custom profiel field? i.e.:
Card, Checks, etc... or does it strip those out?

The other option is to create a quick mod that will format them for you.

-RL- 05-09-2007 05:36 PM

I've just edited the custom_fields.php file in geek\gars\mods\display and it's working fine now.
(used str_replace to ad an extra space after each comma..)

The Geek 05-09-2007 09:48 PM

nice one :)


All times are GMT. The time now is 12:36 AM.

Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.