[support] Help with Email This Page module
Bruce Whealton
brucewhealton at yahoo.com
Thu Feb 23 15:17:11 UTC 2006
I think this worked, almost. I edited the field simple enough. And it said that the email that I'd get would have the link.
node/1, where 1 = the nodeid, which could be any node.
But the email never came to me. Can someone check this out for me at
http://wordsalad.net/
Thanks,
Bruce
Abhishek Nigam <abhishekn at enablingdimensions.com> wrote:
Hi,
> Anyway, I'm getting this problem with the Email This Page module. When I go
> to email a page the link that is sent is
> node/view/nodeid#
> Of course, there is no page at node/view/nodeid#
> there is at node/nodeid# which works when I trim the view off the email
> link. It even says that the link that will be sent will be of that form, a
> link that doesn't exist. So, how can I fix this or otherwise have a link to
> email a page to someon e, please?
The solution for your problem is that,
In the emailpage.module file there is a line of code:
---> $nodelink=$base_url.'/'.url('node/view/'.$_GET['nid']."#comment
and
---> $nodelink=$base_url.'/'.url('node/view/'.$_GET['nid']);
just what you should do delete 'view/' from both the lines...and save it.
Then your module works fine...
Regards and cheers!
Abhishek Nigam
Enabling Dimensions (I) Pvt Ltd.
M:9810986314
--
[ Drupal support list | http://lists.drupal.org/ ]
++++++++++++++++++++++++++++++++++++++++++++++++++++
Bruce Whealton - Webmaster/Designer/publisher/Writer
http://trianglewebservices.com/
Word Salad Poetry Magazine - join us online at:
http://wordsalad.net/
Street Exposure - Street Newspaper
http://wordsalad.net/StreetExposure/
++++++++++++++++++++++++++++++++++++++++++++++++++++
---------------------------------
What are the most popular cars? Find out at Yahoo! Autos
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/support/attachments/20060223/871e13c6/attachment.htm
More information about the support
mailing list