sgladstone / com.pogstone.fancytokens

CiviCRM extension that provides tokens for events, contribution pages, greetings, profiles and forms. Tokens can be used in emails and letters.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Profile form token URL label should use public-facing profile name

ChrisHardie opened this issue · comments

Right now when I insert a token for a profile form, the clickable text that's used is the internal profile name. Where available, I think it should instead use the public-facing profile name.

Screenshot of the profile management form:

Screen Shot 2021-04-07 at 16 22 13

Screenshot of the resulting email with token {communitynews.standaloneprofile___16}:

Screen Shot 2021-04-07 at 16 22 47

I think the related logic may be at

$label = $cur['title'].' (id: '.$cur['id'].') :: Forms';