Hi everyone,

i duplicated the Content view in admin to create an admin view that only display one specific type of content, but as soon as i do that the new view don't display the + Add content button, is it normal ? i would like to still have this button to add new content of this specific content type view.

here a screen comparing the original view and my duplicated one :

Admin view

Comments

markconroy’s picture

Why don't you just edit the original view instead of cloning it?

============

Drupal Core Maintainer for "Out of the Box" Initiative
Annertech - Web Agency of the Year.

VM’s picture

worst case scenario you can utilize a custom views tpl.php in your theme and add your own button/link

markconroy’s picture

Why don't you just edit the original view instead of cloning it?

============

Drupal Core Maintainer for "Out of the Box" Initiative
Annertech - Web Agency of the Year.

crashbdx’s picture

Thanks everyone, actually i did even more simple... i added a Global: Unfiltered text (Global: Unfiltered text) in the header of the view with the html of the link...

<a href='[site:url]/node/add/acheter-louer' class="button button-action button--primary button--small">Add content</a>

don't know if it is proper way but it work pretty well... I didn't edit the original view because i still want keep the original one for me, i duplicated to have a simplified view for the editor.