paypal button linked to the author

More
4 years 7 months ago #77187 by 2CPRESTA

micker wrote: hello you can di it more easly without too much code
set s a default value for the field, and configure the default value to be "used instead of empty"
use prefix and suffix of value
prefix

Code:
<a href="THELINKFORMAT+USERVARIABLE
suffix
[code]" >Pay via paypal</a>
that it ...
you just need to decompose paypal menu link and adapt to you case


You exactly know how good i'm with coding ... but how will i "mix" the link with authors email ( = paypal account email) ? Any idea ?

I know i have always strange cases :)

Please Log in or Create an account to join the conversation.

More
4 years 7 months ago #77188 by micker
ah ... you need to create a select field with a default value and use sql reqest inside to find email of author ...
think about this, if user email in joomla isn't same than paypal ..;
i think its better to create a field like Payapal email, => user set his email and you can use {{fieldname##0}} inside prefix
like
Code:
<a href="THELINKFORMAT+{{fieldname##0}}

FLEXIcontent is Free but involves a very big effort on our part.
Like the our support? (for a bug-free FC, despite being huge extension) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing reviews. Thanks![/size]

Please Log in or Create an account to join the conversation.

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.265 seconds
Save
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline