Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+1 vote
904 views
in Q2A Core by
Hi, I want to add a page called CustomPage..

Values should be padded to this page via get method like "?name=Name1".
And value of parameter "name" should be displayed in CustomPage..
using echo $_GET['name'];

How to achieve this, in "beta 1.2" version?

Thank you.. :)
by
Thx R. I agree very much!!

1 Answer

+1 vote
by
 
Best answer
I'm afraid this sounds like another job for advanced themes - you can output whatever you want for a custom page by overriding the main() function and checking based on $this->request if it's your special page. If so, do whatever you want in PHP, otherwise call qa_html_theme_base::main() to let Q2A do its usual thing.
by
edited by
Hi Gidgreen... Perfect..
I used it in my site user profile page to show user's website within site..

Thank you for your hint, it works!
asked Jul 31, 2010 in Q2A Core by
edited Jul 31, 2010 by
404 problem with custom page
...