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.
| Comment | File | Size | Author |
|---|---|---|---|
| #7 | avatar_gallery.patch | 4.15 KB | naheemsays |
| #1 | avatar_gallery_drupal6.patch | 3.72 KB | naheemsays |
Comments
Comment #1
naheemsays commentedand here is my not working patch
Comment #2
naheemsays commentedComment #3
flickerfly commentedsubscribe
Comment #4
csko commentedLooking 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.
Comment #5
Zarevac commentedSubscribe
Comment #6
kenorb commentedany zip dumps please?
Comment #7
naheemsays commentedJust incase people are still interested -this half works, but the resulting image is way too large.
Comment #8
lpt6 commentedsubscribe
--
www.shuoduo.com.cn
Comment #9
naheemsays commentedThe patch actually works - you just need to make sure you have decent settings set for it not to overtake the whole page.
Comment #10
brianbrown commentedsubscribing
Comment #11
kenorb commentedDrupal 5 and Drupal 6 is no longer officially supported. If you think this issue is still relevant for 8.x, feel free to re-open.