1
leebrendalee
adding name to header??

Does anyone know how to add my site name to the header or the top of the page..as in XOOPS at the top of this page.....or instructions on how to make,.,thanks in advance..

2
OldFriend
Re: adding name to header??
  • 2006/2/4 4:57

  • OldFriend

  • Just popping in

  • Posts: 99

  • Since: 2005/10/28


In your theme there should be title tags that look like this:
<title>....some stuf here....</title>

To have your site's name in there then change the tags to this:
<title><{$xoops_sitename}></title>

To make your site more google friendly you should change it to look like this:
<title><{$xoops_pagetitle}> - <{$xoops_sitename}></title>

PS: Also make sure that the site name has been set in your Admin »» Preferences Main »» General Settings

3
leebrendalee
Re: adding name to header??

I'm probably in the wrong section for this...

Ok, I changed the area..but nothing changed on the site..is there something else I'm not doing?


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<{$xoops_langcode}>" lang="<{$xoops_langcode}>">
<head>
<meta http-equiv="content-type" content="text/html; charset=<{$xoops_charset}>" />
<meta http-equiv="content-language" content="<{$xoops_langcode}>" />
<meta name="robots" content="<{$xoops_meta_robots}>" />
<meta name="keywords" content="<{$xoops_meta_keywords}>" />
<meta name="description" content="<{$xoops_meta_description}>" />
<meta name="rating" content="<{$xoops_meta_rating}>" />
<meta name="author" content="<{$xoops_meta_author}>" />
<meta name="copyright" content="<{$xoops_meta_copyright}>" />
<meta name="generator" content="XOOPS" />
<title><{$xoops_WPS2WIN.COM}> - <{$xoops_WPS2WIN.COM}></title>
<link href="<{$xoops_url}>/favicon.ico" rel="SHORTCUT ICON" />
<link rel="stylesheet" type="text/css" media="all" href="<{$xoops_url}>/xoops.css" />
<link rel="stylesheet" type="text/css" media="all" href="<{$xoops_themecss}>" />
<script type="text/javascript">
<!--
<{$xoops_js}>
//-->
</script>
</head>
<body>
<table cellspacing="0" id="top">
<tr><td class="slogan" colspan="2"><{$xoops_slogan}></td></tr>
<tr id="header">
<td id="headerlogo"><a href="<{$xoops_url}>/"><img src="<{$xoops_imageurl}>logo.gif" alt="" /></a></td>
<td id="headerbanner"><{$xoops_banner}></td>
</tr>
<tr>
<td class="slogan">
<{if $xoops_isuser}>
Welcome, <a href="<{$xoops_url}>/user.php"><{$xoops_uname}></a> to WPS2WIN.COM
<{else}>
<a href="<{$xoops_url}>/register.php">Become a member</a> WPS2WIN.COM, right now!
<{/if}>
</td>
<td class="slogan">&nbsp;</td>
</tr>
</table>
<table cellspacing="0">
<tr>
<td id="leftcolumn">

<!-- Start left blocks loop -->
<{foreach item=block from=$xoops_lblocks}>
<{include file="karate_redux/theme_blockleft.html"}>
<{/foreach}>
<!-- End left blocks loop -->

</td>

<td id="centercolumn">

<!-- Display center blocks if any -->
<{if $xoops_showcblock == 1}>

<table cellspacing="0">
<tr>
<td id="centerCcolumn" colspan="2">

<!-- Start center-center blocks loop -->
<{foreach item=block from=$xoops_ccblocks}>
<{include file="karate_redux/theme_blockcenter_c.html"}>
<{/foreach}>
<!-- End center-center blocks loop -->

</td>
</tr>
<tr>
<td id="centerLcolumn">

<!-- Start center-left blocks loop -->
<{foreach item=block from=$xoops_clblocks}>
<{include file="karate_redux/theme_blockcenter_l.html"}>
<{/foreach}>
<!-- End center-left blocks loop -->

</td><td id="centerRcolumn">

<!-- Start center-right blocks loop -->
<{foreach item=block from=$xoops_crblocks}>
<{include file="karate_redux/theme_blockcenter_r.html"}>
<{/foreach}>
<!-- End center-right blocks loop -->

</td>
</tr>
</table>

<{/if}>
<!-- End display center blocks -->

<div id="content"><{$xoops_contents}></div>
</td>

<{if $xoops_showrblock == 1}>

<td id="rightcolumn">
<!-- Start right blocks loop -->
<{foreach item=block from=$xoops_rblocks}>
<{include file="karate_redux/theme_blockright.html"}>
<{/foreach}>
<!-- End right blocks loop -->
</td>

<{/if}>

</tr>
</table>

<div id="footer"><{$xoops_footer}></div>
</body>

4
gestroud
Re: adding name to header??
  • 2006/2/4 5:34

  • gestroud

  • Home away from home

  • Posts: 1538

  • Since: 2004/12/22


Shouldn't the title tags read:

<title><{$xoops_pagetitle}> - <{$xoops_sitename}></title>

5
gestroud
Re: adding name to header??
  • 2006/2/4 5:40

  • gestroud

  • Home away from home

  • Posts: 1538

  • Since: 2004/12/22


You should probably also change the description and keyword tags to read

<meta name="keywords" content="<{$xoops_pagetitle}> - <{$xoops_meta_keywords}>" />

and

<meta name="description" content="<{$xoops_pagetitle}> - <{$xoops_meta_description}>" />

6
leebrendalee
Re: adding name to header??

ok I've changed this line back to what it was before:

<title><{$xoops_pagetitle}> - <{$xoops_sitename}></title>

but How do I get the name up there..beside the picture.

http://www.wps2win.com

It's wierd cause it also says Welcome, admin to Ack!soft,

and I changed from ack!soft to wps2win as in the code ...wierd eh.not changing..

7
gestroud
Re: adding name to header??
  • 2006/2/4 7:18

  • gestroud

  • Home away from home

  • Posts: 1538

  • Since: 2004/12/22


Open your theme in a text editor and change all instances of WPS2WIN.COM to <{$xoops_sitename}>. That should fix it.

8
SpecialK
Re: adding name to header??
  • 2010/1/18 18:44

  • SpecialK

  • Just popping in

  • Posts: 8

  • Since: 2005/10/9


I am also having trouble remove Ack!soft from the welcome line. How did those who tried finally acommplish this? I tried the suggestions above.

Sk

9
sailjapan
Re: adding name to header??

What's the "Welcome line"? Do you mean "slogan"?

10
SpecialK
Re: adding name to header??
  • 2010/1/28 4:12

  • SpecialK

  • Just popping in

  • Posts: 8

  • Since: 2005/10/9


The one with "Ack!soft" in it... tks

SK

Login

Who's Online

237 user(s) are online (180 user(s) are browsing Support Forums)


Members: 0


Guests: 237


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits