geekpete

Members
  • Content count

    23
  • Joined

  • Last visited

Community Reputation

24 Excellent

About geekpete

  • Rank
    Jr. Member

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. geekpete

    Thank you both @Macrura and @kixe Does the job perfectly. I looked in the 'field types' area of the modules but now I see theres an 'admin helpers'. This project is in fact only admin panel and no frontend so I think I will be looking more in there Cheers!
  2. geekpete

    I've attached an image showing what I mean which might help make it a little clearer. I also realised I should have edited my original post twice, sorry folks
  3. geekpete

    In fact even more ideal would be to have that other page pop up in a modal so the user just just look at a few more field of interest and then close it. Thanks again
  4. Hi, I have (yet another!) a query that I'm wondering I can get some help with. I have a page reference field setup using a page list select input type and have it selecting by a parent page. It all works fine and stores things perfect etc. In the PW admin after I've selected a page to reference I'd really like to be able to have the title text used clickable and link through the page being referenced. Any ideas? I've looked around the modules for options and fields type options and other field types but can't seem to find anything. Tried digging through the code but am getting a little lost. I know its easy enough to sort on the frontend but this is just for the PW admin. Thanks for any help.
  5. geekpete

    Done, 318 Having almost finished my first ProcessWire project I can honestly say its been a pleasure. A site / service built out of the PW admin, custom modules etc (theres no frontend at all) to help manage a manufacturing setup. Has been a great fit and shows how flexible PW is. Even with learning about PW and not being the strongest PHP coder out there I've manage to get things done in a fraction of the time. Heres to PW, glass raised
  6. That works really well, thank you, few little things I noticed if you edit a page and click the little 'tree' icon PW gets stuck in a redirect loop, same if you use the 'Save + Exit' link but on my ListerPro's its fine if I use the modal edit 'type' and those links don't appear.
  7. How am I not finding these things! Bows head in shame
  8. I've got the default page page changed no problem using the above link as a guide, brill. Struggling a bit to hide the 'Pages' tree for a non superuser though (I want users to use some simple ListerPro's I setup where they can edit pages from there etc). From what I can work out the 'ProcessPageList' module the page tree uses needs the permission 'page-edit' to show up. So I tried adding a custom permission and getting the module to use it (whilst not adding that permission to the non superuser role). That works fine until a non superuser goes into a ListerPro and tries to edit a page, I get an error then which I'm guessing is because the ProcessPageList locks off all functionality and the user doesn't have the. I get :- ProcessWire: You do not have permission to execute this module - ProcessPageList Maybe I'm approaching this the wrong way. Essentially I want to be able to give my users nice simple options in the 'top' menu where Pages, Setup, Modules and Access go. These will bring up ListerPro 'views', that all works perfect. Given that I can access the pages I'm after from the ListerPro's closing off the tree for those users seemed a good idea as they essentially see this 'other' view of the same things which may confuse them. Any ideas folks? I do know one thing, having a good grip on the ProcessWire admin has got me thinking of lots of uses for it. This particular setup is for a manufacturing company, there is actually no 'frontend' at all, PW is just a great way to manage the data and doesn't suffer on scale.
  9. Ahhhh, this is the ticket Thank you muchly sir
  10. Hi All, I'm trying to change the default page loaded when using the ProcessWire Admin. Normally it defaults to the 'Pages' tree but I'd like it set to one of my custom menu items (a ListerPro). I've looked around the admin panel for a setting without any joy and also tried changing $config->adminRootPageID (I suspect its readonly?) but that didn't work. Does anybody know how to do it please? Also, if I wanted to hide the Pages tree menu item (top nav) from all non superusers is that possible? I want them still to be able to dig into a page but only from ListerPro's etc. Thanks again all. Learning bit by bit....
  11. geekpete

    I just wanted to follow-up for anybody reading in a similar situation. After spending more time with the admin and understanding things I can say using it as opposed to recreating an admin at the 'frontend' is 100% the way to go, will be saving a ton of time, so glad I got a good steer from you all.
  12. geekpete

    Thank you @Robin S Understand completely. The TemplateStubs module looks interesting, I will be sure to check it out!
  13. geekpete

    Hi All, Wonder if anybody can offer any advice on using PHPStorm and auto completion? I'm in a standard template file and if I type say $page-> and ask for some suggestions via Control-Space I get a 'no suggestions' tooltip. I've just learn't about the functions API which seem to autocomplete just fine. Just can't seem to get the variables based API working. Am I doing something wrong? I see Ryans .phpstorm.meta.php file in /wire/core and am thinking the 2nd section being noted about not working might be causing the problem? I'm still a little new to PHPStorm but the project all seems setup and working fine just not this part. I've attached mini screenshots what I see when trying to auto complete with both the functions API and the variables one. All the examples I come across seem to use the variables API and not the functions one, any big reason not to use it? I'm no PHP expert so I might not be understanding an obvious 'don't use scenario', be gentle lol Cheers All. ** A little addition, whilst the functions API is autocompleting for functions like children() and the template field 'title' If I add a custom field I don't see it in the autocomplete list? I'm not quite sure how PHPStorm can pull in those fields in the right context so I'm thinking my understanding is wrong on how this all works! Seems a shame to use an IDE with such strong code inspection etc for PHP and not be able to use it as much as possible in the template files **
  14. geekpete

    Thank you all once again, amazingly helpful
  15. geekpete

    Thanks again all, I am sold Just setup a dev install so I can start to understand how I can use the PW admin in more detail.