Closed (fixed)
Project:
Taxonomy Image
Version:
6.x-1.x-dev
Component:
Contrib Node Display
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
9 Mar 2009 at 09:34 UTC
Updated:
31 Mar 2009 at 16:20 UTC
Jump to comment: Most recent file
Comments
Comment #1
nancydruYou cannot set your own issue to RTBC - that requires at least one other reviewer/tester.
I will check it out.
Comment #2
nancydruHow does this work better than
Comment #3
thepanz commentedFirst of all: sorry for my RTBC issue status.
Using "Node Display" I didn't found any "#block-taxonomy_image-0" ID inside rendered HTML in my nodes.
Some disadvantages of IDs:
- Having a unique ID is difficult to select "all" taxonomy-images for theming using CSS
- TI have to create unique ID for each node taxonomy-images (think about a list of nodes inside a View and valid HTML issues)
maybe using #prefix and #suffix form elements isn't the cleanest way to resolve this issue.. but I didn't find any other (better) solution :)
Regards
Comment #4
nancydru"#block-taxonomy_image-0" is what is generated for the block itself and applies only to that block. TI already does have an option to generate a wrapper (I don't recall if I have it turned off inside that block) for all images by default. I'm just trying to figure out if there is a way to do what you want that's already in TI.
Comment #5
thepanz commentedUsing Node-Display no HTML is outputted for images, only a "\n" separated list of IMG tags is printed inside the content.
Maybe a better solution is to provide an overridable theme() function also for "Node Display" sub-module.
Regards
Comment #6
nancydruI think maybe you inadvertently have a very old version of that module. The "taxonomy_image_node_display.module" should live within a directory called "taxonomy_image_node_display", which should be under "contributed", which should be under "taxonomy_image." If it is still in the main module directory it is an old version and should be deleted. You may have to disable and re-enable it.
Path within your module folder: taxonomy_image/contributed/taxonomy_image_node_display/taxonomy_image_node_display.module
Comment #7
thepanz commentedI'm using latest -dev version.
Maybe you looked at the the patch file that doesn't have any path displayed before module name.
I've created the patch using TortoiseCVS under Windows.
Comment #8
nancydruI can do this with the code that's already there:
Your patch will give you nothing over this, AFAICT.
I am committing a change to change
taxonomy_image_linkstotaxonomy-image-links.Comment #9
thepanz commentedI found why we don't have the same HTML code!
I'm displaying only images while you've enabled "Link displayed Taxonomy Image to taxonomy/term/n page", (correct me if I'm wrong).
Try to display only images :)
With my "added DIV" I manage to place all images (and images with link) in a the top-left side of my node content (using floats). Using only link class (as you suggested) this couldn't be possible.
Regards
Comment #10
nancydruCommitted to 6.x only. It is not a setting though. If you do not link to the term page, you will get the wrapper. Thank you for the patch.
Please let me know what you think after you test it; I am just about ready to produce a new release.
Comment #11
thepanz commentedHi, I updated my -dev version with your latest commit.
My 2 cents:
- the DIV would be useful also for linked images (same reason as before, fine theming can be done also on single link class)
- the DIV should be themable/overridable... maybe using the theme() hook
Comment #12
thepanz commentedAdded themable function for TI images.
This can be used to theme images inside a list, etc
Comment #13
nancydruCommitted.
Comment #14
thepanz commentedHi, thank you for committing my patches. Hope my posts didn't stress you too much! :)
Regards.
Comment #15
nancydruDoing patches is a lot less stressful (other than typing really long Windows path names). Thanks.