Tara White Posted January 27, 2015 Share Posted January 27, 2015 Hello, Our "Our People" page is the parent to "person" template. I have added an extra child to the "people" page. It is using the correct template and is published but will not appear on the website. There was no issue in creation and everything appears to be working so I have no clue why. Please help - I am close to banging my head on a brick wall. Thanks Tara White Link to comment Share on other sites More sharing options...
Peter Knight Posted January 27, 2015 Share Posted January 27, 2015 Hi Tara Welcome to the PW forums. What template is actually displaying the list of people on the front-end/ public website? The code generating the template above could be set to only display X members of staff or people. If you had access to template and pasted the code here, we could confirm. Link to comment Share on other sites More sharing options...
Tara White Posted January 28, 2015 Author Share Posted January 28, 2015 Hi Peter, Thanks so much for getting back to me. I'm pretty new to Process Wire can you explain how I check the template that is being displayed in the front end please? I have also been trying to work out how to bring up the code for a few days now as I thought I could manually edit it as I am fairly confident with coding. How do I get up the code? Then I will paste it in here. Thanks again for your help Tara Link to comment Share on other sites More sharing options...
Peter Knight Posted January 28, 2015 Share Posted January 28, 2015 NP. Assuming the page which lists staff is called "Our People", find that in the tree of pages. Click the Edit button to the right of the Our People page. Once you're in edit mode, look for the Settings Tab and there should be a Template field listing the template used. I have also been trying to work out how to bring up the code for a few days now as I thought I could manually edit it as I am fairly confident with coding. How do I get up the code? Then I will paste it in here. Hmm, this might be a problem. Templates in PW are often PHP files and usually live on the server itself. They're not usually directly editable within the PW admin. Do you have FTP details to the server or some way of connecting? The only alternative I can think of is to install a Module called Template Editor (link) which will allow you to at least copy and paste the code here. By the way, I can see on your site that there is code being generated for the new staff member (beside Steve) but there's no content being outputted. Are you sure you're updating the right part of your site? Link to comment Share on other sites More sharing options...
Tara White Posted January 28, 2015 Author Share Posted January 28, 2015 Hi Peter, The template displaying the list of staff is tpl_people. When I check this template it is set to have children i.e the staff and the Child page "Alex Swann" is listed. This is one that is missing from the front end. Before trying to add Alex's profile I tried to remove the random extra Linkedin and email symbols. I could not work out how to do this viaProcess Wire, but when viewing the page source I can see where the coding error is. When I added "Alex" I just selected to add a new child page from "Our People" via the page tree. I hope this is the correct way. Our website was created by an agency and has been recently handed over to me to manage. I am fairly ofay with CMS systems but have never used Process Wire and am finding it more of a hinderance at the moment. I'm sure it will become easier though. I will try and install Template Editor now and see if I can paste the coding in. Thanks so much Tara Link to comment Share on other sites More sharing options...
Peter Knight Posted January 28, 2015 Share Posted January 28, 2015 Tara - when you create Alex as a child page, can you actually see a list of other staff members? I have a feeling that individual staff members are created somewhere else within the tree. Possibly theres a different folder for Chairman Board Senior Mgmt I could be wrong but thats worth a look. Link to comment Share on other sites More sharing options...
Tara White Posted January 28, 2015 Author Share Posted January 28, 2015 Yes they are all listed as child pages from the "Our people" parent. I will have a look into what you have suggested and see if I can crack it this afternoon. If I'm still unsuccessful tomorrow I will would love to take you up on your offer of help. Thanks Tara Link to comment Share on other sites More sharing options...
Tara White Posted January 30, 2015 Author Share Posted January 30, 2015 Hi Peter, Just wanted to let you know I think the issue is the template that is outputting to the front end might not be the one I edited. My Process Wire permissions are very limited so I am now getting access to the FTP logins and going to look at it that way. Thanks so much for your help - it definitely pointed me in the right direction. Have a great weekend. Best Wishes Tara Link to comment Share on other sites More sharing options...
Peter Knight Posted January 30, 2015 Share Posted January 30, 2015 Hey - Glad you're getting there. Thanks so much for your help - it definitely pointed me in the right direction. No worries. The forums are full of helpful PW users. If you've any probs in the future, just shout. 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