Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create Article Menu type - categories on the fly #14639

Merged
merged 1 commit into from
Mar 15, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 16 additions & 5 deletions components/com_content/views/form/tmpl/edit.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@
</message>
</layout>
<fields name="params">
<fieldset name="basic">
<fieldset name="basic"
addfieldpath="/administrator/components/com_categories/models/fields"
>
<field name="enable_category"
type="radio"
class="btn-group btn-group-yesno"
Expand All @@ -19,12 +21,21 @@
<option value="1">JYES</option>
<option value="0">JNO</option>
</field>
<field name="catid"
type="category"

<field
name="catid"
type="modal_category"
label="JGLOBAL_CHOOSE_CATEGORY_LABEL"
description="JGLOBAL_CHOOSE_CATEGORY_DESC"
extension="com_content"
description="JGLOBAL_CHOOSE_CATEGORY_DESC"
showon="enable_category:1" />
required="true"
select="true"
new="true"
edit="true"
clear="true"
showon="enable_category:1"
/>


<field
name="redirect_menuitem"
Expand Down