dhruba Posted July 30, 2013 Share Posted July 30, 2013 Hi I want to use PW very efficiently, Like its best practices for global editable header/footer and creating CRUD application. Is every thing in PW are pages like users, permissions, roles etc? What are the concept behind this? For every group of fields should I need a template with a physical file?How to create complex custom permission like user can reply to post but cannot post a topic THANKS. Link to comment Share on other sites More sharing options...
kongondo Posted July 30, 2013 Share Posted July 30, 2013 PAGES: Yes, everything is a page. There's a topic that explains this approach but I can't find it atm. A page is an abstract term; it doesn't always map 1:1 with a web (or book) page. Being abstract, it can be used for various tasks including storing data, displaying content, etc. Have a read here too. CRUD: There's Batcher (check in modules) and this current discussion GLOBAL HEADER/FOOTER: There are various approaches. One is create pages to hold the information (respectively) and call those pages in your templates. See also the PW default install template files and this topic plus this in the docs. FIELDS: Templates help group your fields together. This is a big topic. Have a read here. Note that fields are reusable and are all custom; there is no required field in ProcessWire (although each page must have a name but that is not a field you create; it comes with the system). Templates can share template files, can have their own template files or can have NO template files Confused? It all depends on what you want to achieve. See this topic and this in the docs. Bottom line; if you want a page's content to be visible in the front-end, that page must either use a template that has a template file or that page must have its content pulled into and displayed by another template file. Gotta go. Meanwhile, you could search the forums for more info as others chip in. You might want to search this forums using Google; it is better than the forum board's search 3 Link to comment Share on other sites More sharing options...
pwired Posted July 30, 2013 Share Posted July 30, 2013 Hi dhruba, with pw, you found a cms that is going to save you a lot of time and headaches compared to the other cms'es out there. PW is becoming more popular and newbies keep on coming in. As much as I respect people's time and effort to answer newbie questions over and over again, the same questions and the same answers are repeating themselves over and over again and all these posts become spread over the forum where they become harder to find. Besides a getting started channel I suggest to open a newbie channel where these posts with the same newbie questions and their answers are collected and pinned and put in a central place. Or something like Q and A for newbies. http://processwire.com/talk/topic/3215-newbie-overwhelmed/?p=40610 http://processwire.c...fused-by-pages/ http://processwire.c...a-a-case-study/http://processwire.c...ndpost__p__8988http://processwire.c...ning-from-modx/ Link to comment Share on other sites More sharing options...
SiNNuT Posted July 30, 2013 Share Posted July 30, 2013 You do realize that the section this question is posted in is called: Getting StartedJust started and need help? Feel free to ask anything here. So this already seems like a fit 'channel' for these types of questions. Maybe it could be managed better, i don't know, but that's also a lot of work. I agree that some sort of FAQ for beginners could be a useful resource. 1 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