I was hoping to see the term description when viewing a term page (taxonomy_grid/1), the same way when you view the term page with core taxonomy (taxonomy/term).

Any suggestion?

Comments

tahiticlic’s picture

That's a good idea as I've completely forgotten to use the terms descriptions.

Next realease will embed this functionnality.

halloffame’s picture

Ok thanks dude. Looking forward.

But I kinda need it as soon as possible. You up for a bounty to help me with a code that can do this?

I know I could just manipulate the taxonomy description by printing $term->description; somewhere. I need the entire function to do this. I'm a PHP newbie and I suck at it.

Then I'll roll up a patch myself for the dev version.

halloffame’s picture

Hi there. When can I expect this feature? Thanks.

halloffame’s picture

Any luck yet? (after 3 months)

tahiticlic’s picture

There's a function theme_taxonomy_grid_show_children that you can override, you can also override top level term rendering using theme_taxonomy_grid_title_link

halloffame’s picture

I tried playing with it but no luck at all.

This is my taxonomy:
Vocabulary 1:
Parent Term 1
- Child Term 1
--- Sub-child Term 1
Parent Term 2
- Child Term 2
--- Sub-child Term 2

The closest thing I can get is...
Output: (Viewing children of Parent Term 1)

Child Term 1
(Description here)
---------------------
-------IMAGE--------
---------------------

Child Term 2
(Description here)
---------------------
-------IMAGE--------
--------------------

Output: (Viewing Sub-children Term)

Sub-child Term 1
(Description here)
---------------------
-------IMAGE--------
---------------------

I cannot do it any other way.

This is what I want exactly...

Viewing A parent term (regardless its depth)

Description of the parent term goes here...

     Child Term 1          
---------------------        
-------IMAGE--------        
---------------------       

    Child Term 2
---------------------
-------IMAGE--------
---------------------
halloffame’s picture

I'm such a noob. I can't still figure it out and I'm going nuts. LOL. Anything yet?

tahiticlic’s picture

Well, you have themeable functions, that's what modules can offer more... We can't particularize a rendering only for a single user.
BUT with theme, you can render this as you want... Have a look here : http://drupal.org/theme-guide/6-7

And if you're a php noob, you can also post a project here : http://drupal.org/paid-services

halloffame’s picture

Thanks for that advice... but one last thing...

Is it possible to do something like this on the taxonomy_grid page template?

<?php $current = taxonomy_get_term(arg(2)); ?>
<?php if ($current): ?>
    <div class="taxonomy-description">
        <?php echo $current->description; ?>
    </div>
<?php endif; ?> 

It works on taxonomy page template but I can't get it to work on that particular template provided by this module.