i'm using extra fields and i have a particular need.
i associated some link type extra field to a category:
i need them to be invisible to users while they create items from frontend,
but then be visible after i filled those fields from backend.
so i just need to hide those extrafields (all the link type) from the itemform view, below the code where i should add something like IF IT'S A LINK TYPE THEN NOT SHOW THAT EXTRA FIELD! but i don't know nothing about php code compiling... can any body suggest something???
<table class="admintable" id="extraFields">
<?php foreach($this->extraFields as $extraField): ?>
<tr>
<td align="right" class="key">
<?php echo $extraField->name; ?>
</td>
<td>
<?php echo $extraField->element; ?>
</td>
</tr>
<?php endforeach; ?>
</table>
i associated some link type extra field to a category:
i need them to be invisible to users while they create items from frontend,
but then be visible after i filled those fields from backend.
so i just need to hide those extrafields (all the link type) from the itemform view, below the code where i should add something like IF IT'S A LINK TYPE THEN NOT SHOW THAT EXTRA FIELD! but i don't know nothing about php code compiling... can any body suggest something???
<table class="admintable" id="extraFields">
<?php foreach($this->extraFields as $extraField): ?>
<tr>
<td align="right" class="key">
<?php echo $extraField->name; ?>
</td>
<td>
<?php echo $extraField->element; ?>
</td>
</tr>
<?php endforeach; ?>
</table>