- Posts: 259
- Thank you received: 22
Custom Text Fields not showing in Admin
- rodfarrell
-
Topic Author
- Offline
Less
More
11 years 10 months ago #180604
by rodfarrell
Custom Text Fields not showing in Admin was created by rodfarrell
-- HikaShop version -- : 2.3.4
-- Joomla version -- : 2.5.27
-- PHP version -- : 5.3.28
I have created three custom fields in the Order table. One is a text Area field the other Text fields. All work correctly on the front end and all store the text in the database tables. The configuration for each is identical except that the Text Area field is not "Required". All are published and set to display in the frontend and backend.
All display correctly on order emails.
The problem is that the two text fields can't be viewed in the backend while the text area field appears. What am I missing?
-- Joomla version -- : 2.5.27
-- PHP version -- : 5.3.28
I have created three custom fields in the Order table. One is a text Area field the other Text fields. All work correctly on the front end and all store the text in the database tables. The configuration for each is identical except that the Text Area field is not "Required". All are published and set to display in the frontend and backend.
All display correctly on order emails.
The problem is that the two text fields can't be viewed in the backend while the text area field appears. What am I missing?
Please Log in or Create an account to join the conversation.
11 years 10 months ago #180643
by Xavier
Replied by Xavier on topic Custom Text Fields not showing in Admin
Hi,
I just tried on my end and the input text fields are well displayed in order edition.
Do you have edited the view "order / edit_additional" view in the backend template ?
In that view there is the code:
As you can see it list all the custom order fields, so please check via phpMyAdmin in the table order if the columns with the custom field name are well created.
I just tried on my end and the input text fields are well displayed in order edition.
Do you have edited the view "order / edit_additional" view in the backend template ?
In that view there is the code:
Code:
if(!empty($this->fields['order'])) {
$editCustomFields = false;
if(isset($this->edit) && $this->edit === true) {
$editCustomFields = true;
}
foreach($this->fields['order'] as $fieldName => $oneExtraField) {
?>
<dt class="hikashop_order_additional_customfield hikashop_order_additional_customfield_<?php echo $fieldName; ?>"><?php echo $this->fieldsClass->getFieldName($oneExtraField);?></dt>
<dd class="hikashop_order_additional_customfield hikashop_order_additional_customfield_<?php echo $fieldName; ?>"><span><?php
if($editCustomFields) {
echo $this->fieldsClass->display($oneExtraField, @$this->order->$fieldName, 'data[orderfields]['.$fieldName.']');
} else {
echo $this->fieldsClass->show($oneExtraField, @$this->order->$fieldName);
}
?></span></dd>
<?php
}
}
As you can see it list all the custom order fields, so please check via phpMyAdmin in the table order if the columns with the custom field name are well created.
Please Log in or Create an account to join the conversation.
- rodfarrell
-
Topic Author
- Offline
Less
More
- Posts: 259
- Thank you received: 22
11 years 10 months ago - 11 years 10 months ago #180872
by rodfarrell
Replied by rodfarrell on topic Custom Text Fields not showing in Admin
Last edit: 11 years 10 months ago by rodfarrell.
Please Log in or Create an account to join the conversation.
11 years 10 months ago #180899
by Xavier
Replied by Xavier on topic Custom Text Fields not showing in Admin
Hi,
As we are not able to reproduce the issue on our end, please give us a backend and a ftp access to debug that directly on your website. You can send the informations via private message or via our contact form.
Don't forget to give us the url of that topic in the message
As we are not able to reproduce the issue on our end, please give us a backend and a ftp access to debug that directly on your website. You can send the informations via private message or via our contact form.
Don't forget to give us the url of that topic in the message
Please Log in or Create an account to join the conversation.
11 years 10 months ago #182018
by Xavier
Replied by Xavier on topic Custom Text Fields not showing in Admin
Hi,
I tried different things, force the load of the custom fields values in the view directly but it's not able to load the content.
Could you give us a phpMyAdmin access in order to check the database content directly ?
I tried different things, force the load of the custom fields values in the view directly but it's not able to load the content.
Could you give us a phpMyAdmin access in order to check the database content directly ?
Please Log in or Create an account to join the conversation.
- rodfarrell
-
Topic Author
- Offline
Less
More
- Posts: 259
- Thank you received: 22
11 years 10 months ago #182043
by rodfarrell
Replied by rodfarrell on topic Custom Text Fields not showing in Admin
Rather than give you cpanel access to the live site (my client would have kittens - their issue not yours) I will send you access to the development site which displays the same issue. If you can identify the problem you will need to explain what I need to do to fix it.
Please Log in or Create an account to join the conversation.
- rodfarrell
-
Topic Author
- Offline
Less
More
- Posts: 259
- Thank you received: 22
11 years 9 months ago #182613
by rodfarrell
Replied by rodfarrell on topic Custom Text Fields not showing in Admin
Any feedback yet?
Please Log in or Create an account to join the conversation.
11 years 9 months ago #182640
by Xavier
Replied by Xavier on topic Custom Text Fields not showing in Admin
Hi,
Sorry but I am not able to connect to the cpanel with the given login informations.
Sorry but I am not able to connect to the cpanel with the given login informations.
Please Log in or Create an account to join the conversation.
- rodfarrell
-
Topic Author
- Offline
Less
More
- Posts: 259
- Thank you received: 22
11 years 9 months ago #182708
by rodfarrell
Replied by rodfarrell on topic Custom Text Fields not showing in Admin
OK I'll resend them
Please Log in or Create an account to join the conversation.
Time to create page: 0.228 seconds