Luke Solar Posted March 25, 2013 Share Posted March 25, 2013 Hello! I have pages of "companies", each company can have multiple addresses and multiple projects. I add them as sub-pages. To distinguish them I would like to preceed them in the List with "Address: " and "Project: " - in order to better distinguish them. Is it possible? At the moment I just use "template" to output the template name but would be nicer for the client to customize it further. Anyone knows how? Something like: Audi - Address: Somestreet. 99, 12053 City - Address: Another street 99, 12053 City - Address: Yetanotherstreet. 99, 12053 City - Project: XY 2011 - Project: TT 2013 you get the idea I guess. How do you handle pages/entities with multiple different subpages of different types? I didnt want to use repeaters as its a little bit annoying when you have a lot of items. and the documentation says they are not "infinitly scalable"... thx for suggestions, good process! Link to comment Share on other sites More sharing options...
diogo Posted March 25, 2013 Share Posted March 25, 2013 You can define this on the template settings. Go to the advanced tab on the template page, and on the bottom you have "List of fields to display in the admin Page List". For finer control try @adamspruijt's module Page List Better Label Link to comment Share on other sites More sharing options...
Luke Solar Posted March 26, 2013 Author Share Posted March 26, 2013 Great module! Exactly what I was looking for. Thanks a lot. Link to comment Share on other sites More sharing options...
Soma Posted March 26, 2013 Share Posted March 26, 2013 Maybe this is even better http://modules.processwire.com/modules/template-decorator/ 1 Link to comment Share on other sites More sharing options...
ryan Posted March 27, 2013 Share Posted March 27, 2013 Yet another option would be FieldtypeConcat, where you can combine the output of multiple fields into one, and then use that field as your page list label. 2 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