Node lists in collapsed nodetype-fieldsets - and eventual feature requests if commited..!
| Project: | Taxonomy Quick Find |
| Version: | 5.x-1.0 |
| Component: | User interface |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | needs review |
| Issue tags: | Aix, developer, development, développement, développeur, emploi, France, hiring, Job Offer, Job Posting, Marseille, PACA |
Jump to:
Node lists in collapsed nodetype-fieldsets - and eventual feature requests if commited..!
The module attached provides the lists of nodes within core collapsed fieldsets theming of the nodetype labels.
This development has been done against the version 5.x-1.0 of the module already modified by #244393: Display nodetype "name" (human name for nodetype) instead of the nodetype "type" (machine name for nodetype) bug patch.
It's been made by a humble newbie... it's aiming at providing a full overview of the nodetype selected for term-related content before exposing a long list of them (more than 50 in my case, I know that might be a performance issue) which would have discouraged browsing down the page to discover the other types of related content.
The result is still a bit buggy cause opened fielsets remain opened when a new term has been selected...
I found out that (for performance reasons I guess), the nodetype labels were not reloaded when choosing a new term, causing the issue above. I wish I could have them reloaded in order to assign them dynamic classes, since I could then:
- either hide them when there's no related content (then should be considered the case when there's no content at all for the first term).
- or display them without "No item found" listed underneath but written such as "No item for [nodetypename]" standalone labels.
In case someone gets interested by the idea, and could develop furthermore this way (which could as well be a display option shipped with the module):
The best result I could imagine would be a teasing "5 first nodes listed" for each nodetype (5 being an arbitrary number which could be chosen by admins in TQF_blocks setting pages) with a "see more" javascript link to fully open the fieldset. A bit the way "Spotlight" (MacOS X's search engine) does it...
The text of the link would be customisable in admin pages.
| Attachment | Size |
|---|---|
| taxonomy_quick_find.module.fieldsets.txt | 17.56 KB |

#1
Making this feature stable can now be sponsored, please make us an offer through my contact page or doc2@drupalfr.org.
Packed development with the task "#390454: Only list nodes that users can view - respect access module grants" would be greatly appreciated.
Must be taken care of the Bug reports #244393: Display nodetype "name" (human name for nodetype) instead of the nodetype "type" (machine name for nodetype) anyways and eventually #407868: JS does not work if the site is in a subfolder.
Sitewide groups.drupal.org tags: Aix · context · developer · development · développement · développeur · emploi · france · hiring · job offer · job posting · Marseille · PACA · Paid Drupal Services · paid services · related content module · similar · Taxonomy Quick Find · terms