A list of variables that can be called

focusedphil

Joined: 2010-03-03
Posts: 5
Posted: Mon, 2010-03-08 18:26

Is there a list somewhere (searched in the documentation -no luck) on what variables can be called in a view?

I'm tweaking the "album.html.php" file, there will often be nested albums in this view, so the text from the <album description>field needs to be shown - 'tried $description but didn't seem to do anything.

thanks

 
hebhansen
hebhansen's picture

Joined: 2009-02-10
Posts: 573
Posted: Mon, 2010-03-08 19:44

Subscribe

all the best
HB - http://www.image.agentura.dk

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Mon, 2010-03-08 20:24

For future reference, you can just click on Subscribe post in the first post :)
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
rWatcher
rWatcher's picture

Joined: 2005-09-06
Posts: 722
Posted: Wed, 2010-03-10 06:46
focusedphil wrote:
Is there a list somewhere (searched in the documentation -no luck) on what variables can be called in a view?

I'm tweaking the "album.html.php" file, there will often be nested albums in this view, so the text from the <album description>field needs to be shown - 'tried $description but didn't seem to do anything.

thanks

The album description should be "$item->description". It's basically $item->COLUMNNAME where COLUMNNAME is the name of a field in the items table.