joomla2.5 - Joomla Change Featured field default to Yes -



joomla2.5 - Joomla Change Featured field default to Yes -

in joomla add/edit article there featured field default selected no want select yes default in

joomla\administrator\components\com_content\models\forms\article.xml

i modify code per requirement

<field name="featured" type="list" label="jfeatured" description="com_content_field_featured_desc" default="0" > <option value="0">jno</option> <option value="1">jyes</option> </field>

to

<field name="featured" type="list" label="jfeatured" description="com_content_field_featured_desc" default="1" > <option value="0">jno</option> <option value="1">jyes</option> </field>

but not select yes default alter text jyes jno though swap not set featured field in db

you should both for:

[siteroot]/administrator/components/com_content/models/forms/article.xml

as for

[siteroot]/components/com_content/models/forms/article.xml

thanks here hint made me able solve problem.

joomla2.5

Comments

Popular posts from this blog

javascript - mongodb won't find my schema method in nested container -

Hibernate criteria by a list of natural ids -

ios - Lagging ScrollView with UIWebview inside -