Custom Field "Date" button" displays incorrectly

  • Posts: 29
  • Thank you received: 0
11 years 8 months ago #125839

-- 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.

Last edit: 11 years 8 months ago by missmonica.

Please Log in or Create an account to join the conversation.

  • Posts: 12953
  • Thank you received: 1778
11 years 8 months ago #125855

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.

Last edit: 11 years 8 months ago by Mohamed Thelji.
The following user(s) said Thank You: missmonica

Please Log in or Create an account to join the conversation.

  • Posts: 29
  • Thank you received: 0
11 years 8 months ago #126201

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.

Please Log in or Create an account to join the conversation.

  • Posts: 26253
  • Thank you received: 4040
  • MODERATOR
11 years 8 months ago #126239

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)

return JHTML::_('calendar', $value, $map,$this->prefix.$field->field_namekey.$this->suffix,$format,$size);
which calls the Joomla calendar display for the "date" custom fields.

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
The following user(s) said Thank You: missmonica

Please Log in or Create an account to join the conversation.

  • Posts: 29
  • Thank you received: 0
11 years 8 months ago #126340

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.

Please Log in or Create an account to join the conversation.

  • Posts: 26253
  • Thank you received: 4040
  • MODERATOR
11 years 8 months ago #126354

Hi,

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.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

Please Log in or Create an account to join the conversation.

Time to create page: 0.072 seconds
Powered by Kunena Forum