Description : how to determine on which page the user is in q2a ? -question2answer
Last Answer : The best way for this is to use request() Example : if (qa_request() === 'login') { echo 'This is the login page'; } else { echo 'This is not the login page'; } or if (qa_request() = ... 'This is the accountpage'; } else { echo 'This is not the account page'; } This will work ...
Description : how to get base url in q2a ? -question2answer
Last Answer : qa_path_to_root(); This function can be used to get the root url of the q2a site