Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

trying to install "contact us" in index.php


Recommended Posts

Posted

I have another question that i could not seem to find an answer to in the forums, (or as just proved to me, i over looked it).

 

I am trying to get a link to the contact us in a sentence in the index.php area. I looked at other examples in the programming and i thought i had it but when the mouse goes over it it changes color but i do not get a hand to click on it?

 

here is a link to the test screen and you can see what i did. http://www.homesteadembroidery.net/test/in...953ce9360003cb8

 

Thanks again for the help

 

Matt

Posted

The link isn't coded correctly:

 

<a href="%s"><u>contact us</u></a>

That's what's in your HTML.

:blush:

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Posted
The link isn't coded correctly:

 

<a href="%s"><u>contact us</u></a>

That's what's in your HTML.

:blush:

 

 

Yes that is what is in the html. What should the code be. I copied that from there the "log in" use to be up above.

Posted

You don't understand the significance of the %s in the other code or how it works in PHP

 

Where you have the %s try this instead:

 

' . tep_href_link(FILENAME_CONTACT_US, '', 'NONSSL') . '

Backup what you have.

 

If that doesn't work for you, you'll have to post your code so I can see it.

 

What I posted is my best shot in the dark.

:blush:

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Posted
You don't understand the significance of the %s in the other code or how it works in PHP - Your absolutely corect. I am teaching myself as I go. I appriciate all of the expirence in here!!

 

Where you have the %s try this instead:

 

' . tep_href_link(FILENAME_CONTACT_US, '', 'NONSSL') . '

Backup what you have.

 

If that doesn't work for you, you'll have to post your code so I can see it.

 

What I posted is my best shot in the dark.

:blush:

 

 

That worked. Thanks a million. I kinda understand now that i needed the link but i originally installed the line wrong.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...