Current album page url

starfield

Joined: 2008-02-28
Posts: 2
Posted: Wed, 2011-08-03 07:25

(I am new to php and smarty, thanks for all the help)

How can I get the page url for the current album? I saw another post using core.ShowItem but that uses generates an url with the main.php and item id. I am trying to use code in album.tpl to get the current album url
if the current page is http://server/v/album1/album2 I want to get "/v/album1/album2"

{g->url params=$theme.pageUrl} gives the current url but followed by the "?". Is there a way to get just the current page url

thanks