Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
  • Register
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

Regarding the navigation links

0 votes
I would like to edit the navigation links

If for example

function nav_list($navigation, $navtype)
        {
            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>');
            }

I am using this so that the navigation area doesnt get displayed on the page

Now the functionality which i need is that

when

$this->template != 'questions'



I just want  "Questions " and "Tags" navigation to be present.I want to remove the "Admin" and "Users" tabs.

How can i do that.

Actually i am new to php hence i am not able to edit the code.


Thanks
asked Jul 23, 2010 in Q2A Core by bhargavay5
any answer for this?Is it not possible?

Please log in or register to answer this question.