- Posts: 29
- Thank you received: 0
Custom Field "Date" button" displays incorrectly
- missmonica
-
Topic Author
- Offline
Less
More
13 years 1 day ago - 13 years 1 day ago #125839
by missmonica
Custom Field "Date" button" displays incorrectly was created by missmonica
-- url of the page with the problem -- :
www.homeangelz.co.uk/draft2013/index.php...tly-frequencies-only
-- HikaShop version -- : Business 2.2.2
-- Joomla version -- : 3.1.5
-- PHP version -- : 5.4.20
-- Browser(s) name and version -- : Firefox 24.0
Hello,
I have recently bought the Business version of Hika Shop. I am using date custom fields in the item table but the calender button is not displaying properly. Rather than a small calender icon - it displays as a small thin button. Can you advise me on what needs to be done to get it to display correctly?
Also, is it possible to add a custom filed to a single item rather than the whole category?
Many thanks,
Monica.
-- HikaShop version -- : Business 2.2.2
-- Joomla version -- : 3.1.5
-- PHP version -- : 5.4.20
-- Browser(s) name and version -- : Firefox 24.0
Hello,
I have recently bought the Business version of Hika Shop. I am using date custom fields in the item table but the calender button is not displaying properly. Rather than a small calender icon - it displays as a small thin button. Can you advise me on what needs to be done to get it to display correctly?
Also, is it possible to add a custom filed to a single item rather than the whole category?
Many thanks,
Monica.
Last edit: 13 years 1 day ago by missmonica.
Please Log in or Create an account to join the conversation.
Less
More
- Posts: 12953
- Thank you received: 1778
13 years 1 day ago - 13 years 1 day ago #125855
by Mohamed Thelji
Replied by Mohamed Thelji on topic Custom Field "Date" button" displays incorrectly
Hi Monica,
1. You'll probably be able to adjust the look of your "date" button by using some CSS code.
2. If you want to restrict your custom field to only one product, you'll have to :
- Create one category through "Hikashop->Products->Categories->New"
- Add this category through the category tab of your product configuration page
- Restrict your custom field to this category through the "categories" option
Hope this will help you a little.
1. You'll probably be able to adjust the look of your "date" button by using some CSS code.
2. If you want to restrict your custom field to only one product, you'll have to :
- Create one category through "Hikashop->Products->Categories->New"
- Add this category through the category tab of your product configuration page
- Restrict your custom field to this category through the "categories" option
Hope this will help you a little.
Last edit: 13 years 1 day ago by Mohamed Thelji.
The following user(s) said Thank You: missmonica
Please Log in or Create an account to join the conversation.
- missmonica
-
Topic Author
- Offline
Less
More
- Posts: 29
- Thank you received: 0
12 years 11 months ago #126201
by missmonica
Replied by missmonica on topic Custom Field "Date" button" displays incorrectly
Hi Mohamed,
Thanks. I have managed to edit the CSS using some styles from the Joomla Prostar template since your calender only looks correct in that template (it does not work in Beez20 either). I was unable to get the calender icon to show up but instead I have manged to display a button with the word "Calender" on it.
Monica.
Thanks. I have managed to edit the CSS using some styles from the Joomla Prostar template since your calender only looks correct in that template (it does not work in Beez20 either). I was unable to get the calender icon to show up but instead I have manged to display a button with the word "Calender" on it.
Monica.
Please Log in or Create an account to join the conversation.
12 years 11 months ago #126239
by Jerome
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Replied by Jerome on topic Custom Field "Date" button" displays incorrectly
Hi,
The calendar is display by Joomla itself.
We use a native function of Joomla to display it.
If you check the file "administrator/components/com_hikashop/classes/field.php" you will find at the end of the file (last line)
which calls the Joomla calendar display for the "date" custom fields.
Regards,
The calendar is display by Joomla itself.
We use a native function of Joomla to display it.
If you check the file "administrator/components/com_hikashop/classes/field.php" you will find at the end of the file (last line)
Code:
return JHTML::_('calendar', $value, $map,$this->prefix.$field->field_namekey.$this->suffix,$format,$size);
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
The following user(s) said Thank You: missmonica
Please Log in or Create an account to join the conversation.
- missmonica
-
Topic Author
- Offline
Less
More
- Posts: 29
- Thank you received: 0
12 years 11 months ago #126340
by missmonica
Replied by missmonica on topic Custom Field "Date" button" displays incorrectly
Actually, I did not find the /classes folder.
In administrator/components/com_hikashop/ there is only the following folders:
controllers
fields
params
views
Kind regards,
Monica.
In administrator/components/com_hikashop/ there is only the following folders:
controllers
fields
params
views
Kind regards,
Monica.
Please Log in or Create an account to join the conversation.
12 years 11 months ago #126354
by Jerome
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Replied by Jerome on topic Custom Field "Date" button" displays incorrectly
Hi,
You're not looking in the administrator part, you are in the "front-end" part.
Please first go in the "administrator" folder.
Regards,
You're not looking in the administrator part, you are in the "front-end" part.
Please first go in the "administrator" folder.
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Please Log in or Create an account to join the conversation.
Time to create page: 0.218 seconds