Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2021-02-08 13:13:35

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

capture publisher's email

Is there a way, tag or php, to capture and parse one of the publishers’ email?

The context is that I would like to include a com_connect form in a page (not an article), and as I also copy/paste everything on github, I do not want to have to remember to anonymise the email on every update of that page.

I could of course use an output_form, if this is not possible.


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

Offline

#2 2021-02-08 13:42:33

etc
Developer
Registered: 2010-11-11
Posts: 5,028
Website GitHub

Re: capture publisher's email

Hi Yiannis,

isn’t <txp:author_email /> what you are looking for?

Edit: ah, you are not in article context. Then maybe

<txp:authors name="colak">
    <txp:author_email />
</txp:authors>

Offline

#3 2021-02-08 15:40:52

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

Re: capture publisher's email

Yep! That did it. Thanks so much.


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

Offline

Board footer

Powered by FluxBB