Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
By crashbdx on
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 :
Comments
Why don't you just edit the
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.
=-=
worst case scenario you can utilize a custom views tpl.php in your theme and add your own button/link
Why don't you just edit the
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.
Thanks everyone, actually i
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.