Thank you for your previous quick reply. Another question.....how can I change "Cities" to "States" and "Business" to "Listing"
Also, under company attributes -when I set 'contact person' to "optional" it stays as a mandatory field. I would like this to be an optional field please.
I am comfortable doing minor edits if you can tell me what files to change.
Thanks so much!
Becky
Hi,
You can modify the language file and rename "Cities" to "States" and "Business" to "Listing". The file is located under {joomla}/administrator/components/com_jbusinessdirectory/language/en-GB.
For the second problem please edit {joomla}/administrator/components/com_jbusinessdirectory/views/company/tmpl/edit.php and replace (line 822 - on dev version)
<input type="text" name="contact_name" id="contact_name" class="input_txt validate[required]" value="<?php echo $this->item->contact->contact_name ?>">
with
<input type="text" name="contact_name" id="contact_name" class="input_txt <?php echo $attributeConfig["contact_person"] == ATTRIBUTE_MANDATORY?"validate[required]":""?>" value="<?php echo $this->item->contact->contact_name ?>">