[Skip to main content](#vessel-content)

#   Custom filed: date from a beginning to an end

##

- **[markespositi](/forum/user/31078-markespositi "View markespositi's Profile")**
- [![markespositi's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/31078-markespositi "View markespositi's Profile") Topic Author
- [ Offline](/forum/user/31078-markespositi)

Less More

- Posts: 43
- Thank you received: 1
-
-

12 years 8 months ago [\#143913](#143913) by [markespositi](/forum/user/31078-markespositi "View markespositi's Profile")  *[Custom filed: date from a beginning to an end](/forum/26-product-category-display/865838-custom-filed-date-from-a-beginning-to-an-end#143913 "Hi. I need a custom field which allows only date from a starting date to an end date. ie. from 01/01/2013 to 31/12/2015. Any suggestion? Thanks")* was created by *[markespositi](/forum/user/31078-markespositi "View markespositi's Profile")*

Hi.
I need a custom field which allows only date from a starting date to an end date.
ie. from 01/01/2013 to 31/12/2015.
Any suggestion? Thanks

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84NjU4MzgtY3VzdG9tLWZpbGVkLWRhdGUtZnJvbS1hLWJlZ2lubmluZy10by1hbi1lbmQ/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Eliot](/forum/user/1824-eliot "View Eliot's Profile")**
- [![Eliot's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar1824.png)](/forum/user/1824-eliot "View Eliot's Profile")
- [ Offline](/forum/user/1824-eliot)

Less More

- Posts: 2334
- Thank you received: 403
-
-

12 years 8 months ago [\#143915](#143915) by [Eliot](/forum/user/1824-eliot "View Eliot's Profile")  Replied by *[Eliot](/forum/user/1824-eliot "View Eliot's Profile")* on topic *[Custom filed: date from a beginning to an end](/forum/26-product-category-display/865838-custom-filed-date-from-a-beginning-to-an-end#143915 "Hi. I need a custom field which allows only date from a starting date to an end date. ie. from 01/01/2013 to 31/12/2015. Any suggestion? Thanks")*

Hi,

We have a commercial plugin for that. it's called date picker. more information here: [ www.hikashop.com/component/hikashop/prod...iguration-screenshot](http://www.hikashop.com/component/hikashop/product/cid-19.html#configuration-screenshot)
it should do what you are looking for!

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84NjU4MzgtY3VzdG9tLWZpbGVkLWRhdGUtZnJvbS1hLWJlZ2lubmluZy10by1hbi1lbmQ/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[markespositi](/forum/user/31078-markespositi "View markespositi's Profile")**
- [![markespositi's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/31078-markespositi "View markespositi's Profile") Topic Author
- [ Offline](/forum/user/31078-markespositi)

Less More

- Posts: 43
- Thank you received: 1
-
-

12 years 8 months ago -  12 years 8 months ago [\#143934](#143934) by [markespositi](/forum/user/31078-markespositi "View markespositi's Profile")  Replied by *[markespositi](/forum/user/31078-markespositi "View markespositi's Profile")* on topic *[Custom filed: date from a beginning to an end](/forum/26-product-category-display/865838-custom-filed-date-from-a-beginning-to-an-end#143934 "Hi. I need a custom field which allows only date from a starting date to an end date. ie. from 01/01/2013 to 31/12/2015. Any suggestion? Thanks")*

OK. I've just bought it. Thanks.
Anyway, after installation I receive the following error in every "custom filed":

Field type: Warning: Missing argument 2 for plgHikashopDatepickerfield::onFieldsLoad() in /var/www/vhosts/quidline.com/httpdocs/stage/shop/plugins/hikashop/datepickerfield/datepickerfield.php on line 19

Can you help me? Thanks

Last edit: 12 years 8 months ago by [markespositi](/forum/user/31078-markespositi "View markespositi's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84NjU4MzgtY3VzdG9tLWZpbGVkLWRhdGUtZnJvbS1hLWJlZ2lubmluZy10by1hbi1lbmQ/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26394
- Thank you received: 4078
-
- [](http://obsi.dev)
-

12 years 8 months ago [\#144020](#144020) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Custom filed: date from a beginning to an end](/forum/26-product-category-display/865838-custom-filed-date-from-a-beginning-to-an-end#144020 "Hi. I need a custom field which allows only date from a starting date to an end date. ie. from 01/01/2013 to 31/12/2015. Any suggestion? Thanks")*

Hi,

Which HikaShop version number are you using ?

Regards,

---

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

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84NjU4MzgtY3VzdG9tLWZpbGVkLWRhdGUtZnJvbS1hLWJlZ2lubmluZy10by1hbi1lbmQ/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[markespositi](/forum/user/31078-markespositi "View markespositi's Profile")**
- [![markespositi's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/31078-markespositi "View markespositi's Profile") Topic Author
- [ Offline](/forum/user/31078-markespositi)

Less More

- Posts: 43
- Thank you received: 1
-
-

12 years 8 months ago -  12 years 8 months ago [\#144053](#144053) by [markespositi](/forum/user/31078-markespositi "View markespositi's Profile")  Replied by *[markespositi](/forum/user/31078-markespositi "View markespositi's Profile")* on topic *[Custom filed: date from a beginning to an end](/forum/26-product-category-display/865838-custom-filed-date-from-a-beginning-to-an-end#144053 "Hi. I need a custom field which allows only date from a starting date to an end date. ie. from 01/01/2013 to 31/12/2015. Any suggestion? Thanks")*

The last one. Number 2.1.3

Last edit: 12 years 8 months ago by [markespositi](/forum/user/31078-markespositi "View markespositi's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84NjU4MzgtY3VzdG9tLWZpbGVkLWRhdGUtZnJvbS1hLWJlZ2lubmluZy10by1hbi1lbmQ/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26394
- Thank you received: 4078
-
- [](http://obsi.dev)
-

12 years 8 months ago [\#144063](#144063) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Custom filed: date from a beginning to an end](/forum/26-product-category-display/865838-custom-filed-date-from-a-beginning-to-an-end#144063 "Hi. I need a custom field which allows only date from a starting date to an end date. ie. from 01/01/2013 to 31/12/2015. Any suggestion? Thanks")*

Hi,

The current last HikaShop version is : 2.3.0
The current stable HikaShop version is : 2.2.3

The custom field datepicker extends the options displayed during the edition of a custom field, so it require a quite recente HikaShop version in order to work properly. The 2.1.3, released in May 2013 does not handle the possibility to extend the options of custom fields ; the plugin won't be able to work properly unless to update your website.

Regards,

---

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

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84NjU4MzgtY3VzdG9tLWZpbGVkLWRhdGUtZnJvbS1hLWJlZ2lubmluZy10by1hbi1lbmQ/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[markespositi](/forum/user/31078-markespositi "View markespositi's Profile")**
- [![markespositi's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/31078-markespositi "View markespositi's Profile") Topic Author
- [ Offline](/forum/user/31078-markespositi)

Less More

- Posts: 43
- Thank you received: 1
-
-

12 years 8 months ago [\#145338](#145338) by [markespositi](/forum/user/31078-markespositi "View markespositi's Profile")  Replied by *[markespositi](/forum/user/31078-markespositi "View markespositi's Profile")* on topic *[Custom filed: date from a beginning to an end](/forum/26-product-category-display/865838-custom-filed-date-from-a-beginning-to-an-end#145338 "Hi. I need a custom field which allows only date from a starting date to an end date. ie. from 01/01/2013 to 31/12/2015. Any suggestion? Thanks")*

I updated Hika to the 2.2.3 version.
I have also:
- Php v.5.3.2
- Zend Engine v.2.3.0

It return the same error:
Field type: Warning: Missing argument 2 for plgHikashopDatepickerfield:: ........ on line 19

Any idea? Thanks

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84NjU4MzgtY3VzdG9tLWZpbGVkLWRhdGUtZnJvbS1hLWJlZ2lubmluZy10by1hbi1lbmQ/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26394
- Thank you received: 4078
-
- [](http://obsi.dev)
-

12 years 8 months ago [\#145340](#145340) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Custom filed: date from a beginning to an end](/forum/26-product-category-display/865838-custom-filed-date-from-a-beginning-to-an-end#145340 "Hi. I need a custom field which allows only date from a starting date to an end date. ie. from 01/01/2013 to 31/12/2015. Any suggestion? Thanks")*

Hi,

Do you confirm that the line 19 in the datepicker is Code:

public function onFieldsLoad(&amp;$fields, &amp;$options) {

and you have right the content Code:

$dispatcher-&gt;trigger('onFieldsLoad', array( &amp;$this-&gt;externalValues, &amp;$this-&gt;externalOptions ) );

in the file "administrator/components/com_hikashop/types/field.php".
I do not see how and why this second argument is not passed.

Regards,

---

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

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84NjU4MzgtY3VzdG9tLWZpbGVkLWRhdGUtZnJvbS1hLWJlZ2lubmluZy10by1hbi1lbmQ/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[markespositi](/forum/user/31078-markespositi "View markespositi's Profile")**
- [![markespositi's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/31078-markespositi "View markespositi's Profile") Topic Author
- [ Offline](/forum/user/31078-markespositi)

Less More

- Posts: 43
- Thank you received: 1
-
-

12 years 8 months ago [\#145497](#145497) by [markespositi](/forum/user/31078-markespositi "View markespositi's Profile")  Replied by *[markespositi](/forum/user/31078-markespositi "View markespositi's Profile")* on topic *[Custom filed: date from a beginning to an end](/forum/26-product-category-display/865838-custom-filed-date-from-a-beginning-to-an-end#145497 "Hi. I need a custom field which allows only date from a starting date to an end date. ie. from 01/01/2013 to 31/12/2015. Any suggestion? Thanks")*

Hi.
field.php is attached here. Thanks.

*This attachment is hidden for guests.
Please log in or register to see it.*

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84NjU4MzgtY3VzdG9tLWZpbGVkLWRhdGUtZnJvbS1hLWJlZ2lubmluZy10by1hbi1lbmQ/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26394
- Thank you received: 4078
-
- [](http://obsi.dev)
-

12 years 8 months ago [\#145505](#145505) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Custom filed: date from a beginning to an end](/forum/26-product-category-display/865838-custom-filed-date-from-a-beginning-to-an-end#145505 "Hi. I need a custom field which allows only date from a starting date to an end date. ie. from 01/01/2013 to 31/12/2015. Any suggestion? Thanks")*

Hi,

The file is good, you have the good line.
So I really don't know why you have this error, it is the only place where this trigger is called and there are two parameters given.

Do you have a link to your website where I will be able to see the problem ?

Regards,

---

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

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84NjU4MzgtY3VzdG9tLWZpbGVkLWRhdGUtZnJvbS1hLWJlZ2lubmluZy10by1hbi1lbmQ/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[markespositi](/forum/user/31078-markespositi "View markespositi's Profile")**
- [![markespositi's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/31078-markespositi "View markespositi's Profile") Topic Author
- [ Offline](/forum/user/31078-markespositi)

Less More

- Posts: 43
- Thank you received: 1
-
-

12 years 8 months ago [\#145551](#145551) by [markespositi](/forum/user/31078-markespositi "View markespositi's Profile")  Replied by *[markespositi](/forum/user/31078-markespositi "View markespositi's Profile")* on topic *[Custom filed: date from a beginning to an end](/forum/26-product-category-display/865838-custom-filed-date-from-a-beginning-to-an-end#145551 "Hi. I need a custom field which allows only date from a starting date to an end date. ie. from 01/01/2013 to 31/12/2015. Any suggestion? Thanks")*

I manged to remove the error!

Now, I have problems on labels names as you can see in the attachment.
Is the label named like you see, like "Date_picker_opt_default_today" and so on?

[ ![h5c9b6d5.jpg](/forum/attachment/15554) ](/forum/attachment/15554 "h5c9b6d5.jpg")

2)
I need instruction or manual or somethingh similar to understand the purpose of each fields? Have you got anythingh about it?

Thanks.

- [ ![h5c9b6d5.jpg](/forum/attachment/15554) ](/forum/attachment/15554 "h5c9b6d5.jpg") [ ](/forum/attachment/15554?download=1 "h5c9b6d5.jpg")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84NjU4MzgtY3VzdG9tLWZpbGVkLWRhdGUtZnJvbS1hLWJlZ2lubmluZy10by1hbi1lbmQ/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[markespositi](/forum/user/31078-markespositi "View markespositi's Profile")**
- [![markespositi's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/31078-markespositi "View markespositi's Profile") Topic Author
- [ Offline](/forum/user/31078-markespositi)

Less More

- Posts: 43
- Thank you received: 1
-
-

12 years 8 months ago [\#145554](#145554) by [markespositi](/forum/user/31078-markespositi "View markespositi's Profile")  Replied by *[markespositi](/forum/user/31078-markespositi "View markespositi's Profile")* on topic *[Custom filed: date from a beginning to an end](/forum/26-product-category-display/865838-custom-filed-date-from-a-beginning-to-an-end#145554 "Hi. I need a custom field which allows only date from a starting date to an end date. ie. from 01/01/2013 to 31/12/2015. Any suggestion? Thanks")*

Additionally, how to exclude a range of years. Thanks

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84NjU4MzgtY3VzdG9tLWZpbGVkLWRhdGUtZnJvbS1hLWJlZ2lubmluZy10by1hbi1lbmQ/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26394
- Thank you received: 4078
-
- [](http://obsi.dev)
-

12 years 8 months ago [\#145767](#145767) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Custom filed: date from a beginning to an end](/forum/26-product-category-display/865838-custom-filed-date-from-a-beginning-to-an-end#145767 "Hi. I need a custom field which allows only date from a starting date to an end date. ie. from 01/01/2013 to 31/12/2015. Any suggestion? Thanks")*

Hi,

The datepicker comes with an english language file.
Can you please check that the file "en-GB.plg_hikashop_datepickerfield.ini" exist in your website ?
I will try to reproduce your problem, see how the language file can not be loaded correctly.
If the problem still persists, you could copy the content of this language file into the HikaShop language override. At this moment you will be sure that the language content will be loaded.

The option "excludes" allow you to exclude specific dates ( 02/25/14 ) or date ranges ( 02/25/14-02/28/14 ). To exclude several years, you have to exclude several months ( 02/14-02/16 )

Regards,

---

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

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84NjU4MzgtY3VzdG9tLWZpbGVkLWRhdGUtZnJvbS1hLWJlZ2lubmluZy10by1hbi1lbmQ/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[markespositi](/forum/user/31078-markespositi "View markespositi's Profile")**
- [![markespositi's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/31078-markespositi "View markespositi's Profile") Topic Author
- [ Offline](/forum/user/31078-markespositi)

Less More

- Posts: 43
- Thank you received: 1
-
-

12 years 8 months ago [\#145786](#145786) by [markespositi](/forum/user/31078-markespositi "View markespositi's Profile")  Replied by *[markespositi](/forum/user/31078-markespositi "View markespositi's Profile")* on topic *[Custom filed: date from a beginning to an end](/forum/26-product-category-display/865838-custom-filed-date-from-a-beginning-to-an-end#145786 "Hi. I need a custom field which allows only date from a starting date to an end date. ie. from 01/01/2013 to 31/12/2015. Any suggestion? Thanks")*

Thanks.

1) which is the path of en-GB.plg_hikashop_datepickerfield.ini ?

2) We are getting crazy with "excludes" options. We need to **allow** only 2013, 2014, 2015 and to **exclude** years before and years after. Can you suggest us what to write in the exclude options? Thanks

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84NjU4MzgtY3VzdG9tLWZpbGVkLWRhdGUtZnJvbS1hLWJlZ2lubmluZy10by1hbi1lbmQ/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26394
- Thank you received: 4078
-
- [](http://obsi.dev)
-

12 years 8 months ago [\#145805](#145805) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Custom filed: date from a beginning to an end](/forum/26-product-category-display/865838-custom-filed-date-from-a-beginning-to-an-end#145805 "Hi. I need a custom field which allows only date from a starting date to an end date. ie. from 01/01/2013 to 31/12/2015. Any suggestion? Thanks")*

Hi,

You can use these translation, I am currently making some test on the plugin. Code:

DATE_PICKER="Datepicker" DATE_PICKER_OPTIONS="Datepicker options" DATE_PICKER_OPT_DEFAULT_TODAY="Default today" DATE_PICKER_OPT_INLINE_DISPLAY="Display inline" DATE_PICKER_OPT_MONDAY_FIRST="Monday first" DATE_PICKER_OPT_OTHER_MONTH="Show other months" DATE_PICKER_OPT_FORBIDDEN_DAYS="Forbidden days" DATE_PICKER_OPT_EXCLUDES="Exclude days" DATE_PICKER_INCORRECT_DATE_FOR="Incorrect date for: %s" DATE_PICKER_OPT_CHANGE_MONTH="Month selector" DATE_PICKER_OPT_CHANGE_YEAR="Year selector" DATE_PICKER_OPT_SHOW_BTN_PANEL="Show buttons panel" DATE_PICKER_OPT_SHOW_MONTHS="Show months" DATE_PICKER_WAITING_DAYS="Waiting days"

The plugin hasn't been designed for including dates, mostly for exclude some.
I have to test it in order to confirm it but you should be able to use : Code:

01/1900-12/2012 01/2016-01/2100

Or maybe, I could see to let the calendar options "min date" and "max date" available in the plugin options. At this moment you would be able to specify the minimum and maximum available date.

Regards,

---

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

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84NjU4MzgtY3VzdG9tLWZpbGVkLWRhdGUtZnJvbS1hLWJlZ2lubmluZy10by1hbi1lbmQ/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[markespositi](/forum/user/31078-markespositi "View markespositi's Profile")**
- [![markespositi's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/31078-markespositi "View markespositi's Profile") Topic Author
- [ Offline](/forum/user/31078-markespositi)

Less More

- Posts: 43
- Thank you received: 1
-
-

12 years 8 months ago [\#145916](#145916) by [markespositi](/forum/user/31078-markespositi "View markespositi's Profile")  Replied by *[markespositi](/forum/user/31078-markespositi "View markespositi's Profile")* on topic *[Custom filed: date from a beginning to an end](/forum/26-product-category-display/865838-custom-filed-date-from-a-beginning-to-an-end#145916 "Hi. I need a custom field which allows only date from a starting date to an end date. ie. from 01/01/2013 to 31/12/2015. Any suggestion? Thanks")*

If I use:
01/1900-12/2012
01/2016-01/2100
as you suggested, it doesn't work.

It doesn't work with:
03/2013-04/2013

It works with 01/26/2012-12/31/2012
It doesn't work with 01/25/2012-12/31/2012 (which means there is a bug in the software related to the today date)
Can you check and solve, please? Thanks a lot.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84NjU4MzgtY3VzdG9tLWZpbGVkLWRhdGUtZnJvbS1hLWJlZ2lubmluZy10by1hbi1lbmQ/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[markespositi](/forum/user/31078-markespositi "View markespositi's Profile")**
- [![markespositi's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/31078-markespositi "View markespositi's Profile") Topic Author
- [ Offline](/forum/user/31078-markespositi)

Less More

- Posts: 43
- Thank you received: 1
-
-

12 years 7 months ago [\#146938](#146938) by [markespositi](/forum/user/31078-markespositi "View markespositi's Profile")  Replied by *[markespositi](/forum/user/31078-markespositi "View markespositi's Profile")* on topic *[Custom filed: date from a beginning to an end](/forum/26-product-category-display/865838-custom-filed-date-from-a-beginning-to-an-end#146938 "Hi. I need a custom field which allows only date from a starting date to an end date. ie. from 01/01/2013 to 31/12/2015. Any suggestion? Thanks")*

Hi. Any news on bugs solutions?
Thanks

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84NjU4MzgtY3VzdG9tLWZpbGVkLWRhdGUtZnJvbS1hLWJlZ2lubmluZy10by1hbi1lbmQ/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26394
- Thank you received: 4078
-
- [](http://obsi.dev)
-

12 years 7 months ago [\#146996](#146996) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Custom filed: date from a beginning to an end](/forum/26-product-category-display/865838-custom-filed-date-from-a-beginning-to-an-end#146996 "Hi. I need a custom field which allows only date from a starting date to an end date. ie. from 01/01/2013 to 31/12/2015. Any suggestion? Thanks")*

Hi,

I am sorry, in my previous message, the date range restriction was in 2 parts but when in 2 parts it use the "day/month" format, not the "month/year".
So you need to use a 3 parts restrictions "d/m/y" (or "m/d/y" depending the element in the configuration just before).

For the tests I made, it worked good.
The plugin convert the date into a unix timestamp so depending your platform, the timestamp can't work great before 1970.

Regards,

---

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

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84NjU4MzgtY3VzdG9tLWZpbGVkLWRhdGUtZnJvbS1hLWJlZ2lubmluZy10by1hbi1lbmQ/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[markespositi](/forum/user/31078-markespositi "View markespositi's Profile")**
- [![markespositi's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/31078-markespositi "View markespositi's Profile") Topic Author
- [ Offline](/forum/user/31078-markespositi)

Less More

- Posts: 43
- Thank you received: 1
-
-

12 years 4 months ago -  12 years 4 months ago [\#160959](#160959) by [markespositi](/forum/user/31078-markespositi "View markespositi's Profile")  Replied by *[markespositi](/forum/user/31078-markespositi "View markespositi's Profile")* on topic *[Custom filed: date from a beginning to an end](/forum/26-product-category-display/865838-custom-filed-date-from-a-beginning-to-an-end#160959 "Hi. I need a custom field which allows only date from a starting date to an end date. ie. from 01/01/2013 to 31/12/2015. Any suggestion? Thanks")*

It works, starting from june 1970.
Anyway, after the user have selected a date, he/she can enter the field and modify it. This is not good.

To be really useful "DatePicker add-on software" would avoid that.
So, we added a READONLY attribute to the "input tag" (line 381)
Regards

Last edit: 12 years 4 months ago by [markespositi](/forum/user/31078-markespositi "View markespositi's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84NjU4MzgtY3VzdG9tLWZpbGVkLWRhdGUtZnJvbS1hLWJlZ2lubmluZy10by1hbi1lbmQ/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26394
- Thank you received: 4078
-
- [](http://obsi.dev)
-

12 years 4 months ago [\#160975](#160975) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Custom filed: date from a beginning to an end](/forum/26-product-category-display/865838-custom-filed-date-from-a-beginning-to-an-end#160975 "Hi. I need a custom field which allows only date from a starting date to an end date. ie. from 01/01/2013 to 31/12/2015. Any suggestion? Thanks")*

Hi,

Right but no.
The datepicker have some checks in JavaScript and PHP so if the user modify the date manually, the JavaScript can check it and even if the script is not running, the PHP in the plugin will reject the value as an incorrect value.

Regards,

---

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

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84NjU4MzgtY3VzdG9tLWZpbGVkLWRhdGUtZnJvbS1hLWJlZ2lubmluZy10by1hbi1lbmQ/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop- Install &amp; Update- Product &amp; Category Display- Content Creation- Sales and Orders- - Orders management- - Reports &amp; Statistics- Customers- Checkout- Payment Methods- Shipping Methods- Import &amp; Export (CSV, XLS…)- Specific Features- - Affilation- - Taxes- - Wishlist- - Vote- - Carousel &amp; Slider- - Mass Actions- - Filters &amp; Search- - Discount &amp; Coupon- - Feature Request- Integrations- Showcase- General Talk about HikaShop- Development- - HikaShop 3.0 Beta- Translation- Commercial Jobs HikaShop Components- HikaMarket- - Market: Feature requests- - Market: How to?- - Market: Bug Report- HikaSerial- - General talk about HikaSerial- - Serial: Bug Report- - Serial: How to?- - Support en Français de HikaSerial (French Support)- - HikaSubscription- HikaAuction- - Auction: Feature requests- - Auction: How to?- - Auction: Bug report Hikashop around the world- Support en Français (French Support)- Russian- - FAQ. Курс выживания с Hikashop. Частые вопросы и о- - Расширения Hikashop- - Наши сайты на Hikashop- 日本語版サポート(Japanese Support)- Thai- German Archives- Bug Report- How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.174 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)

[](#top)
