Recently Browsing 0 members
No registered users viewing this page.
I have been making use of the ProcessPageLister::addSessionBookmark() method to create drill-downs of financial data in a table - so that the user can see the pages comprising the amount in the table cell. This works really well and has been well-received by the client. However, I soon ran into a problem in that the method sets $maxBookmarks = 30; hard-coded just like that. I changed the code to $maxBookmarks = 400; and haven't noticed any ill-effects so far, so some questions arise:
Why is it hard-coded rather than modifiable? If the answer to (1) is because too many bookmarks cause a problem, what is the problem? If there is no particular problem with more than 30 bookmarks, is there any other practical limit? Clearly changing the code in my copy of PW is not a good idea as it will get over-written at the next update. Is there a way of dealing with this until (if ever) the variable can be modified through the API?
By Robin S
Inputfield Selector Select ID
Uses the Page List Select inputfield for user-friendly input of page IDs into Inputfield Selector.
This module adds a feature to Inputfield Selector, which is most commonly seen in Lister (Find) and Lister Pro.
When adding a filter row for "Parent", "Has parent/ancestor" or "ID" the user is expected to enter a page ID to match against. But this is not as user-friendly as it could be because the user may be able to identify the desired page by its title or location in the tree but not know its ID. This is particularly the case for site editors who may not even understand the concept of a page ID.
So this module adds a thunderbolt icon to relevant rows in Inputfield Selector. When the icon is clicked a Page List Select inputfield opens in a modal window, allowing the user to visually select a page from the tree. When the modal is closed with "OK" the ID of the selected page is inserted into the filter row.
After a page selection has been made in the modal window the "OK" button will automatically receive focus so if you prefer you can close the modal by hitting the Enter key rather than mousing to the OK button.
Install the Inputfield Selector Select ID module.
I bookmarked a number of custom Listers (path: /admin/page/lister) and I have some doubts on how to use them.
In particular, I would like to link a custom Lister page in front-end content. I could make this by inserting a link within the body field (CKEditor) of a my page and using the URL of the Lister (e.g. /admin/page/lister/?bookmark=1514677991) so to render a linked text in the front-end.
My doubt: is the use of that URL the right way for linking text to a Lister?
I also would like to access the title data of the custom Lister in order to output the title as linked text in the front-end.
How can I do that (note: I am using the Hanna Code module for my body field)?
I have not found the relevant documentation that serves my case.
In a lister find, published column is showing a string as shown in attached screenshot.
Can we change the date format to yyyy-mm-dd or any other?
Hello everyone. I am trying to create a Lister like on the processwire demo page, where under the tab "Pages" you can directly go to "Skyscrapers". On all the tutorials I found on the internet Lister wasn't a core feature and you could create a new Lister on the module itself. Is it now a premium function under ListerPro or am I trying to do it the wrong way?