Forum Index >  glFusion >  Theme Support New Topic Post Reply
 re - Welcome and date text below horizontal menu
   |  Printable Version
By: harryw86 (offline)  Dec 11 2009 10:41 am (Read 668 times)  
harryw86

Hi,

I want to either edit or delete the text that that is below the horizontal menu bar below the header (Welcom to x.com, Admin, the date and time, Account Settings/Logout and Signup/Login.

I have looked and tried but can't find the answer ( I expect that if there was a noob score mine would have just gone up!).

Thanks in advance Thumbup !!!

Best wishes,

Harry

Forum Regular Member
Regular Member

Group Comfort
Level:
: 0

Registered: 12/07/09
Posts: 110

Profile Email    
  Quote
By: Geiss (offline)  Dec 11 2009 11:00 am  
Geiss

If you enable Include Template Comments in Page Source, then do a View Source in your browser, you'll see HTML comments in the source of your webpage that reveal what template files are responsible for creating what part of the page. (Teach a man to fish... Wink )

The code you're after though is in public_html/layout/nouveau/header.thtml:

PHP Formatted Code
                <div class="welcomeanddate-text">
                    <span class="gl_user-menu-right">
<?php global $_USER, $_CONF; if (isset($_USER['uid']) && $_USER['uid'] > 1) { ?>
                        <a href="{site_url}/usersettings.php?mode=edit">{$LANG01[48]}</a><br{xhtml}>
                        <a href="{site_url}/users.php?mode=logout">{$LANG01[35]}</a>
<?php } else {
  if ($_CONF['disable_new_user_registration']==0) {?>
    <a href="{site_url}/users.php?mode=new">{$LANG04[27]}</a><br{xhtml}>
  <?php } ?>
  <a href="{site_url}/users.php?mode=login">{$LANG01[58]}</a>
<?php } ?>

                    </span>
                    <span class="gl_user-menu-left">
                        <a href="{site_url}">{welcome_msg}</a><br{xhtml}>
                        {datetime}
                    </span>
                </div>



If you make changes, make sure to copy public_html/layout/nouveau/header.thtml to public_html/layout/nouveau/custom/header.thtml, and make your changes there. That way, they won't be overridden on an upgrade! Big Grin

Thx!

Eric


Forum Active Member
Active Member

Group Comfort
Level:
: +58

Registered: 02/15/07
Posts: 2097
Location: Boise, Idaho

Profile Email Website  
  Quote
By: harryw86 (offline)  Dec 11 2009 13:58 pm  
harryw86

Thanks again, Eric!

Harry

Forum Regular Member
Regular Member

Group Comfort
Level:
: 0

Registered: 12/07/09
Posts: 110

Profile Email    
  Quote
New Topic Post Reply


 All times are CDT. The time is now 07:53 am.
Normal Topic Normal Topic
Locked Topic Locked Topic
Sticky Topic Sticky Topic
New Post New Post
Sticky Topic w/ New Post Sticky Topic w/ New Post
Locked Topic w/ New Post Locked Topic w/ New Post
View Anonymous Posts 
Able to Post 
HTML Allowed 
Censored Content