Email Entry Plugin

Creating and modifying plugins.
Post Reply
n2ition
Regular
Posts: 58
Joined: Sun Mar 20, 2005 8:43 pm
Location: Dallas, TX
Contact:

Email Entry Plugin

Post by n2ition »

I have installed the "event mailentry" plugin and it sends the email just fine. However the url it provides is leaving out the /index.php before the /archives/post_title.html so I get an page not found error when trying to access the post through the link.

Seems to me it is probably a really simple fix...but I don't know php, so I'm not sure what I should be looking for.
The good news is the bad news is wrong! Random Kindness Project
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Email Entry Plugin

Post by garvinhicking »

I've just committed the fix.

In the plugin file just replace

Code: Select all

$serendipity['baseURL'] . serendipity_archiveURL($eventData['id'], $eventData['title'], '', false),
with

Code: Select all

$serendipity['baseURL'] . serendipity_archiveURL($eventData['id'], $eventData['title'], '', true),
notice the false/true boolean.

Regards,
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/
Post Reply