Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
0 votes
451 views
in Q2A Core by
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
by
any answer for this?Is it not possible?

Please log in or register to answer this question.

...