Display albums using PHP
itdcole - August 7, 2008 - 15:25
| Project: | Gallerix |
| Version: | 5.x-1.3-1 |
| Component: | Code |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
Description
How would I show the albums created by everyone by using PHP?
I can get the different variables, but only in the variable table. How would I echo/print the variable type "album"?
For ex.
<?php
print variable_get("site_slogan","")
?>Prints the site slogan in a Block.
How would I display the albums and link them within a block?

#1
Try using views; it's designed to do exactly what you want.
Silvio