plugin e-mail to a friend - show link right on article

Creating and modifying plugins.
Post Reply
renata
Regular
Posts: 33
Joined: Mon Sep 05, 2005 12:50 pm

plugin e-mail to a friend - show link right on article

Post by renata »

i love the plug-in, i'd just like to change it in a way that this option is visible next to the link for "comments".
which files do i have to open and change?
as much as i like to experiment- i rather have so guidance.
thanks a lot!
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: plugin e-mail to a friend - show link right on article

Post by garvinhicking »

Hi!

I don'T know that plugin really well, but I think it is harder to do. You would have to edit the plugin .php file to edit the placement of it.

But maybe you can just edit your entries.tpl file, search for the place where "Comments(0) | Trackbacks(0)" is emitted, and you could a link like "<a href="{$entry.link}#mailtoafriend">...</a>" (the #mailtoafriend is not the actual link name, I don't know it by heart...)?

HTH,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
renata
Regular
Posts: 33
Joined: Mon Sep 05, 2005 12:50 pm

Post by renata »

i think with that street-map i shall try it.
i like the way you are always preecise about filenames (like the tpl) the linkname even i can find myself. i let you know when my site's crashed.
:twisted: ... i bet though, it will work.
Post Reply