Announcement

Collapse
No announcement yet.

Change logo to point to site homepage

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Trevor Hannant
    started a topic [Any Version] Change logo to point to site homepage

    Change logo to point to site homepage

    Note: This only applies to the 3.x series

    One reasonably common request for a simple change is to have the logo point to the site home page instead of the Forums home page. This is a simple change in the header template as follows.

    Find this code:

    Code:
    <a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" /></a>
    and replace it with this:

    Code:
    <a href="$vboptions[homeurl]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[hometitle]" /></a>
    Provided the url provided in AdminCP > vBulletin Options > Site Name / URL / Contact Details is correct, this will effect this change.

  • Trevor Hannant
    replied
    For 4.x, please make the following change:

    Find this code:

    Code:
    <a name="top" href="{vb:raw vboptions.forumhome}.php{vb:raw session.sessionurl_q}" class="logo-image"><img src="{vb:stylevar titleimage}" alt="{vb:rawphrase x_powered_by_vbulletin, {vb:raw vboptions.bbtitle}}" /></a>
    and replace it with this:

    Code:
    <a name="top" href="{vb:raw vboptions.homeurl}" class="logo-image"><img src="{vb:stylevar titleimage}" alt="INSERT REQUIRED TEXT" /></a>

    Leave a comment:

Related Topics

Collapse

Working...
X