дополнительные поля для материалов

/administrator/components/com_content/models/forms/article.xml

<field name="catalog-products" type="sql" query="select #__content.id as id, concat(#__content.title, ' (', #__categories.title, ')') as title from #__content inner join #__categories on #__categories.id = #__content.catid where #__categories.id != 2 and #__content.state = 1 order by #__content.id" key_field="id" value_field="title" default="0" label="Похожие товары (1)" description=""><option value="0">-</option></field>



Подписаться на рассылку новостей сайта через FeedBurner:

Добавить комментарий

Ваш адрес email не будет опубликован. Обязательные поля помечены *