I've been playing around with the variables found at: Page Variables
I've found out that for example "groups", "index", does work for their respective pages (groups.php, index.php etc). For example at groups it has the following working variable:
PHP Code:
define('pagename', 'groups');
$main_smarty->assign('pagename', pagename);
But for page.php, where the variable is:
PHP Code:
define('pagename', 'page');
$main_smarty->assign('pagename', pagename);
I understand that variables would be connected to html1.php in /libs , and I've tried to replicate the variable for "index" to get it to work for "page" but I can't get it to work.
So now finally here is my question, how would I modify html1.php to create a variable that could be used for page.php to display the name of that specific page (for example "about pligg")?
Thanks very much for taking your time and helping me!
Best regards,
Jonas







Linear Mode




