OK, so here's an oversimplified example of how you'd display an album. Of course your HTML will vary depending on what you want, but this should give you an idea of how to translate that gibberish into something you want.
Code:
<div class="item">
[img]<?php echo $this->elements['album_cover']; ?>[/img]elements['album']; ?> by <?php echo $this->elements['artist']; ?>" />
<h1><?php echo $this->elements['artist']; ?></h1>
<h2><?php echo $this->elements['album']; ?></h2>
</item>
Comparing that example to the code you pasted, you can similarly grab other potentially useful stuff, like...
The "Artist" Label:
Code:
<?php echo $this->labels['artist']; // Will output "Artist" ?>
The CSS class assigned to the album cover:
Code:
<?php echo $this->classes['album_cover']; // Will output "image fileTree" ?>
Or even the article's title that the content element is in, if for some reason you'd want that:
Code:
<?php echo $this->articleTitle; // Will output "Homepage" ?>
Does that help at all? Let me know if you have any more questions. This is the kind of stuff I wish was out there and easily findable when I was starting out...
Bookmarks