Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

How to get text on Blue bar at top of webpage??

Options
  • 12-01-2010 10:20pm
    #1
    Registered Users Posts: 278 ✭✭


    Hi All,

    I am looking for some help please. I want to put text/keywords on the blue bar at the top of my website pages e.g. on this site it's boards.ie - Post New Thread - etc.

    Any help would be much appreciated.

    Moggie


Comments

  • Registered Users Posts: 922 ✭✭✭IrishKnight


    Within the head section use the title tag.
    <html>
    <head>
    <title>Title of the webpage</title>
    </head>
    <body>
    .....
    


  • Closed Accounts Posts: 18,163 ✭✭✭✭Liam Byrne


    Within the head section use the title tag.
    <html>
    <head>
    <title>Title of the website</title>
    </head>
    <body>
    .....
    


    Small correction required to that
    <html>
    <head>
    <title>Title of the web[s]site[/s] [b]page[/b]</title>
    </head>
    <body>
    .....
    


  • Registered Users Posts: 278 ✭✭moggie4000


    Can't seem to get this right for some reason.

    Any thoughts?


  • Closed Accounts Posts: 7,145 ✭✭✭DonkeyStyle \o/


    moggie4000 wrote: »
    Can't seem to get this right for some reason.

    Any thoughts?
    No, it should just work.
    There isn't a lot more to say about it unless you want to post up your html.


  • Registered Users Posts: 278 ✭✭moggie4000


    <?php
    // no direct access
    defined( '_JEXEC' ) or die( 'Restricted access' );
    ?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt;
    <html xmlns="http://www.w3.org/1999/xhtml&quot; xml:lang="<?php echo $this->language; ?>" lang="<?php echo $this->language; ?>" >
    <head>
    <jdoc:include type="head" style="xhtml" />
    <link rel="stylesheet" href="templates/_system/css/general.css" type="text/css" />
    <link rel="stylesheet" href="<?php echo $this->baseurl; ?>/templates/<?php echo $this->template?>/css/template_css.css" type="text/css" />

    <link rel="alternate" title="<?php echo $mainframe->getCfg('sitename');?>" href="index2.php?option=com_rss&no_html=1" type="application/rss+xml" />
    <link rel="shortcut icon" href="http://www.pitchmaintenance.com/images/favicon.ico >
    </head>
    <body>
    <div class="content">
    <div id="top">
    <!--<h1><?php echo $mainframe->getCfg('sitename');?></h1>-->
    <div id="search">
    <jdoc:include type="modules" name="user4" style="xhtml" />
    </div>
    <div id="topmenu">
    <div class="padding">
    <jdoc:include type="modules" name="user3" style="xhtml" />
    </div>
    </div>
    </div>
    <div id="mid">
    <div id="intro"></div>
    <div id="center">
    <jdoc:include type="component" style="xhtml" />
    </div>
    <div id="sidebar">
    <jdoc:include type="modules" name="left" style="xhtml" /><BR />
    <table style="width: 100px; height: 96px;" border="0" cellpadding="4" align="left">
    <tbody>
    <tr>
    <td style="width: 50%;" align="center" valign="top"><a href="http://www.facebook.com/home.php?ref=home#/pages/Sports-Pitch-Maintenance/236117431136&quot; target="_blank" title="follow us on Facebook"><img src="images/facebook.png" border="0" alt="Follow us on Facebook" title="Follow us on Facebook" width="50" height="50" /></a></td>
    </tr>
    </tbody>
    </table>
    </div>
    <div style="clear: both;"></div>
    </div>
    <div id="bottom"></div>
    </div>
    <p align="center">© 2010. <!--Website by <a href="" target="_blank" title=""></a>--></p>
    <jdoc:include type="modules" name="debug" style="xhtml" />
    </body>

    Where do i type it in??


  • Advertisement
  • Closed Accounts Posts: 112 ✭✭lostprophetsie


    You're using Joomla if its for the site I had a look at the other day. Should be a way to add it from where you edit your pages, not completely familiar with Joomla but I'm pretty sure you don't need to go near the code to edit this.


  • Moderators, Category Moderators, Education Moderators Posts: 27,139 CMod ✭✭✭✭spurious


    moggie4000 wrote: »
    <?php
    <snip>

    <head>
    <jdoc:include type="head" style="xhtml" />
    <link rel="stylesheet" href="templates/_system/css/general.css" type="text/css" />
    <link rel="stylesheet" href="<?php echo $this->baseurl; ?>/templates/<?php echo $this->template?>/css/template_css.css" type="text/css" />

    <link rel="alternate" title="<?php echo $mainframe->getCfg('sitename');?>" href="index2.php?option=com_rss&no_html=1" type="application/rss+xml" />
    <link rel="shortcut icon" href="http://www.pitchmaintenance.com/images/favicon.ico >
    <title>blah de blah</title>
    </head>

    <snip>

    Where do i type it in??

    As indicated above.


  • Registered Users Posts: 278 ✭✭moggie4000


    Still saying the same when i put it in?


  • Registered Users Posts: 278 ✭✭moggie4000


    You're using Joomla if its for the site I had a look at the other day. Should be a way to add it from where you edit your pages, not completely familiar with Joomla but I'm pretty sure you don't need to go near the code to edit this.

    Yeah it's the same one.


  • Registered Users Posts: 278 ✭✭moggie4000


    I found it guys thanks for your help.

    Moggie


  • Advertisement
  • Moderators, Category Moderators, Education Moderators Posts: 27,139 CMod ✭✭✭✭spurious


    moggie4000 wrote: »
    Still saying the same when i put it in?

    Ok, put it in here.

    <head>
    <title>blah de blah</title>
    <jdoc:include type="head" style="xhtml" />
    <link rel="stylesheet" href="templates/_system/css/general.css" type="text/css" />
    <link rel="stylesheet" href="<?php echo $this->baseurl; ?>/templates/<?php echo $this->template?>/css/template_css.css" type="text/css" />

    <link rel="alternate" title="<?php echo $mainframe->getCfg('sitename');?>" href="index2.php?option=com_rss&no_html=1" type="application/rss+xml" />
    <link rel="shortcut icon" href="http://www.pitchmaintenance.com/images/favicon.ico >
    </head>

    That works for me when refreshed.

    **edit D'Oh!
    Glad you got it sorted.


  • Registered Users Posts: 28,789 ✭✭✭✭ScumLord


    If it's joomla it should generate the page title based on what on the page. You can also set the page title in the menu link settings.


Advertisement