How to use a command link in an extended form?

allerhand

New Member
I want to build a small separate form within my cms with the ability to get the newsletter. So i thaught i can use the commands to lead somebody trough this process.

But how do i have to build the form that the "email_addr" automatically will bet catched by the link?

thank you
best regards

chris
 

allerhand

New Member
Ok, thank you. It works with an extended Form (Chronoforms / Joomlacomponent) with curl.

But there is one point. I've got "somebody%40somewhere.com" instead of
"[email protected]" in the url.
In the chronoforms-Forum they told me i need two more lines of code in the mlm script with urlencode().

Any idea?

Thank you
Chris
 

allerhand

New Member
I thaught i had to use this in lm.php?
The MLM Script doesn't work with

lm.php?cmd=subscribe&list=testlist&email=somebody%40somewhere.com

so i have to change it somehow. Do you have an idea?

Thank you
Chris
 

stanbusk

Administrator
Staff member
I am not familiar with that but I though what you wanted to do what encoding the URL calling MLM in the subscribe form, am I wrong?
 

allerhand

New Member
Ok. Solved.

This code around Line 576 in lm.php

$email = urldecode($email);

and it works.

BTW: Is it possible to have other parameters with the link?
For example the filenames?
like
lm.php?cmd=subscribe&list=testlist&[email protected]?lastname=Miller?firstname=John

Thank you
 
Top