我们可以更改我的模块在配置页面中输入的样式吗,我用本教程创建了模块页配置:
正如您在本教程中看到的,输入的类型是'text‘,我想要更改它,例如,我希望输入' date ',就像预存储库1.6的默认输入日期一样:
i.stack.imgur.com/9OcBC.png
发布于 2014-06-16 16:57:31
问题解决了!!只需在输入的类中添加datepicker:
array(
'type' =>'text',
'label' => $this->l('Date : '),
'name' => 'date',
'class' => 'datepicker fixed-width-xxl',
'required' => true ) https://stackoverflow.com/questions/24220147
复制相似问题