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

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

NancyDru’s picture

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.

Summit’s picture

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

NancyDru’s picture

Views support is already there.

NancyDru’s picture

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.

Summit’s picture

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

NancyDru’s picture

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

Summit’s picture

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

NancyDru’s picture

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?

Summit’s picture

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

Summit’s picture

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

NancyDru’s picture

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.

NancyDru’s picture

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?"

dafeder’s picture

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.

baff’s picture

subscribe

NancyDru’s picture

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

baff’s picture

OK - thanks!

baff’s picture

Status: Postponed » Closed (won't fix)
NancyDru’s picture

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.

restyler’s picture

Status: Active » Needs review
FileSize
1.21 KB

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:

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.

rho_’s picture

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.

NancyDru’s picture

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.

patrickroma’s picture

So, what I made was:

Took taxonomy_image.txt and renamed it to taxonomy_image.inc. This file I put into ctools/plugins/content_types/taxonomy_image. I opened the file and changed all site_helper into taxonomy_image. I added the patch to Taxonomy Image 6.x-1.x-dev...

Now the taxonomy image is shown in the panels backend... but doesn't load in the taxonomy-term-page where it is enabled?

Any clues? Did I something wrong?

EDIT: What I am trying to do is to insert the taxonomy image pane into a taxonomy/term/%term panel override... so that dynamically the taxonomy image for the actual term listing is shown...