slashmaster
New Member
Hi,
i'm just playing around with the new Fabrik for 3.1. The page i'm currently developing on uses Bootstrap 3.0.0 as Framework. For generating a correct Design, i need to add custom classes to my elements like .form-control. (I'm Building the form one by one, because i need the scaffolding abillities).
Well, 2 liter of Coffe and 5 hours of searching are gone, but i can't figure out, where the
references to, so where i could kick in to add my classes.
The output doesn't change and uses the default provided classes from Component Setting:
Also, i need to completely remove the 'size' argument.
In the End, it should look something similiar to this:
Where in label and Input Elements should be generated by Fabrik including my Custom classes.
Thanks in Advance!
Cheers
Martin
i'm just playing around with the new Fabrik for 3.1. The page i'm currently developing on uses Bootstrap 3.0.0 as Framework. For generating a correct Design, i need to add custom classes to my elements like .form-control. (I'm Building the form one by one, because i need the scaffolding abillities).
Well, 2 liter of Coffe and 5 hours of searching are gone, but i can't figure out, where the
PHP:
<?php echo $element->element;?>
The output doesn't change and uses the default provided classes from Component Setting:
Code:
<input id="dk7zl_fabrik_kontakt___vorname" class="input-medium fabrikinput inputbox text" type="text" value="" maxlength="255" size="20" name="dk7zl_fabrik_kontakt___vorname">
Also, i need to completely remove the 'size' argument.
In the End, it should look something similiar to this:
HTML:
<div class="row">
<div class="col-lg-12">
<form>" id="kontakt">
<!--*******************************
Kontaktdetails
*******************************-->
<div class="panel">
<fieldset>
<div class="row">
<div class="col-lg-6">
<div class="form-group">
<label for="InputVorname">Vorname</label>
<input type="text" class="form-control" id="InputVorname" placeholder="Ihr Vorname">
</div>
</div>
<div class="col-lg-6">
<div class="form-group">
<label for="InputNachname">Nachname</label>
<input type="text" class="form-control" id="InputNachname" placeholder="Ihr Nachname">
</div>
</div>
</div>
Thanks in Advance!
Cheers
Martin