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

How can I show both a logo and the title in my header?

0 votes
Since what is shown is determined by the long method qa_content_prepare in qa-page.php, I do not see a clean way to do that... except include my title in my logo which is what I might end up doing!
 

Anyhow, having both would be an interesting option I think.
asked Feb 4, 2011 in Q2A Core by anonymous

1 Answer

0 votes

It would probably be best to use an advanced theme. Override whichever function it is that displays the site header and add your logo in there.

answered Feb 8, 2011 by DisgruntledGoat
Yeah, I've already look into that. Here's the function that actually insert the logo (or tiltle depending on what was put into content):
function logo()
        {
            $this->output(
                '<DIV CLASS="qa-logo">',
                $this->content['logo'],
                '</DIV>'
            );
        }

What this table return depend on what was decided to be inserted by the admin. I guess I could just ignored the parameter and insert both in the logo() fucntion... but this feel a bit like a hack!