Advertisement:

Author Topic: Adding Telephone plugin with OsclassWizards theme  (Read 507 times)

Aficionado

  • Guest
Adding Telephone plugin with OsclassWizards theme
« on: September 11, 2017, 03:15:35 am »
Hi.

While i'm able to add the php line anywhere i want in the item post file for the user to fill their phone, the formating is bad. I have tried to fix it with no luck.

The code is:

Code: [Select]
<?php if(function_exists('osc_set_telephone_number')){ osc_set_telephone_number();} ?>
and the result is in the capture.

Any help in formating this ?

Thanks

Liath

  • issues
  • Hero Member
  • *
  • Posts: 1346
  • </html> the end is always near
Re: Adding Telephone plugin with OsclassWizards theme
« Reply #1 on: September 11, 2017, 03:22:58 am »
if i'm right, you are using theme osclasswizards where bootstrap is implemented, so you can try to add a class to the outer div


change in ../telephone/index.php ~39
Code: [Select]
<div class="box control-group">
    <div class="row">
        <label for="telephone"><?php _e('Phone''telephone'); ?></label>
        <div class="controls">
            <input id="telephone" type="text" value="<?php echo $detail?>" name="telephone"></input>
        </div>
    </div>
</div>


to
Code: [Select]
<div class="col-xs-12 box control-group">
    <div class="row">
        <label for="telephone"><?php _e('Phone''telephone'); ?></label>
        <div class="controls">
            <input id="telephone" type="text" value="<?php echo $detail?>" name="telephone"></input>
        </div>
    </div>
</div>

Aficionado

  • Guest
Re: Adding Telephone plugin with OsclassWizards theme
« Reply #2 on: September 11, 2017, 03:36:56 am »
Thanks Liath, works very nice.

 ;D