[TYPO3] Tip a friend - problem - ERROR: malformed or missing URL detected!
Gregory Remington
greg at mediatech.net
Thu Sep 13 21:12:51 CEST 2007
Morten Kjems wrote:
> The TIPLINK links correcly to the TIPFORM but the TIPFORM displays an
> error message:
>
> "malformed or missing URL detected!"
>
> If I submit the form nothing happens...
>
> I simply have no clue on how to solve this.
This is what I use to generate the tip link.
# Tip a Friend
#######################################
page.1 {
subparts.TIPAFRIEND = TEXT
subparts.TIPAFRIEND {
userFunc = tx_tipafriend->main_tipafriend
code = TIPLINK
value = <img src="fileadmin/templates/images/email.gif" alt="Email to
Friend" title="Tip a Friend" height="12" width="16" border="0"
style="border-width:0px;" /> Email
typolink{
parameter = 16 # link to your tip-a-friend page
ATagParams = target="_top"
additionalParams.cObject = COA
additionalParams.cObject{
1 = TEXT
1.value = &tipUrl=
2 = TEXT
2.data = getIndpEnv: TYPO3_REQUEST_URL
2.rawUrlEncode = 1
}
}
}
}
> Any suggestions?
Yes, use Tip-A-Friend Plus :)
http://typo3.org/extensions/repository/view/tipafriend_plus/0.1.3/
Cheers,
Greg
-----
Gregory Remington
Mediatech Consulting, Inc.
http://www.mediatech.net
More information about the TYPO3-english
mailing list