hello all-
took about 5+ hours today-
but i have finally got the email this page module working great on Drupal 4.5.2.
---> can someone please reply as to how i can upload / post this somewhere on drupal.org-
and i will do so immediately... (i didn't just want to paste it into the post...?)
you can check it out live now at: http://www.ralphdeluca.com
click on indivdual pages-
or images-
and you will notice the 'email this page' or 'email this image' links now appearing in the node links for each node.
i also have it turned on for the summary taxonomy views-
pages of categories like images, etc.
please note- this mod is working so sweet...
1- works seamlessly on all types of content nodes-
and can be set to 'email this image', 'email this weblink', etc.-
not just 'email this page'.
2- if you have primary links enabled in a theme- a link to 'email this page' will automatically appear in your primary links menu.
3- if you don't have primary links enabled-
or you are using a phptemplate based theme-
or if you want to simply add it as secondary link menu item-
all you have to do is create a link with a url of: "emailpage"
and again- it works great.
4- of course you can also add a graphic icon / text link anywhere on your template / theme-
OR even just as a block with the simple code of:
<a href="http://www.yourwebsite.com/emailpage">Click Here to Email This Page</a>
5- also cleaned up some code and language to suit my needs.
6- nice little sample of what the email you send will look like.
7- for just a one-file drupal mod- this thing packs a whole lot of punch! i am going to use this extensively on ralphdeluca.com- where we have huge, great looking images that we want people to spur visits and traffic with emails to friends...
needless to say- this mod does the trick, and more...
thanks to all that made the suggestions / patches / ports at this thread:
i kind of welded all the diferent bits of code i found here- to make it all work nice.
thanks-
vincent
ps- the reason i still use drupal 4.5.2 is the wide-open and visible taxonomy-
across all node content types including images- is killer web power for the asking.
you have no limits to what you want to design / dev with this system.
i also have the image mod tricked out custom- with batch upload and useful image resizing aspects.
i find drupal 4.5.2 to be the most powerful and flexible cms that i have ever used-
including commercial software costing between $10K and $100K USD.
huge thanks to the drupal team for sharing the magic they have made-
with all of us.
Comments
Here's the Email This Page Module for Drupal 4.5.2
OK- just uploaded the file-
see the project post at:
http://drupal.org/node/12741#comment-27617
to download... and of course i think you can also get it here:
http://drupal.org/files/issues/emailpage.module.zip
thanks-
vincent
Drupal samurai for hire, based in Buffalo, New York, USA.
15+ years Drupal, 20+ years web.
http://basicmagic.net
Problem on emailpage 4.6
I've read somewhere that emailpage doesn't work on 4.6 but this problem seems like such a short jump to solve.
The email is sent off just fine but the link it generates is faulty.
The link appearing in the email is:
http://www.squarefour.org/node/view/11
When it needs to be:
http://www.squarefour.org/node/11
I tried setting up a filter but I just can't make that work, and I looked at the code and botched it all up, I don't speak php.
Anyone have an idea how to fix it?