Search the Community
Showing results for tags 'admin area'.
Found 3 results
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!
Hi! I have two Page Reference fields: Category and Subcategory. Category is parent of Subcategory, and can have 0 to n Subcategories. Fields are selected by dropdown selection. I'm trying to achieve following logic: 1. Select Category (obviously works) 2. Change Subcategory options based on selected Category (this works) 3. Hide the Subcategory field if Category has no Subcategories (to prevent weird dropdown with nothing to select) I have tried to investigate two possible alternatives to achieve step 3: A) Make dynamic condition into Subcategory selection's "Only visible if..." field B) Make a hook that fires when Category changes, then hides Subcategory field if Category has no children So far I haven't been successful in either. Conditions I've tried always lead to hidden field, and I haven't been able to find set up a hook that fires on field change. So here's the question (finally): Is there a way to alter field visibility in API, for example in ready.php or inside a hook? In API I could loop through categories, find the ones that have children and then make a selector based on their IDs.
Hello, i have completed my first project in PW and its really great. i have few user groups and i want to give delete page options for each group on Template basis. i don't want to give all templates delete options to some group but want to hide Delete tab for some templates and show delete tab for some templates. like if i have two templates 1. products 2. product i want that user can see delete tab on product template but not on products template. how can i do that ? Thanks