Some things just can't be developed as a full-fledged module...
Sometimes a hard-coded argument is required (e.g., specify vocabulary for a view), sometimes the code just needs further development to create a nice, general-purpose module. In any case, these small "modulettes" are less than a full-fledged module, but more than simply a snippet. They all perform some custom theming, often for a summary view of some sort.
This module creates a view of nodes by-category, to form a simple, 2-column directory.
Requires:
Options:
All code snippets, modules, and modulettes on this site are covered by GPL - see license.txt
The source code is attached below...
Full instructions for installing and using this module are included as comments in the source file.
Attachment | Size |
---|---|
directory_view.zip | 15.28 KB |
This module themes a views summary for a set of image galleries. The image galleries are defined with a view using an argument (usually Term or User). The summary view shows a thumbnail of the latest image from each gallery, the page title, last modified date, and number of images in the gallery. This is nearly identical to the gallery summary provided by the Image module's Image Gallery contrib module. This can be used to theme per-user gallery summaries or per-term gallery summaries. I can't think of (and haven't tested) other possibilities, but it should work with any argument type and any node type that defines at least one image where you want a nice looking summary.
Requires:
Options:
All code snippets, modules, and modulettes on this site are covered by GPL - see license.txt
The source code is attached below...
Full instructions for installing and using this module are included as comments in the source file.
Attachment | Size |
---|---|
summary_view_image_gallery.zip | 15.01 KB |
This module "automatically" replaces text titles with an "associated:" image, if a suitable replacement can be found. It simply converts the title into a filename and looks for that file - if it finds it, it formats the image tag to replace the title.
Requires:
All code snippets, modules, and modulettes on this site are covered by GPL - see license.txt
The source code is attached below...
Full instructions for installing and using this module are included as comments in the source file.
Attachment | Size |
---|---|
replace_title.zip | 13.35 KB |
This very tiny module creates a "mock menu" from a views summary - a menu item is created for each query, or potential argument value, in the views summary. This is handy for providing a menu that links to the various pages provided when a view has an argument.
All code snippets, modules, and modulettes on this site are covered by GPL - see license.txt
The source code is attached below...
Full instructions for installing and using this module are included as comments in the source file.
Attachment | Size |
---|---|
summary_view_mock_menu.zip | 13.03 KB |
This module creates a "mock menu" from a vocabulary, with links to the terms at a given base-path. This is very handy for providing a menu that links to a view with a Taxonomy:Term ID argument.
Requires:
Options:
All code snippets, modules, and modulettes on this site are covered by GPL - see license.txt
The source code is attached below...
Full instructions for installing and using this module are included as comments in the source file.
Attachment | Size |
---|---|
category_mock_menu.zip | 13.95 KB |