Need help with Joomla? We are available for hire to help with Joomla customization, upgrades, maintenance, and custom development.
Explore our services

Inserting Donation in article and other pages

  • Matija Biljeskovic
  • Topic Author
  • Offline
  • New Member
  • New Member
More
16 years 10 months ago #1743 by Matija Biljeskovic
Inserting Donation in article and other pages was created by Matija Biljeskovic
Is there a documentation on how to insert a Jdonation button into an article and other pages?

I am using ProjectFork for nonprofit project and would like to insert a donation button for each project. Is this possible? If it is, how can it be done?

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

More
16 years 10 months ago #1748 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re:Inserting Donation in article and other pages
Hi
Please follow these intructions :
1 . Create campaigns in back-end of Joom Donation . Each project is a campaing .
2 . If you just want to insert donate button , you can insert the link like using the following code :
Code:
<a href="index.php?option=com_jdonation&view=donation&campaign_id=1">Donate</a>

1 is id of the campaign corresponding to the project .

3 . You can insert donation form into the page using the syntax :

{jdform campaign_id} , for example {jdform 1} . It will show donation form which allow users to donate for campaign with id = 1 .

Hope my explaination is clear to you .

Regards,
Ossolution Team

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

  • Matija Biljeskovic
  • Topic Author
  • Offline
  • New Member
  • New Member
More
16 years 10 months ago #1750 by Matija Biljeskovic
Replied by Matija Biljeskovic on topic Re:Inserting Donation in article and other pages
Thank you. The code you gave works.

Code:

<a href="index.php?option=com_jdonation&view=donation&campaign_id=1">Donate</a>


Questions:

1)

3 . You can insert donation form into the page using the syntax :

{jdform campaign_id} , for example {jdform 1} . It will show donation form which allow users to donate for campaign with id = 1 .

Is this related to the original code you gave me or is this something different?

2) The code you gave above is great. Since this is for a project oriented website it would be great if this html code was a button or can be trigger by an easy single word code. Is it possible to add a button to JCE editor or do anything which will allow a word like Donate=1 to mean the same thing as <a href="index.php?option=com_jdonation&view=donation&campaign_id=1">Donate</a>[/quote]

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

More
16 years 10 months ago #1751 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re:Inserting Donation in article and other pages
Hi
The code
Code:
{jdform campaign_id} , for example {jdform 1} . It will show donation form which allow users to donate for campaign with id = 1 .

will display donation form (first name , last name ,... donate button) in the article . However , the code
Code:
<a href="index.php?option=com_jdonation&view=donation&campaign_id=1">Donate</a> only display the donation link . Click on this link will redirect user to donation form . [code] 2) The code you gave above is great. Since this is for a project oriented website it would be great if this html code was a button or can be trigger by an easy single word code. Is it possible to add a button to JCE editor or do anything which will allow a word like Donate=1 to mean the same thing as <a href="index.php?option=com_jdonation&view=donation&campaign_id=1">Donate</a>

Thanks for your suggestion . It is a nice feature and we will add it to the next version of Joom Donation .

Regards,
Ossolution Team

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

Moderators: Mr. DamDang Dam