Download & Extend

Add Taxonomy Image to Panels3! Term context like term description

Project:Taxonomy Image
Version:6.x-1.x-dev
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:needs review

Issue Summary

Hi,

I am using panels2 with great pleasure, and just found out how to add the term description to a taxonomy/term panel through term context. It is working fine and now the term description is shown on my altered term panel.

Would it be possible to also show the term image this way please?
Now I can only show the taxonomy image on the standard taxonomy/term pages and full node pages. I would love to be able to have the term image like the term description be available through the panels2 term context. This way a whole new layer of flexibility will be implemented!

Thanks a lot in advance for considering this request!

Greetings,
Martijn
www.wintersport-accommodaties.nl

Comments

#1

Status:active» postponed

Martijn, I do not have Panels, so I have no way implementing this. Nor do I have the time to learn Panels.

#2

Hi Nancy,

I understand. I have a panel with the name gebied-info (area info in english). See http://www.wintersport-accommodaties.nl/gebied-info/Zillertal+Arena
The term is Zillertal+Arena.
The term description is: Zillertal Arena skigebied in Oostenrijk

It would already be great to be able to have taxonomy_image to show as field in a view. Would that may be be possible?
Than I can plot the view-block on the panel, and I am ok then!

thanks a lot in advance for considering this Nancy!
Greetings,
Martijn

#3

Views support is already there.

#4

Status:postponed» closed (won't fix)

I may work on Panels support in 6.x, but, I am sorry, I'm not going to invest that effort for 5.x. If someone wishes to submit a patch, I will consider it.

#5

Version:5.x-1.x-dev» 6.x-1.x-dev

Hi Nancy,

I need to get www.wintersport-accommodaties.nl this year to D6, so D6 support would be sufficient.
Setting this to D6 then. Panels 6 will work completely different because of Chaos tools integration though, but to get taxonomy image as taxonomy description in panels 6 will be great!

Greetings,
Martijn

#6

Well, I've been asked to work on a new site where Panels may help, so I may have to learn it.

#7

Title:Add Taxonomy Image to Panels2 Term context like term description» Add Taxonomy Image to Panels3! Term context like term description
Status:closed (won't fix)» active

Hi Nancy,
Would be great for panels 3 (ctools/delegator) supporting taxonomy_image in taxonomytermid/termname context!
Greetings,
Martijn

#8

Status:active» postponed (maintainer needs more info)

The site I am working on is Panels 2 - I do not have any test sites with Panels 3. Why is it not working? Are there error messages?

#9

No error messages, but I seem not be able to get the taxonomy_image related to taxonomy context on a panel-pane. True?

I urge you NOT to proceed panels 2, because Earl has said that panels 2 will not be further developed. Panels 3 is the way to go!
It has a better user-interface already for adding panels-panes, and is more generic than panels2. And I had bugs with panels 2, which will not be easily resolved.
So its just an advice, but panels 2 development seems stopped!

Greetings,
Martijn

#10

HI Nancy, read here instruction of Earl himself about this: http://drupal.org/node/444728#comment-1518892
greetings,
Martijn

#11

Frankly, I think that's hogwash, but I will look into it.

As for going to Panels 3 on that site: Given that it is a 5.x site and very heavily used, it is unlikely that such an update will be considered soon.

#12

Status:postponed (maintainer needs more info)» postponed

The instructions are fine - as an overview. But I haven't the foggiest idea how to actually do something with them given that I do not use Panels as a developer. And I fail to see why Panels has a need to make a core feature so difficult. If a term is displayed, it should get overridden by TI period. Why on earth should a taxonomy term all of a sudden become a "content type?"

#13

He's not talking about CCK content types. In the panels interface, "content" is the tab where you add content areas to your panel. Modules need to provide content to panels to show up in the list of types of panels content.

This is very easy to do with things as they are, though, by creating a simple view with a panels pane display, that takes its argument from the panel.

#14

subscribe

#15

I still do not use Panels, and don't see that changing any time soon.

#16

OK - thanks!

#17

Status:postponed» closed (won't fix)

#18

Status:closed (won't fix)» active

Let's leave this open in case someone has a patch. Just because I don't use it doesn't there aren't others who do.

#19

Status:active» needs review

Here is the php code of the taxonomy image Panels 3 plugin, my module name which registers this plugin was 'site_helper',
so in 'site_helper.module' I have:

<?php
function site_helper_ctools_plugin_directory($module, $plugin) {
  if (
$module == 'ctools' && !empty($plugin)) {
    return
"plugins/$plugin";
  }
}
?>

and in /plugins/content_types folder (inside 'site_helper' module folder) put 'taxonomy_image.inc' - attached (don't forget to rename .txt to .inc).

taxonomy image module maintainer should replace all 'site_helper' entries to 'taxonomy_image', obviously.

AttachmentSize
taxonomy_image.txt 1.21 KB

#20

Thanks restyler, it works great!

Went ahead and made the necessary changes and rolled this into a patch for the 6.x-1.x-dev version of Taxonomy Image module.

AttachmentSize
taxonomy-image-panels-368541-20.patch 7.02 KB

#21

Thanks to both of you. I'm still not a big fan of Panels, but, thanks to my last gig, at least I know how to use it now.