Disable Taxonomy Image by list and Pagination
sparq-l - October 30, 2008 - 22:12
| Project: | Taxonomy List |
| Version: | 5.x-1.4 |
| Component: | Theming |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
Description
Hello,
I am trying to figure out if there is any way to do either (ideally both) of the following.
1) I am using Taxonomy Image. Is there any way for me to have term images not display on specific taxonomy lists? It seems that if I have taxonomy image enabled and a term has an associated image, that image will always display on taxonomy list. Ideally I could have certain lists that have images, and other that do not.
2) Is there any way to enable pagination with taxonomy list? On one of my lists, I already have over 100 terms, all with images. If this keeps growing the page will get pretty heavy.
Thanks much.

#1
This should be two separate issues, but both are reasonable requests.
1) Not at the moment but I can see where this might be useful. I'd have to think on this for a while to figure out how best to do it.
2) No, this is not available at the moment either. I have thought about it; the big issue is how to split a term that has children. I'm open to suggestions.
#2
Hi Nancy, I suppose you're right I should have made this 2 topics. Anyhow, as for a few ideas... I don't know the ins and outs of writing a real module like you do, so take my suggestions with a grain of salt.
1) Are you familiar with Vocab Index? http://drupal.org/project/vocabindex
I could almost see you having some sort of page like the have when you configure the path for any given vocab index page. Only in this case, you have a simple on/off for images. Perhaps a setting to select an imagecache preset as well?
2) You raise a good point that I had not thought of. Perhaps this goes back to the "config" type page I previously described. Some sort of per-path config options. I have no idea at the complexity involved but perhaps the module works as it currently does for all paths, but works differently for those the admin has specified?
I understand all of this is probably a bit of work, I'm not sure how I could help but let me know if you need anyone to bounce ideas off of.
I know you guys sometimes like to see your modules in the wild, so if you want to take a look at what I'm doing with tax-list feel free to take a look. http://suitupscene.com the "Actors" and "Items" navigation choices are thanks to your module :)
#3
1) I never could get vocabindex to work for me. The documentation was non-existent at the time. The owner of that module had no interest in merging the modules. But I was thinking along the same lines.
2) I have tried to sketch out a design for this (which, BTW, will be easier with V2 that I am working on). The possibility of child terms really messes with any design I can come up with. For example, if you want 20 terms per page and term #19 is a parent term with 30 children, where do you break page 1? And then page 2? If we allow parents to break, do we repeat the parent term on subsequent pages, making them a bit longer?
I love the site. May I mention it on the project page?
#4
I think if you had to do a break, it would be OK to repeat the parent term on the following page then list the remaining children. That seems to make sense to me.
And you're welcome to list my site on the project page, if for nothing else than showing people what you can do with Taxonomy List and some creative CSS.
#5
Okay. You are now showcased.
If I can figure this out, it will only be in Version 2 of the module, which I am still working on in the 6.x version.