add contentViewEditColumns to custom contentview
I want to add the below button to my content view, i've added this action
<action icon="/icons/edit_columns.png" id="contentViewEditColumns" label="label.contentview.edit.columns" order="80" type="fancybox">
<category>CONTENT_VIEW_ACTIONS</category>
<properties>
<property name="include">
/incl/action/content_view_edit_columns.xhtml
</property>
<property name="addForm">true</property>
<property name="ajaxSupport">true</property>
</properties>
<filter-id>contentViewShowEditColumns</filter-id>
</action>
in actions-contrib.xml but i don't know where to add it in my code . I've attached the button i want to add and my contentviews-contrib.xml Any help would be appreciated
UPDATE
I've found how to add the button , i added this showEditColumns="true"
but now i'm facing another problem , the popup is empty . How can I have my custom type's fields in the popup ? I've attached a screenshot of what i'm having after clicking on the edit columns button
0 votes
0 answers
1613 views