Jump to content
JMartin

Move fields from "Settings" tab to "Content" tab in the Page Editor?

Recommended Posts

This is officially my second day trying to understand ProcessWire and all its awesome awesomeness.

Two things I love about it so far:  [1] Truly unlimited custom fields and [2] Ability to easily customize the layout of said custom fields inside the admin panel.

That being said, I would like to move the Name and Status fields from the Settings tab to the Content tab.  In fact, if there's a way to re-order and resize the fields, I wouldn't mind deleting the Settings tab entirely and moving ALL those fields to the Content tab.

I found an old 2011 discussion related to this, but Ryan's answer seems to be obsolete now.

Any ideas how to tackle this?

Share this post


Link to post
Share on other sites

Check out advanced mode in config.php and you'll have this for each template:

Screen Shot 2016-07-17 at 4.28.42 PM.png

Maybe doesn't take care of everything you need, but remember that the status can also be changed from the Page List view via the extended (after the arrow) action buttons.

  • Like 4

Share this post


Link to post
Share on other sites
40 minutes ago, adrian said:

Check out advanced mode in config.php and you'll have this for each template:

Maybe doesn't take care of everything you need, but remember that the status can also be changed from the Page List view via the extended (after the arrow) action buttons.

Thank you, Adrian.  I checked and rechecked my config.php file for that setting.  Couldn't find it.  I didn't realize there are 2 different config files.  Ha!  (for anyone else reading this, the Advanced Mode setting is in the /wire/ directory, not /site/.)

Your screenshot was very helpful.

Also, I didn't know about the hidden status/unpublish buttons on the Page List View.  That's a great time saver!  Thanks for the tip.

  • Like 1

Share this post


Link to post
Share on other sites

You can and should add the option in the config file inside your site directory.

The wire/config.php has the defaults and the site/config.php has your custom config which overrides the wire ones.

  • Like 3

Share this post


Link to post
Share on other sites
8 minutes ago, JMartin said:

Thank you, Adrian.  I checked and rechecked my config.php file for that setting.  Couldn't find it.  I didn't realize there are 2 different config files.  Ha!  (for anyone else reading this, the Advanced Mode setting is in the /wire/ directory, not /site/.)

No problem - actually, you don't want to modify the wire/config.php - you just use that as a reference and copy any options you want from it to the site/config.php and modify as required.

 

8 minutes ago, JMartin said:

Also, I didn't know about the hidden status/unpublish buttons on the Page List View.  That's a great time saver!  Thanks for the tip.

BatchChildEditor module is also helpful if you need to make changes to lots of child pages at once.

EDIT: Beaten by @fbg13

  • Like 2

Share this post


Link to post
Share on other sites
2 minutes ago, fbg13 said:

You can and should add the option in the config file inside your site directory.

The wire/config.php has the defaults and the site/config.php has your custom config which overrides the wire ones.

1 minute ago, adrian said:

No problem - actually, you don't want to modify the wire/config.php - you just use that as a reference and copy any options you want from it to the site/config.php and modify as required.

 

BatchChildEditor module is also helpful if you need to make changes to lots of child pages at once.

Oh geez.  Of course, I didn't know that.  

Now I see that warning at the top of the /wire/config.php file.   Appreciate the heads up. 

 

  • Like 1

Share this post


Link to post
Share on other sites
43 minutes ago, adrian said:

BatchChildEditor module is also helpful if you need to make changes to lots of child pages at once.

Wow.  That's fantastic.  Just installed and worked through the options.  I think I mostly understand it.  Seems extremely powerful.  Thank you for making it!

On a related note... your ProcessPageFieldSelectCreator module was instrumental in me *finally* understanding how Pages work!  Specifically... that they're not just "pages."  With much frustration, I almost gave up on PW several times yesterday because it just wasn't making any sense.  But experimenting with your module provided me with a much-needed light bulb moment.  After that, a lot of stuff has 'clicked' for me.

So thank you again.

 

  • Like 2

Share this post


Link to post
Share on other sites

Glad you are finding those modules so useful - especially the page select creator - it is definitely a time saver - it can be a little time consuming and confusing to get the template parent/child permissions correct.

  • Like 1

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recently Browsing   0 members

    No registered users viewing this page.

  • Similar Content

    • By Clément Lambelet
      Hey!
      I've been working on a Processwire installation (3.0.123) for a few days now and I must have made a big mistake this morning because the links in the admin's main menu no longer appear.
      This is not related to the admin theme, because the bug occurs with all themes (Default, Reno, Uikit).
      I tried to reinstall with the dev version (3.0.136), but the problem is still there. I also uninstalled all the modules I had added, without success. There is no error in the js console. 
      I still can access/view/edit the pages  by going through the admin/page list.
      Thanks in advance for your help!


    • By MateThemes
      Hello everyone!
      I have searched the forum for quite a long time and I tried some solutions for my topic but nothing seems to work.
      I need to create a Settings Page and for a native feeling I want to create it under the main navigation on top. The settings page should hold the Main Logo, some styling and other settings. As I said nothing seems to work for me. I tried to create a Page under Admin with Admin Template and ProcessPageEdit but then I can't assign an image field. 
      I don't want to write a module because it is to much work for only 3 settings.
      I hope someone of the forum could help me out!
      Have a nice day!
    • By BitPoet
      Inspired by this thread with a little nugget based on AOS by @benbyf to visually distinguish development systems from production ones, I wrote a small module that does the same and lets you adapt colors and text.
      Link to the github repo:
      AdminDevModeColors
      Version 0.0.1 is still very alpha and only tested on PW 3.0.124.
      Description
      This module lets you change the color for the top toolbar and add a small piece of text for development systems, so you are immediately you aren't working on production (and vice versa). The adaptions are made through pure CSS and applied if either the "Enable DEV mode" checkbox in the module's configuration is checked or the property $config->devMode is set to true in site/config.php.
      Works with Default, Reno and Uikit admin themes (though probably needs a lot of testing with different versions still).
      Since a screenshot says more than thousand words...
      Production system (unchanged):

      Dev system (Default admin theme):

      Dev system (Reno admin theme):

      Dev system (Uikit admin theme):

      Feel free to leave any feedback here and report any problems either in this thread or the github issue tracker.
       
    • By SwimToWin
      The basic Processwire workflow assumes that I (as an Editor) want to save new Pages in draft mode - and therefore new pages are always set to unpublished by default. To publish the page, it is necessary to actively press "Publish", otherwise the Page will not be visible.
      The workflow is:
      Add new Page Status is now "Unpublished: Not visible on site." Press Publish - the page is now visible on site I want to publish pages right away (without having to press Publish).
      Where is that configured?
      ProcessWire 3.0.123
      Uikit v3 admin theme (0.3.0)
    • By SwimToWin
      I have a website that allows users to create their personal "website" (a page with sub-pages).
      Users shall be able to:
      Log in (frontend and/or admin), Edit "their" page(s) - I am using the "Page Edit Per User"-module (https://modules.processwire.com/modules/page-edit-per-user/) to grant access to the relevant pages Create child pages - possible? Users shall not be able to see other pages in the admin interface - "Admin Restrict Page Tree" may do the trick (https://modules.processwire.com/modules/admin-restrict-page-tree/)? Frontend editing shall be possible - I am considering "Fredi" (https://modules.processwire.com/modules/fredi/) for this. The challenge is that it takes a lot of modules and configuration.
      Is there a way to set this up that doesn't require a lot of configuration for each new user?
×
×
  • Create New...