Welcome to Geeklog, Anonymous Monday, December 23 2024 @ 08:15 am EST

Geeklog Forums

How to add link Contact in header


Status: offline

garfy

Forum User
Full Member
Registered: 01/02/05
Posts: 437
Location:EU
angelic
Can somene please give me the code of contact link that will open email to my email adress admin@example.org

and can i hardcode it near menu elements in header under theme

thank you
 Quote

Status: offline

ScurvyDawg

Forum User
Full Member
Registered: 11/06/02
Posts: 523
You mean this

Text Formatted Code

<a href="mailto:admin@example.org">Contact Us</a>


 


You may want to check out www.w3schools.com that is basic html
 Quote

Status: offline

vadertech

Forum User
Full Member
Registered: 05/26/03
Posts: 329
what version of GL you using?


GeekLog Hosting, Installations and Upgrades - WWW.AWEHOST.COM - Hosting starts @ only $4.95/mo.
 Quote

Status: Banned

machinari

Forum User
Full Member
Registered: 03/22/04
Posts: 1512
try this link.... http://altermedicine.org/profiles.php?uid=2
now just throw it in your header.thtml file beside your {menu_elements}
 Quote

Status: offline

garfy

Forum User
Full Member
Registered: 01/02/05
Posts: 437
Location:EU
thx

but as you can see on my website there is no space between menu elements and contact us, how can i make a dot or a space

please check my website

thx
 Quote

Status: offline

ScurvyDawg

Forum User
Full Member
Registered: 11/06/02
Posts: 523
If you look at the code on your site it looks like this.

Text Formatted Code

<div class="header-datestamp">
                <div align="right"><!-- Welcome to  Altermedicine.org --> Today is Monday, January 17 2005 @ 04:05 PM GMT+3</div>
                <div class="header-links">
                  <div align="right">                   <a href="http://altermedicine.org/submit.php?type=story">Contribute</a>  .  
                        <a href="http://altermedicine.org/links.php">Web Links</a>  .  

                        <a href="http://altermedicine.org/pollbooth.php">Past Polls</a>  .  
                        <a href="http://altermedicine.org/calendar.php">Calendar</a>  .  
                        <a href="http://altermedicine.org/search.php">Advanced Search</a>  .  
                        <a href="http://altermedicine.org/stats.php">Site Statistics</a>  .  
                        <a href="http://altermedicine.org/forum/index.php">Forum</a>

  .  <a href="mailto:admin@example.org"> Contact Us</a>
                    <br />            </div>
            <!-- <a href="http://altermedicine.org/usersettings.php?mode=preferences">Your Preferences</a>                      <a href="http://altermedicine.org/forum/index.php">Forum</a>
--></div>
        </div>

 

I see a distinct difference between the ones generated by the CMS and yours.

For instance the nbsp code after the forum is missing for one. hmmmm there may be other things but this is what you need to emulate in your header.thtml

Smile
 Quote

Status: offline

ScurvyDawg

Forum User
Full Member
Registered: 11/06/02
Posts: 523
Oooops the NBSP code is not showing in code.

Look at the source of your page and you will see what I mean

Cheers and good luck
 Quote

Status: offline

garfy

Forum User
Full Member
Registered: 01/02/05
Posts: 437
Location:EU
thank you

but i do not et it scurvy

i do not have single items of menu i have menu elements in code

i put the contact last and put the dot in the html but the space is not wide enough, i need 2 spaces between dot and link text

can u help once more please

thank you
 Quote

Status: offline

ScurvyDawg

Forum User
Full Member
Registered: 11/06/02
Posts: 523
Hi Garfy,

What I mean is to look at your source code for the site. You will see what I posted above.

You will see the NBSP code I am talking about there. I would just look at the source for the page and would emulate the code and then that will match the presentation of the auto generated menu list.

Good Luck bud looks like a great site.

Very Happy
 Quote

Status: offline

garfy

Forum User
Full Member
Registered: 01/02/05
Posts: 437
Location:EU
Quote by ScurvyDawg: Hi Garfy,

What I mean is to look at your source code for the site. You will see what I posted above.

You will see the NBSP code I am talking about there. I would just look at the source for the page and would emulate the code and then that will match the presentation of the auto generated menu list.

Good Luck bud looks like a great site.

Very Happy


thx scurvy i fixed it in header i just add a bspn for space and it works flawlesly
 Quote

All times are EST. The time is now 08:15 am.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content