how to have a page showing the avatar gallery?
enky - January 29, 2007 - 16:11
| Project: | Avatar gallery |
| Version: | 5.x-1.x-dev |
| Component: | Code |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | by design |
Jump to:
Description
hi,
currently, avatar gallery is shown in a block, how can i show the avatars in a page?
thanks,
enky

#1
I asked myself the same question.
I found a way which is not very professional but which works :
. Create a regular page node
. Don't write anything in body
. Display the block in the content
. Configure the Avatar gallery content
. In "Show block on specific pages:" select "Show on only the listed pages."
. And write down node/X replacing X by the number of the node page you just created
Matthieu.
This way you have a page
#2
Alternatively, write the following PHP code in the content area of some page (and set the input type to PHP)
<?php$block = module_invoke('avatar_gallery', 'block', 'view', '0');
print "<div class=\"content\">".$block['content']."</div>";
?>
#3
I changed the Status to 'by design'. Any comments on that? Is it the right thing for me to do? It's my first walk on the issues-path... (how exciting!)