Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#25 2005-07-15 14:21:48

aesop1
Archived Plugin Author
Registered: 2004-09-19
Posts: 142

Re: mrh_email_article_link

Colak, I have been buried with work, but I should get to taking a look at the plugin issue next week. The probable solution will be to examine the $siteurl string for a subfolder and then trim that from the string.

Note to other users: this will only effect users with subfolders defined in the “Site URL” of the admin “Site preferences area.

Offline

#26 2005-07-16 09:16:09

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,011
Website GitHub Mastodon Twitter

Re: mrh_email_article_link

thanks aesop1, I’m really looking forward to your next release


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#27 2005-07-16 18:39:32

aesop1
Archived Plugin Author
Registered: 2004-09-19
Posts: 142

Re: mrh_email_article_link

Plugin updated to 0.3 to deal with the $siteurl subfolder issue. Let me know how it’s working.

Thanks,

Matt

Offline

#28 2005-07-17 07:48:45

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,011
Website GitHub Mastodon Twitter

Re: mrh_email_article_link

Perfect! worked like a dream!
Thanks aesop !!!

Last edited by colak (2005-07-17 08:05:08)


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#29 2005-07-17 14:49:02

aesop1
Archived Plugin Author
Registered: 2004-09-19
Posts: 142

Re: mrh_email_article_link

Good to hear. Thanks for the feedback, Colak.

Offline

#30 2005-08-22 16:35:51

june
Member
Registered: 2005-06-02
Posts: 47

Re: mrh_email_article_link

Hi,

I’m having some validation problems. The email article link validates fine on most pages. But when I click on a date in my mdp_calendar…the email article link on that date page does not validate.

And it doesn’t say there is anything wrong with the calendar links, just the email article link. Here is what the link looks like:

http://domain.com/?month=2005-08-01&s=events

I’m guessing when the calendar generates that link, the & is really an & amp; but when the email article generates that link the & is only an &.

Any suggestions on how to fix this?

thanks!

june

Last edited by june (2005-08-22 16:37:47)

Offline

#31 2005-08-23 03:19:18

aesop1
Archived Plugin Author
Registered: 2004-09-19
Posts: 142

Re: mrh_email_article_link

June,

Is the link appearing on a page with a single article only? Based on the URL it looks like an archive.

Matt

Offline

#32 2005-08-23 13:15:40

june
Member
Registered: 2005-06-02
Posts: 47

Re: mrh_email_article_link

Oh, your right, there is more than one article listed on this page. If I goto the single article it validates fine. Is there anything I can do to fix the validation problem?

thanks!

june

Offline

#33 2005-08-23 14:39:54

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,011
Website GitHub Mastodon Twitter

Re: mrh_email_article_link

> june wrote:

> Oh, your right, there is more than one article listed on this page. If I goto the single article it validates fine. Is there anything I can do to fix the validation problem?

someting like this might fix your validation

<code><txp:if_individual_article><txp:mrh_email_article_link subject=“read this” /></txp:if_individual_article></code>

Last edited by colak (2005-08-23 14:41:26)


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#34 2005-08-23 14:52:34

aesop1
Archived Plugin Author
Registered: 2004-09-19
Posts: 142

Re: mrh_email_article_link

Thanks, Colak!

Offline

#35 2005-08-23 15:00:32

june
Member
Registered: 2005-06-02
Posts: 47

Re: mrh_email_article_link

Thanks Cloak! That doesn’t work for the front pages of my sections (which have info the user may want to email) but its a good starting point.

thanks for your help!

-june

Offline

#36 2005-08-23 20:58:03

aesop1
Archived Plugin Author
Registered: 2004-09-19
Posts: 142

Re: mrh_email_article_link

June,

Once I get the time I will see about possibly expanding the plugin to cover section/category lists. I think it should work, but you may have already identified the bugs — url unencoded ampersands — that will need to be fixed.

Thanks,

Matt

Last edited by aesop1 (2005-08-23 20:58:20)

Offline

Board footer

Powered by FluxBB