Welcome to the Question2Answer Q&A. There's also a
demo
if you just want to try it out.
Login
Login
Register
All Activity
Questions
Hot!
Unanswered
Tags
Users
Ask a Question
About
Wiki
Welcome to the Q&A for
Question2Answer
.
If you have questions about the platform,
click here to ask
and please use English.
If you just want to try Q2A, please use the
demo
, which also grants admin access.
Apr 29:
Q2A 1.5.2
Related questions
How do I remove the link "Ask a question" from the navigation?
Hi, how i can put question field / form (now at domain.tld/ask) to the first page up all questions?
How to add the total number of questions, answers, comments and users in the side panel?
Can i add the ask question form at the homepage before recent questions
how to restrict new tags creation and force the users to use pre-defined tags for raising the question
How to add a link : Ask another question only on the question site where users are directed after entering a question ?
How to remove the registration? I want users to login just with the name
how i can verify people's question before posting in main page ?(to prevent people to ask bad questions)
How Can I Put Ask A Question On Home-Page, While Having Recently Asked Questions Under It?
How Can I remove questions without an Answer from the index page?
All categories
Q2A Core
(3,252)
Plugins
(356)
How will i remove the Questions/Unasnwered/Tags/Users/Ask Question Panel
0
votes
Hi,
My requirement is that i need to remove the Questions/Unasnwered/Tags/Users/Ask Question Pane from the page when user needs to type a question.
Also i need to remove the MyAcoount ,Logout links which are on the top along with the search box.
Can somebody please let me know which file i need to modify as i have no experience workign on php
Thanks
asked
Jul 16, 2010
in
Q2A Core
by
bhargavay5
Please
log in
or
register
to add a comment.
Please
log in
or
register
to answer this question.
1 Answer
+2
votes
You should be able to do this with an advanced theme:
http://www.question2answer.org/advanced.php
In your qa-theme.php file, look for the function "nav_list". The contents currently look like this:
$this->output('<ul class="qa-nav-'.$navtype.'-list">');
foreach ($navigation as $key => $navlink)
$this->nav_item($key, $navlink, $navtype);
$this->output('</ul>');
Replace it with this:
if ( $this->template != 'ask' )
{
$this->output('<ul class="qa-nav-'.$navtype.'-list">');
foreach ($navigation as $key => $navlink)
$this->nav_item($key, $navlink, $navtype);
$this->output('</ul>');
}
answered
Jul 18, 2010
by
DisgruntledGoat
Thank you very much!!! it worked !!!
Please
log in
or
register
to add a comment.