Soma Posted September 6, 2013 Posted September 6, 2013 Page List Show Page IdModule prepends page ID in the page list tree labels. Only visible for superusers. https://github.com/somatonic/PageListShowPageId And soon on modules repository http://modules.processwire.com/modules/page-list-show-page-id/ You could also show the page ID or any other field using the template advanced setting for the page tree label. But maybe this is just easier as it doesn't matter what template/pages. 5
Martijn Geerts Posted September 6, 2013 Posted September 6, 2013 interesting, Busy with "another" PageList Label module to. - it's using font-awesome - extra markup is created by jquery / js ( so should be compatible with other PageList Label modules ) - some, additions to the existing js ( correct open pages id's in the array after clicked folder page [ config.ProcessPageList.openPageIDs ] ) 3
kongondo Posted September 6, 2013 Posted September 6, 2013 Nice one Soma! I reckon you got "tired" of answering questions on the forum on how to find out what the ID of a page is 3
Robin S Posted March 11, 2017 Posted March 11, 2017 I use a slightly customised version of this useful module and found that the page list additions weren't looking so good in the new Tree dropdown menus, and they aren't needed there anyway. Solution was an early return if the 'noTags' option is set... public function addPageIdLabel($event){ $page = $event->arguments('page'); $options = $event->arguments('options'); if(!empty($options['noTags'])) return; // return if this label is for the Tree dropdown menus $event->return .= " <span class='helper-info'>($page->id, $page->template)</span> "; } 1
Juergen Posted March 11, 2017 Posted March 11, 2017 Or you can use AdminOnSteroids which has this function integrated. 1
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