php - Can the automatic Yii ID's be changed? -
i working on project in yii in client wants there should no indication coded in framework.
so while going through final page source of view generated in yii, can see automatically adds default tags id names such :
'#yw0' , '#yw1' , jquery('#yw0').yiilistview({'ajaxupdate':['yw0'],'ajaxvar':'ajax') etc.
so wondering if there anyway change these default values , change them else, example : 'cp1', 'cp2' etc.
is possible? if is, method this?
regards,
you should manually set widget's id property, twisted1919 said. if need quick fix, alter core framework code , change chtml::id_prefix not recommend this.
Comments
Post a Comment