1
I have custom block on the top page and in there is a href link to a php page. I need the XOOPS username of the person clicking the link to be sent as part of the link URL. Everytime I try and include the <{$xoops_uname}> tag in the URL, it actually sends the tag rather than using the variable that the tag relates to. how could i get around this? I am using xoops's block builder to create this block.
Also;
If i wanted to access the XOOPS username variable from outside of a XOOPS module (i.e. the page that the above link relates to) then what files and code would i need to include and how would i access this variable?
Basically, the link gets the browser to display a php page in the main section of the whole page so that it is nicely wrapped by the theme etc. This page is not part of any module that is installed, its just lives in its own folder on the root directory of the site. The problem i'm having is that I need that page to know the username of the person who is veiwing it. How can i do that?
I know a reasonable amount of php but integrating it with XOOPS is a nightmare for me at the moment. Im desperate coz I have to get this page working by friday and i need to get this problem solved before then.
Cheers
Rob