Page 1 of 1

e-mail link not working

Posted: 03 Apr 2007, 16:16
by climb64
Can someone help me get an e-mail link up in the sitmenu module? Under linkXclickdata line I have: "link4clickdata = mailto:info@doubledogphotos.com" and when you click this in my site you get a 404 error page:

"The requested URL /doubledog/undefined was not found on this server.
Apache/1.3.36 Server at lostlightphotos.com Port 80"

I tried to put back the imagevue original line in the sitemenu.ini file: "link4 = mailto:info@www.photo.gallery" and it gives me the same error.

lostlightphotos.com/doubledog

Can anyone help? Thanks!

I have ran into the same problem

Posted: 05 Apr 2007, 13:12
by crim
Try this

link1clickdata = "mailto:info@doubledogphotos.com"

or

link1clickdata = "mailto:info@doubledogphotos.com?subject=Your Subject"

The only part I can not get to work is body=. If anyone knows how to do this please post.

thanks

Posted: 05 Apr 2007, 13:28
by crim
found it on another post

link1clickdata = "mailto:info@doubledogphotos.com?subject=Your Subject%26body=Dude this is sweet."

Posted: 05 Apr 2007, 16:05
by climb64
thanks for trying to help out, but unfortunately it still doesn't work for me. I'm using- mailto: [my address] for my linkclickdata liine, and i still just keep getting the 404 error page. I've tried it with quotes, and without. I've tried several different valid e-mail accounts--some connected to my hosting server, a mac.com account, an scbglobal account, etc.--no luck . . .same error with everything. I don't get it.

Posted: 05 Apr 2007, 20:46
by crim
Can you post this part of your sitemenu.ini need to make sure syntax is correct.

Posted: 05 Apr 2007, 20:50
by climb64
sure . . .

link6 = Contact
link6rollover = tooltip
link6rolloverdata = <b>www.doubledogphotos.com</b><br><br>Double Dog Photos<br>2321 W. Montana<br>Chicago, IL 60647<br><br><b>ph.:</b> 773-968-1905<br><b>fax.:</b> 773.278.2861<br><br><b>info@doubledogphotos.com</b><br>(Click to send us an e-mail)
link6click = _self
link6clickdata = mailto:info@lostlightphotos.com

Posted: 05 Apr 2007, 21:11
by crim
So I tried what you had

link6 = Contact
link6rollover = tooltip
link6rolloverdata = www.doubledogphotos.com<br><br>Double Dog Photos<br>2321 W. Montana<br>Chicago, IL 60647<br><br>ph.: 773-968-1905<br>fax.: 773.278.2861<br><br>info@doubledogphotos.com<br>(Click to send us an e-mail)
link6click = _self
link6clickdata = mailto:info@lostlightphotos.com

And I got the same error until I looked at (Click to...). The () is causing your link to parse incorrectly. Get rid of the () and it is good to go. If you want to add subject and body to email you have to use "" ex.

"mailto:info@doubledogphotos.com?subject=Your Subject%26body=Dude this is sweet."

Posted: 05 Apr 2007, 21:14
by climb64
Awesome. It works! Thanks so much for your help!

cheers-
dave

Posted: 05 Apr 2007, 21:18
by crim
No problem, I can't get your site to load tho. What's the url?

Keep in mind, do not use = () or $ in the sitemenu links. It creates a headache for php.

Posted: 05 Apr 2007, 21:20
by climb64
lostlightphotos.com/doubledog

Posted: 06 Apr 2007, 12:37
by crim
Looks pretty good man keep up the hard work.