GetSimple Support Forum
A problem with return_page_slug() function - Printable Version

+- GetSimple Support Forum (http://get-simple.info/forums)
+-- Forum: GetSimple (http://get-simple.info/forums/forumdisplay.php?fid=3)
+--- Forum: Developer Discussions (http://get-simple.info/forums/forumdisplay.php?fid=8)
+--- Thread: A problem with return_page_slug() function (/showthread.php?tid=1557)



A problem with return_page_slug() function - Alessio_roma - 2011-04-12

as a title,i have a problem with return_page_slug() function during a plugin development.When i use return_page_title(); on a session variable,for example:

$_SESSION['name']=return_page_title();

it works correctly because if i print this variable from another php file it appear

when i do:

$_SESSION['name']=return_page_slug();

it doesn't work because if i print this variable from another php file it doesn't appear but on the same php file it appear.

it's a strange problem,anybody can help me?


A problem with return_page_slug() function - Alessio_roma - 2011-04-12

I solved the problem by myself.


A problem with return_page_slug() function - zom - 2011-04-16

$_SESSION['name']= "' . return_page_title(FALSE); .'"