Forumlar / Cotonti / Support / How to extend the list of possible BEGIN dates further than 2000?

staleo
#1 2014-05-18 10:01

Hi all,

The earliest possible BEGIN date for the pages is now the year of 2000. Guys, how do I extend this dropdown with the years earlier? Because I actually need the 90s, 80s, 70s, and backwards.

Cheers!


Bu konu staleo tarafından düzenlendi(2014-05-18 11:36, 9 yıllar önce)
Kort
#2 2014-05-19 08:03

You can use a diffrent extrafield. BEGIN is basically for publication dates
 

SED.by - создание сайтов, разработка плагинов и тем для Котонти
staleo
#3 2014-05-19 08:26

Kort,

I can't, all the pages must be using either DATE ot BEGIN, and there are almost 500 pages with a BEGIN. I can't even think of editing them all.

I can actually hardly remember the reason why I preferred BEGIN instead of DATE for now, but anyway it doesn't matter.

Kort
#4 2014-05-19 10:30

Попробуй заменить PAGEEDIT_FORM_BEGIN на

{PHP.pag.page_begin|cot_selectbox_date($this, 'long', 'rpagebegin', '2030', '1900')}

Параметры функции cot_selectbox_date см. в forms.php стр. 229

SED.by - создание сайтов, разработка плагинов и тем для Котонти
staleo
#5 2014-05-20 14:16

Спасибо! Thank you!

Здесь типа даже на нерусском подфоруме по-русски говорят?