Vigilante Posted February 17, 2018 Share Posted February 17, 2018 I haven't spent a ton of time on PW, just a handful of sites, but some things would make it easier to use. I bet there are plugins but I haven't spent a lot of time seeing what others use to solve this. 1) Easier access to the real name of a field. I often have a page open in the editor, a field label might say "Description" but really the actual code name could be anything, such as "Markdown" I see sometimes for md fields. Also field names seem to be case sensitive and I've worked on sites that seem to have random field names with caps or not. Is there a way to make it easier to read the code-based field name when I have a page open? The current method is cumbersome. From a page edit scree, switch to the Settings tab to grab a look at what template its using. Then open the template to see what the fieldname is. 2) Direct link to template from page. In similar vein, when I'm on a page in the Settings tab, it would be nice to have a direct link to open the template rather than look at it and then go find it in the UI. 3) Open a field directly from inside template edit screen. When I'm viewing a template and I see the list of all the fields, I want a direct link to open the edit screen of a particular field. --------- These three things are very common on client work because I don't always have every template and field name/label matched up and memorized. I'm constantly playing this dance of being in a page, then wanting to know the field name for code, so I have to go see what template it's using, then go look that up to see the fields, then look that up to see what field type it is, etc. For example, even bypassing having to open the template first would be good. If I could see a field and link directly to the field edit screen. If any of you have techniques to simplify this, I'm all ears, or plugins or whatever you use. Link to comment Share on other sites More sharing options...
dragan Posted February 17, 2018 Share Posted February 17, 2018 You should try the Admin on Steroids module... I only scanned your post quickly, but I guess most of your wishes would be fulfilled with it. It's one of my "must-have" default modules that I install with every new PW instance. 4 1 Link to comment Share on other sites More sharing options...
Vigilante Posted February 17, 2018 Author Share Posted February 17, 2018 Thanks. Looks like a lot of stuff there, I'll have to play with it and see if it does what I need. Will it work when using alternate admin themes? Link to comment Share on other sites More sharing options...
tpr Posted February 17, 2018 Share Posted February 17, 2018 6 minutes ago, Vigilante said: Will it work when using alternate admin themes? If there's not much modification in the markup they should work. Of course things may break if the theme applies CSS that interferes. 1 Link to comment Share on other sites More sharing options...
zoeck Posted February 17, 2018 Share Posted February 17, 2018 24 minutes ago, Vigilante said: 1) Easier access to the real name of a field. I often have a page open in the editor, a field label might say "Description" but really the actual code name could be anything, such as "Markdown" I see sometimes for md fields. Also field names seem to be case sensitive and I've worked on sites that seem to have random field names with caps or not. Is there a way to make it easier to read the code-based field name when I have a page open? The current method is cumbersome. From a page edit scree, switch to the Settings tab to grab a look at what template its using. Then open the template to see what the fieldname is. Its not exactly what you are looking for, but do you know the „Tracy Debugger“ Module from adrian? with this Module you can See all fields with names on the page (And many many other things) i think its a must have for processwire developers 3 1 Link to comment Share on other sites More sharing options...
horst Posted February 17, 2018 Share Posted February 17, 2018 When $config->debug is true, you can read all fieldnames when hovering the arrow in the top right of every field. This is possible with plain PW. 4 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