Jump to content

Search the Community

Showing results for tags 'Admin'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Welcome to ProcessWire
    • News & Announcements
    • Showcase
    • Wishlist & Roadmap
  • Community Support
    • Getting Started
    • Tutorials
    • FAQs
    • General Support
    • API & Templates
    • Modules/Plugins
    • Themes and Profiles
    • Multi-Language Support
    • Security
    • Jobs
  • Off Topic
    • Pub
    • Dev Talk

Product Groups

  • Form Builder
  • ProFields
  • ProCache
  • ProMailer
  • Login Register Pro
  • ProDrafts
  • ListerPro
  • ProDevTools
  • Likes
  • Custom Development

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests

  1. Hi Guys, I have a site that I built for a software company. The site has someone that will be managing the blog which is in ProcessWire now. Here is my question, I need to give the user's role the ability to change the created user for a page however, ProcessWire template settings only allows me to add this capability to the superuser. Any suggestions? Workaround ? Thanks.
  2. I want to set the pagestatus of a admin-page to hidden when a user is logged in which has the role "company". I did this in the admin.php but it doesn't work. What I am missing? if(wire('user')->isSuperuser()){ $pages->get(1265)->removeStatus(Page::statusHidden); } else{ $pages->get(1265)->addStatus(Page::statusHidden); }
  3. I just noticed that the added items in/under "Add New" are sorted by their template-name. As you can see, on the screenshot below, these "names" differ sometimes to their "labels". Kategorie => category Artikel => post Schlagwort => tag For such kind of cases, it would reallynice if we could sort them manually. That we can sort them by their labels or what ever... Artikel => post Kategorie => category Schlagwort => tag As surprising pw is, this is already possible, somehow?
  4. How could i accomplish this? I would like to have in the admin a second page navigation and I would like to able to move some elements from the default page navigation to the other one. The element and their children. Any ideas on this?
  5. I find that editors with low web skills have difficulties working with the ProcessWire Admin interface. I am here talking about users who rarely write text and with low web skills. Also, my customers are Danish but see the ProcessWire Admin interface in English -- they are not all comfortable working in an English user interface (I can fix this in part by adding fields in Danish). The main reason for the usability challenges is that users are forced to work in the tree structure in the ProcessWire Admin interface as it is today. The Page tree can be hard to comprehend when getting back to Admin after 2 months or more. Below I offer observations on what I have seen customers do in the user interface, and based on that I suggest how usability may be improved. Note, this post is written in a positive spirit with the intention to improve ProcessWire. Observed user behavior 1. New pages. Users incorrectly place new pages at root level when they correctly should have been placed in - say - the "News" section. Observed behavior: Users log in to Admin, immediately see the "New" link and create a new page. The link is incorrectly being placed at root level. Correct behavior: Users log in to Admin, click "News", click "new" (next to "News"). Training users in doing the right thing is also hard. It is hard to explain users to: "1) log in to Admin, 2) click "News", 3) click "new" (next to the News link)." As a possible workaround, I can lock down the content types that can be created from the root level, but in my view that should not be stricly necessary. 2. Overview. Users find the admin interface hard to understand when getting back to it after 2 months. Some of the questions users (and me too) ask themselves are: "What can I do here?", "Under which section (segment1 nodes) should I add my new Product or Event?" Possible workaround: The web designer can spend time writing a guide, but I guess most would prefer that the admin interface answered the question "What can I do here?" -- possibly with a written instruction. 3. Clutter in the tree structure. As a web designer I have to store categories andother system nodes in a tree structure that is visible to end users. I create a "Value lists" node and put pages that I use in different Select boxes in other pages -- editorial users really don't need to see these "Value lists" in the main view. Better: Move system information to a secondary area as in many other CMSes (see suggestion 3 below). 4. User error risks. Users can mess up the entire site structure if they start moving around with root-level pages. For instance, Navigation will suffer when using the Simple Navigation module. Also entire sections can be deleted / moved by editors. Suggested Solutions 1. Buttons. As a web designer it would be nice to have the option to create "buttons" on the admin start page (/processwire/page/). Example Buttons: "New Article" - clicking the button will create a new page of type "Article" and place it under a specified parent page ("/articles"). "New Event" "New Product" "New Solution" "New Employee" 2. Apps. Pretend that the website contain many "apps". As a web designer I can create such "apps" in Admin. Apps can be as simple as a shortcut in a menu (right menu as seen here). 3. "Site system trees". The Page tree contain two very different types of data. The first is content, the next is "system nodes". I would like to move the "system nodes" to one or more "site system trees". As a web designer I can create a "system tree" for the site that contain non-content nodes. A link to the "site system tree" can be placed in the admin navigation (Pages, Setup, Modules, Access). Access to "system trees" can be restricted. My "system tree(s)" would contain information such as: Blocks Snippets Menus Site settings Search Admin 404 Page Not Found Trash PS: How do I create "Admin apps" in the Admin left menu (as in this example)?
  6. Hi all, So, I've got a site that's being migrated from Joomla (ouch) that has a bunch of pages at the root - i.e. http://site.com/page1 http://site.com/page2, etc I know I could just create these in the admin below the home page, but, as I've got dozens and more being added all the time, I'd rather keep them as sub pages under a generic structure page, which I'd call something like "Landing Pages". But, of course that would leave me with http://site.com/landing-pages/page1, etc I know I could add htaccess rules for each specific page, but non-devs will adding these pages, so that's not a good option. I've looked at Netcarver's URL Shortener module a bit, and that may be an option. But, ideally I'd be able to have it managed all from the page itself. What do you all think is the best way to manage this? Thanks. P.S. Working with Joomla has made me appreciate PW all the more. I'm sure it's good for some people but... yuch, not for me
  7. After login tree fails to load pop up says unknow error I can get to page by Page > Recent > Edited Site does show on web Any ideas where to look Regards Allan
  8. Hi there, I'm not sure if this is a setting somewhere, but searching for it returns a thousand results so not sure if it's related to front or back end, but my question is: When I add a new page (child) it automatically adds it to the bottom of the list of children. This seems to be the default setting. How do people feel about this and can you go about changing it? Cheers guys, R
  9. Hello guys I am experiencing a very weird admin login issue. I have the correct password and when I login to admin, first it does let me login, but after going to 3-4 pages it suddenly automatically sign me out and when I try to login again, it prevent me to login and I can not login any more. When I try in a different browser or Mac the same thing happens. Everything worked fine before and nothing has been changed and it suddenly started to do have this weird issue. Could you please help me out. This the URL of the admin http://www.greenpeas.no/admin/ Thanks in advanced
  10. Hi. I am trying to create a button on specific admin pages, that when pressing this button, it creates and publishes a new page with some of the input data from the current page. I have been able to add a button to the admin pages with this code in the admin.php template file: $page->addHook('ProcessPageEdit::buildForm', null, 'addButton'); function addButton(HookEvent $event) { $page = $event->arguments(0); $href = wire()->config->urls->admin.'page/add/?parent_id=1089&credit='.$page->credit->value.'&partner='.$page->partner->value; $field = wire()->modules->get('InputfieldButton'); $field->attr('id+name', 'create_new_log'); $field->attr('class', $field->class); $field->attr('value', 'Create new log'); $field->attr('href',$href); $event->return = $event->return->append($field); } require($config->paths->adminTemplates . 'controller.php'); I have attempted to add some url parameters, but this method does nothing good. Is it possible to do what I am trying to do?
  11. Hello everyone, I'm looking for a way to add a submit button ('Generate PDF') for a set of templates, which generates a PDF when clicked. So, a submit-button field to which I can attach attach a piece of code. I don't want to run it every time I save, because that will be too much time-consuming. I found https://processwire.com/talk/topic/8457-add-a-new-action-button-to-page-edit-screen/?hl=%2Badmin+%2Bbutton , but I can't seem to get it working. It should be placed inside the admin.php file right? Or is making a module the best way to do this... Best, Charlie *** EDIT *** I'm currently in the middle of making the [GENERATE PDF] button module. I found the Page::editable hook which works great. Somehow it also parses immediately the parent, and because I only want to parse the current page, I remove the parent like this: $page = $event->object; $page->parent = ""; // remove parent! Is this good/okay/bad practice? Then I'm trying to add a button to the template like the following: $field = $this->modules->get('InputfieldButton'); $field->attr('name', 'generate_pdf'); $field->attr('class', $field->class); $field->attr('value', '[GENERATE PDF]'); return $event->return->append($field); But this throws me an error on the appending (Error: Call to a member function append() on boolean (line 60)... The follow up question would be: how can I add an event to when this button has been clicked, and use the current available information of that page
  12. I have a client that wants the following functionality for an intranet site: The intranet must be password protected. Each employee must have their own individual username and password. There may be a total of 100 employees who would have access to the site. A small group of employees need to have full admin rights to add, modify, and delete pages, posts, and images. They must also be able to add and delete non-admin employees. Admins and non-admin employees must be able to modify their personal profile on the site. Profile information may contain name, email, password, bio, photo(s), and links to external social media sites. The login and profile pages should *not* look like the PW admin. Employee profile pages should be available to other employees. In other words, the site should support an employee directory. Employees must be able to comment on existing pages and posts on the site. (Not sure how to implement this requirement.) Images that are uploaded should be viewable in a slideshow gallery format. I've developed one site in PW so far, but nothing like the above requirements. I'm 90% confident that PW can handle these requirements, but thought I'd check with the PW community first before making a commitment to using PW. I could build the site in WordPress, but it may be more work than to build it in PW. If someone else has built a similar site, I am interested in hearing about your experience.
  13. Hi folks, I have just pushed up a site from local to live. I have had a dev server for client testing and all was working fine. However, upon upload, on all the pages, fields are missing (even though the content is coming through on the site) and there's weird formatting issues. Please see the screenshot below. There doesn't seem to be any issues in the console or I have tried reuploading all the files but doesn't seem to change a thing. Any thoughts? Thanks, R
  14. Hello there. Since this is my first post in these forums: Thank you Ryan for ProcessWire and thanks to everyone that is supporting him or other users. I'm having a strange problem using $image->description. When I'm logged in as the default user I registered during install everything's working as expected. $image->description returns the string provided in the backend. Anyways if not logged in, an empty string will be returned resulting in <img src="url-is-still-working" alt="">. I don't really know whats going on. Might be a bug? Here's some code: $slides = ''; foreach ( $page->slideshow_images as $image ) { $slides .= '<li><img src="' . $image->url . '" alt="' . $image->description . '"></li>'; } I'm running ProcessWire 2.5.3.
  15. Hello, I've a requirement where I need to have a list of pages using same template available on a page (site settings page) through page field. Basically what I need is, whenever a new page of specified template has been created, it should be automatically added to that pages list, just like home page has children. For example, I've a template called article. Articles are posted under /blog/ page. I've a site settings page which has a page field called articles_list which I use to manage articles list on some other page. This way I can manually chose what articles I want to show and in which sorting order. There's no specific sorting logic to this. So what I need is, whenever a new article is posted, it should automatically be appended on that articles_list page field so the site moderator can manually change the sorting without having to add page himself and then select the sorting. I've this weird requirement cause the site moderator can't see which new article has been added to the blog, he's just allowed to set the sorting. I hope I've clarified the requirement. I think I can use admin custom pages but it for some reason never worked for me. Thank. P.S. Forgot to mention that to add post or any other related task, I'm not using front-end, it's all through PW's admin panel.
  16. I'm trying to figure out a way how I can allow a client query and generate lists via the admin and not via de frontend where I would have to build templates and use the API to query and generate data. For a bit of back story: the client will be able to create study courses via de admin. Visitors will be able to sign up for a course via de frontend and the details will be written to the database via de API. Visitors who have signed up will have a status: pending approval, pending payment, approved or declined. The client will be able to edit the status via de admin. I'd like for him to be able to query the data via de admin and generate lists (search results), sort of in the way you might build frontend templates that are only accessible for the signed in admin users but then within the admin itself. I've searched modules and the forum but haven't found anything concrete. Any ideas would be appreciated!
  17. I'd like to see better Hanna Code management and I think 4 things could greatly assist. 1 - Tags to be able to tag a piece of Hanna Code in the same manner as we tag templates. We could then see the list of Hanna Codes arranged in the same format as templates. IE broken down by tag. 2 - Usage On the Hanna Code list i'd also like to see a column called Pages (and Templates?) telling me how many pages and templates use my Hanna Code. Again, similar to the Templates layout. 3 - Filter / Find The Find page has a tab called Filters for searching by template, field etc etc. In fact, I can filter by almost anything except Hanna Codes. 4 - Descriptions To be able to add a plain text description to a Hanna Code. I try to name my HCs in a helpful way such as Get-Video Get-Investor-News etc Sometimes I have several variations of the above and I'd like an at-a-glance way to distinguish them without having to click into the HC or at least be able to see the description once I've clicked in. Anyone else feel the same or do I use HC more than most?
  18. So far I have seen that you can only allow superuser to manage roles, however I don't need the admin of the site managing everything else. I need to add a permission to allow them to add roles if needed and delete roles if needed.. Basically control roles. Any thoughts on accomplishing this?
  19. Hi guys, having a bit of a strange issue here - I've installed at least a dozen copies of process wire for various websites firstly on my localhost using MAMP and later transferring it to a server. I'm trying to install a fresh copy to my localhost, I go through the install process and get the success message as usual (see screenshot) but whenever I try to access /admin/ - it cannot be found. Any ideas?
  20. Is there a somewhat comprehensive guide or tutorial somewhere on theming the PW admin? There's so much untapped potential there I just don't know really where to start to learn my way around it. If not, would anyone care to create one? I know I would greatly appreciate it, as would many more users. There are no admin themes in the modules directory currently that claim to be compatible with 2.5. That would probably change with a solid beginner's guide.
  21. Hi, is it somehow possible to add new users as children of other users? I want to group users and thought that would be a nice structure to have groups of users put together as children of other users. Basically like: Users Group A User 1 User 2 User 3 Group B User 4 User 5 User 6 User 7 ... I edited the user template to be able to have children and parents of user-templates - yet, whenever I add a child to a user it automatically will be appended to the 'Users' page. Also I cant move them from there, it says "You do not have permission to move pages using this parent - /backend/access/users/group-a/" Couldn't find a solution so far - I think there is some intention behind it, because it is some admin/system stuff - but couldn't it be made possible? -Steffen
  22. Hello all! I'm Andrea and I'm new in PW world. Lovely place, i like it! It's the perfect hook between cms and framework! But now, we come to the question. - It's possible to duplicate (throught .append() jquery method) the form section in backend admin panel? (i.e. http://tristandenyer.com/using-jquery-to-duplicate-a-section-of-a-form-maintaining-accessibility/) I created a form backend, allowing the user to enter information, but I would like to duplicate a section (the section name products). - is there the possibility of generating a .jpg or .pdf from a php page? Sorry for my bad english guys !
  23. Hi there, I've created this sample home page As you can see there are some repeating parts (wide image, heading etc.) but they are all followed by a part that differs from the rest. Notice also that the top wide image is higher than the other two. For the images I use the CroppableImage module (it's in alpha but so far it looks stable). For my client I want the admin as simple, intuitive and logical as possible. What would be the best practice to set up the back-end template. Thanks Alfred
  24. Hello! First of all, I am really looking forward to have lively conversations with you all, and becoming skilled with PW, I think this might be exactly what I have been looking for. Last month I decided to learn code, registered myself at codecademy, completed the HTML and CSS tracks, and recently have been producing some nice one-pagers with Foundation. This morning I watched the two episode Philipp Reiner special on how easy it is to simply copy-paste the HTML into PW, and then make the necessary changed to have it dynamic. --- Now, I installed PW in a subdir: 'www.rinaldi.nl/projects/pw' and for some reason it shows the Default template, but clicking on the admin link does not bring me to the admin login. I have done everything in the troubleshoot guide, I have mod_rewrite enabled, uncommented the rewritebase /pw/, etc. The only thing I haven't tried yet, is to start all over again with a clean install. But maybe this isn't necessary(?). Is there anything else that I have to take into account? Thank you.
  25. I made a calendar view page in the admin using AdminCustomPages module, but since I want to add more functionality to it I am trying to make it (the calendar) its own module... So I have a module ProcessKalendar that extends Process and implements Module, ConfigurableModule. It creates the Kalendar page on installation and currently just outputs the input of the one config field for the module on that page on execution. I need to add scripts and stylesheets... How do I do this within the module?
×
×
  • Create New...