Kai Posted August 19, 2016 Share Posted August 19, 2016 From the usability point, clicking the "Add New" button should 100 % add a new page. We are on the site "Pages". What else should a user expect... I am also very sure that most of the users will not understand the meaning of "bookmarks". This should be fixed. 1 Link to comment Share on other sites More sharing options...
fbg13 Posted August 19, 2016 Share Posted August 19, 2016 @Kai Go to the template for the page you want to have an add new button/link, on the family tab look for "Show in the add-page shortcut menu?". If not there add a parent and child template and it should appear. 2 Link to comment Share on other sites More sharing options...
Kai Posted August 19, 2016 Author Share Posted August 19, 2016 Hi @fbg13, I have the latest processwire but I do not see this option in the family tab. Probably need to add the child template as you say... Howsoever, the feature to "Add (a page)" by clicking the button should be there by default - without any admin tweaks. Because it is natural that if you are on *the page site*, with an add button, that you think "add + page"... Link to comment Share on other sites More sharing options...
fbg13 Posted August 19, 2016 Share Posted August 19, 2016 It's not there by default because you can have multiple types of pages (different templates), by setting up a parent and child processwire knows what kind of page you want to create. 3 Link to comment Share on other sites More sharing options...
Kai Posted August 19, 2016 Author Share Posted August 19, 2016 Well, as said, this is still confusing for users and even developers. I am sure there is a better solution. As an idea: Take the basic template (or the first one from the list) when pressing the "ADD" button, as long as it is not defined by the developers. Link to comment Share on other sites More sharing options...
LostKobrakai Posted August 19, 2016 Share Posted August 19, 2016 The problem is not the template, but the parent for the page. There's no way of knowing where to put that page. But I understand your confusion. In the beginning this button was only visible if you had created the necessary parent/child setup for templates, so at least the one setting it up knew about it and it had a at least a "useful" option to show the user if the button was visible. Now that the "Bookmarks" thing is always available this intermediate step is no longer necessary for the button to show up. I'm also not sure if this is really the correct place for the bookmark creation in the first place. 4 Link to comment Share on other sites More sharing options...
horst Posted August 19, 2016 Share Posted August 19, 2016 +1 for hiding the button by default (re-move the bookmark-thing from it) @Kai: I'm with you. The (unconfigured) button at such a prominent position is not useful. It produces confusion. But to clarify: the default behave of creating a new page in PW is to select / click on the parent page and select [new] from the popup link list. As LK has said, PW needs to know what page should be the parent for the new page. And now, imagine a site with lots (multiple thousand!) pages and lots of templates and a deep hirarchical tree structure. Do you have it? It would be very uncomfortable to first have to navigate deeply into the hirarchy and have to use the pagination too, before one coud select the parent page for creating a new one. This is the situation for what the ADD-NEW button was created for. Devs can setup template family relations and decide to display an AddNew link for a specific page type there. Now, when an autor / editor need to create a new page of that specific type, which parent is deep into the tree hirarchy, they only need to select it from the big ADD-NEW button and PW does the rest. It is a very fine, time saving, useful and comfortable feature. (when it not is showing up unconfigured ) We will add it to the issue list. 3 Link to comment Share on other sites More sharing options...
JeevanisM Posted February 28, 2020 Share Posted February 28, 2020 I just hit this Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now