Is there a simple way to get the page title (<HEADER><TITLE>page title</TITLE></HEADER>) into a variable that can be used in PHP. By searching this forum I found a simple way to get the language code:
 global $g2_language;
 if (!$g2_language) {
   global $gallery;
   list ($ret, $languageCode) = $gallery->getActiveLanguageCode();
 else {
   $languageCode = $g2_language;
 }
So my main interest is to get the page title, but I am also interested in how to access all variables in php that are used in Gallery 2.3.1
Thanks in advance!
Posts: 8339
in smarty templates like theme.tpl it would be:
$this->_tpl_vars['theme']['item']['title']-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2
Posts: 2
Thank you very much suprsidr, this is what I was looking for!