pleini Posted June 8, 2014 Share Posted June 8, 2014 Hi there, I'm new with processwire and we are planning a review site. To avoid building one big review page, we want to share the review informations accross multiple pages. The url structure is like /productname/test Sometimes there exist even more pages like /productname/costs /productname/alternatives /productname/features The page /productname doesn't consist of any informations, it always starts with /productname/test I cannot change the url strucutre, this one is given. Here are a couple of questions about how to structure Should I implement /test, /costs and /alternatives as parameters of /productname (and show parameter dependend content)or as real pages? Should I keep all the information for /test, /costs, /alternatives, /features inside /productnameand fetch inside the subpages from the parent /productname? Thank you, Chris Link to comment Share on other sites More sharing options...
Macrura Posted June 8, 2014 Share Posted June 8, 2014 @pleini - welcome to the forum. to make it easy i would keep the editing all on one screen; then use URL segments to show the different field on each of the virtual pages; but if you need something where the fields are not fixed and you can't predict what the child pages are, you could use the new PageTable module and use the child pages for those; in that case you would still be able to manage the child pages directly on the main page; 2 Link to comment Share on other sites More sharing options...
cstevensjr Posted June 8, 2014 Share Posted June 8, 2014 First, Welcome to ProcessWire. Both of your questions are doable as ProcessWire doesn't impose any particular structure on you. Hopefully some of the more knowledgeable members will give you countless ways of structuring your website. I do things differently that most people, so I would have a page and have the costs, alternatives and features show up on the page as sliders or tabs. Another way would be to have the costs, alternatives and features be child pages to test. You could have individual buttons or links to the child pages on the test page. As I said earlier, there are many ways to proceed with your structure and very smart forum members with innovative web development skills. Good luck. 1 Link to comment Share on other sites More sharing options...
pleini Posted June 9, 2014 Author Share Posted June 9, 2014 @Macrura, thank you for your help. Do you mean the new module Table? What advantages / disadvantages do exist for doing it as virtual or real pages? @cstevensjr thanks for you help, it has to be different urls. Link to comment Share on other sites More sharing options...
Macrura Posted June 9, 2014 Share Posted June 9, 2014 i'm actually referring to PageTable but i don't know if there is a dedicated thread yet for that one; it would allow you to manage your child pages (add, edit, delete) from the parent page, in a sortable list; you can click on the item and edit it in a modal lightbox. you can also configure the fields to show in the table, and also custom auto name for the child page titles; so all in all, a very handy module, and the pages you manage don't have to be children, they could be somewhere else and you would make the pageTable field and setup the preferences there. Link to comment Share on other sites More sharing options...
adrian Posted June 9, 2014 Share Posted June 9, 2014 This is the only info on PageTable I think: https://processwire.com/talk/topic/6417-processwire-profields-table/page-2#entry62890 Read from that post onwards. Link to comment Share on other sites More sharing options...
pleini Posted June 9, 2014 Author Share Posted June 9, 2014 Okay thank you, first have to install the dev branch. How do you handle updating processwire / installed modules? Link to comment Share on other sites More sharing options...
adrian Posted June 9, 2014 Share Posted June 9, 2014 Here are the instructions for upgrading PW: https://processwire.com/talk/topic/52-how-do-i-upgrade-processwire-to-the-latest-version/ You shouldn't need to do anything with already installed modules - they will stay installed and activated. If you want to actually upgrade an existing installed module, you can simply click on the name of a module on the module page and then click the "check for updates" link - follow the prompts - all automated! Link to comment Share on other sites More sharing options...
Martijn Geerts Posted June 9, 2014 Share Posted June 9, 2014 Just overwrite the wire folder, installed modules are installed in your site folder, thus not overwritten. I got a nice message from cstevensjr, correcting me on the line above. He was kind enough to write the proper steps. Quoted from cstevensjr: They should first rename the wire directory Copy the new wire directory to the server Remove the old renamed wire directory from the server. Thanks cstevensjr, we are lucky to have you here ! 1 Link to comment Share on other sites More sharing options...
pleini Posted June 10, 2014 Author Share Posted June 10, 2014 Wow, awesome! Thank you all! 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