My wish is to put the DBdata 'company' from 'oc_address' to the edit.tpl. For this, i've added all items in the
It seams to work, because the company field appears but only with the placeholder in. I don't see the real company name. In the DB appears the real company name.
My code in edit.tpl is:
Code: Select all
<div class="form-group"> <label class="col-sm-2 control-label" for="input-company"><?php echo $entry_company; ?> </label> <div class="col-sm-10"> <input type="text" name="company" value="<?php echo $company; ?>" placeholder="<?php echo $entry_company; ?>" id="input-company" class="form-control" /> </div> </div>