Element custom link does not work when used as placeholder in form email plugin

gnavarro

Member
Hi,

My config:
Fabrik 3.4.2
Joomla! 3.4.8
Template - Protostar
Updated from github
Access to site admin in my Fabrik account

I have a list where one of my elements have the following custom link (element list senttings attached):
http://www.fisiolar.pt/index.php?op...fb_avaliacao_tratamentos___id_tratamento_raw}

This custom link works perfect when element value clicked in the list. The problem is when I use it as placeholder in the form email plugin... When I click in the element value inside the received email it takes me to an empty record because the placeholder {fb_avaliacao_tratamentos___id_tratamento_raw} goes empty through the email, beeing the final url like:

http://www.fisiolar.pt/index.php/pt/?option=com_fabrik&view=details&formid=11&usekey=id&rowid=

What am I missing? Thanks in advance?
 

Attachments

  • Capturar.PNG
    Capturar.PNG
    33.9 KB · Views: 234
What is id_tratamento? Is it a join element? Does this happen when editing, or on new rows, or both?

-- hugh
 
Hugh,

id_tratamento is a dbjoin and happens when submitting new rows... I don't know about editing becauase in the email plugin is configured on new.
 
Hi Troester,

The configs are attached.
 

Attachments

  • Capturar3.PNG
    Capturar3.PNG
    15.1 KB · Views: 179
  • Capturar2.PNG
    Capturar2.PNG
    62.9 KB · Views: 176
  • Capturar1.PNG
    Capturar1.PNG
    18.8 KB · Views: 180
And which element in your message text contains the custom link?
Did you try to create the link directly in your message?
Why do you have &usekey=id in your link (this is the default)
 
So...
I've removed the &usekey=id but this has not correct the problem.

I've used the following html codes:

HTML:
 <a href="http://www.fisiolar.pt/index.php?option=com_fabrik&view=details&formid=11&rowid={fb_avaliacao_tratamentos___id_tratamento_raw}" target="_blank">{fb_avaliacao_tratamentos___id_tratamento}</a><br><br>
problem maintains... link does not include rowid value

Included _raw in link description:
HTML:
 <a href="http://www.fisiolar.pt/index.php?option=com_fabrik&view=details&formid=11&rowid={fb_avaliacao_tratamentos___id_tratamento_raw}" target="_blank">{fb_avaliacao_tratamentos___id_tratamento_raw}</a><br><br>
link include rowid value and works but the description is the raw value

Other information is that my email are being processed by mandrill and once it monitors clicks in the emails the original link is under a mandrill link. Nevertheless I don?t believe that Mandrill will destroy links!
 
Hugh,

Sorry what do you mean with that? I have in element list settings 'Link to details' to 'yes'... Should it be to 'No'?
 
I'm just wondering if that might be breaking the formatting of the element in the email. Try turning that off, and see if it makes any difference.

I can't replicate this, I can build a link using raw and non-raw. So it's hard to know what to suggest.

-- hugh
 
I've tried and the placeholder continues to return null:(

Also tried with Always Render 'Yes' and nothing...
 
Last edited:
OK, I can duplicate it using a detail link, so I'll have a go at fixing that. I can't duplicate it when building a lin manually in the template tho, that works fine.

-- hugh
 
We are in need of some funding.
More details.

Thank you.

Members online

Back
Top