From: Krys D. <kr...@kd...> - 2009-02-27 19:22:12
|
Hi All. I've got a folderish custom content type whose contents I'd like to be able to browse through using next/previous navigation. The expected links, however, do not appear. I have put debugging statements in the actual code in plone/app/layout/nextprevious (in view.py, links.pt, and nextprevious.pt, to be specific). Here is what I (think I) know: 1. The problem is independent of my type's display template. The links don't appear using the standard plone displays either. Turning the viewlet on & off through use of @@manage-viewlets makes the debugging text in the page template disappear & reappear as expected in my custom template. 2. The code in view.py finds the next and previous objects to display and is aware of the fact that next/previous navigation is enabled. 3. The code in links.pt and nextprev.pt is not getting values for view/next or view/prev despite what the python code shows. 4. I've checked the list of interfaces provided by my content type against the list for a folder in portal_types (ZMI). I don't see a difference. 5. The links work as expected for the standard folders in my site. Does anyone have any ideas? TIA, Krys |