Port avatar_gallery to Drupal 6
nbz - May 22, 2008 - 19:31
| Project: | Avatar gallery |
| Version: | 5.x-1.x-dev |
| Component: | Code |
| Category: | task |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | needs review |
Description
Just ran this through coder.module, but the end result crashes. problem seems that menu_get_menu function does not exist in Drupal 6, but there is no documentation I can find to get around that.

#1
and here is my not working patch
#2
#3
subscribe
#4
Looking at the avatar_gallery.module file in the CVS repository, I see that avatar_gallery_block() puts menu_get_menu()'s return value into the $menu variable. But as I see it, it does not use it any further, so it might be omitted. Please try this.
Also, take a look at the menu_tree*() 6.x functions.
#5
Subscribe
#6
any zip dumps please?
#7
Just incase people are still interested -this half works, but the resulting image is way too large.
#8
subscribe
--
www.shuoduo.com.cn
#9
The patch actually works - you just need to make sure you have decent settings set for it not to overtake the whole page.
#10
subscribing