Support Offline : Mon - Fri / 10am - 6pm (GMT +6)

Your Time: Our Time:

How do I locate and configure the button "Donate Now" as it is on Politist Template?

Featured Lock Resolved Issue
Please pardon me if my questions sound obvious but I could not find the answers in Q&A. I am working with Politists Template;

1. Where do I location "Donate Now" button as on Politist template - see attachment.

2. I have set up my PayPal ID and button, How will I configure this Button "Donate Now" to work exactly as in template Politist - see attachment.

Please help!
Thanks
Ofinet

Attachments (1)

  • Donation Now button.jpg
    Donation Now button.jpg 84.1 KB

34 Answers

Paul Frankowski - Staff

More than a month ago #Permalink
This is language phrase , from: language\en-GB\en-GB.tpl_shaper_politist.ini


# Donation Addon #
COM_SPPAGEBUILDER_ADDON_DONATION="Donation"
COM_SPPAGEBUILDER_ADDON_DONATION_DESC="Donation addon with paypal intrigration"

COM_SPPAGEBUILDER_ADDON_DESC="Description"
COM_SPPAGEBUILDER_ADDON_DESC_DESC="Addon description will show after title"

COM_SPPAGEBUILDER_ADDON_DONATION_PAYPAL_ID="Paypal ID"
COM_SPPAGEBUILDER_ADDON_DONATION_PAYPAL_ID_DESC="Insert the paypal id where you want to receive donation."

COM_SPPAGEBUILDER_ADDON_DONATION_MORE="More"
COM_SPPAGEBUILDER_ADDON_DONATION_MORE_DESC="Yes to show custom donation amount insert option"

COM_SPPAGEBUILDER_ADDON_DONATION_NO="No"
COM_SPPAGEBUILDER_ADDON_DONATION_YES="Yes"

COM_SPPAGEBUILDER_ADDON_DONATION_AMT_TITLE_TEXT="Title Text"
COM_SPPAGEBUILDER_ADDON_DONATION_AMT_TITLE_TEXT_DESC="Text of the amout select box (only for admin show)"

COM_SPPAGEBUILDER_ADDON_DONATION_AMT="Amount"
COM_SPPAGEBUILDER_ADDON_DONATION_AMT_DESC="Amout of donation"

COM_SPPAGEBUILDER_ADDON_DN_MORE="More"

COM_SPPAGEBUILDER_ADDON_DONATION_CURRENCY="Currency"
COM_SPPAGEBUILDER_ADDON_DONATION_CURRENCY_DESC="Select a currenct from the list (your paypal currency)"

COM_SPPAGEBUILDER_ADDON_DONATE_NOW="Donate Now"

Attachments (1)

  • Languages_Overrides.png
    Languages_Overrides.png 15.6 KB

Paul Frankowski - Staff

More than a month ago #Permalink
Hi,
(There's) no such thing as a stupid question, only stupid answers, if you know what I mean.
----
Donation section was built by Donation addon (yes, from SP PageBuilder)
please check it's settings. It should be located on "Home" Page, second row.

ofinet

More than a month ago #Permalink
Hi,
Thanks for the reply, unfortunately I had gone through SP PageBulder of which I could see the currency and other buttons without "Donate Now", unless I am missing it somewhere.

Check attached screenshots to see where I had checked earlier without luck, then if you or any of your collegues can help me I will appreciates.

Thanks
Ofinet

Attachments (2)

  • Donation Now button - Sp page builder screen1.jpg
    Donation Now button - Sp page builder screen1.jpg 132.4 KB
  • Donation Now button - Sp page builder screen2.jpg
    Donation Now button - Sp page builder screen2.jpg 143.1 KB

Paul Frankowski - Staff

More than a month ago #Permalink
Donation button is built-in design.
So if you want to change name on the button, you have to override language string
COM_SPPAGEBUILDER_ADDON_DONATE_NOW

ofinet

More than a month ago #Permalink
Okay now I know that it is built-in design;
How do I change the string and include PayPal link code (https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=TEFQ8L8YDFJH2) in order point to PayPal payment page the same way it is on Politist template please?

Please help!

Thanks

Paul Frankowski - Staff

More than a month ago #Permalink
you have to edit that file:
templates\shaper_politist\sppagebuilder\addons\donation\site.php

ofinet

More than a month ago #Permalink
Hi Paul,
Thanks a lot for tracking this my issue, really I am doing something wrong because when I edited the file site.php from the location you quoted, I got a different result from the Politist Template live demo;

Please see the attachments in these order to follow what I am saying and as well I will do where I had gone wrong;
1. edited the file Site.php @ [b]templates\shaper_politist\sppagebuilder\addons\donation\site.php[/b]

2. Output I get when I click on "Donate now" does not reflect the amounts ($25 $50 $100 $500 more) set up to donate, as it is in live demo

3. Compare with Politist Template live demo output when click is not the same.

If you can give a sample of edited copy as in Politist then I can adjust and fine turn it suits my need, alternatively you can edit a copy of the same file site.php to work exactly like the live demo, then I can amend it to suit my needs.

regards;
Ofinet

Attachments (3)

  • 1 - edited site.php DONATE NOW.jpg
    1 - edited site.php DONATE NOW.jpg 201.6 KB
  • 2 - Output of edited DONATE NOW.jpg
    2 - Output of edited DONATE NOW.jpg 83.3 KB
  • 3 - Output from Politist live demo.JPG
    3 - Output from Politist live demo.JPG 58.4 KB

Paul Frankowski - Staff

More than a month ago #Permalink
sorry but I cannot touch php code,
it's beyond the support.
You have to talk with php developer if you want to customize code.

ofinet

More than a month ago #Permalink
SP PageBuilder is Joomshaper product built with php as part of the overall package, then you said you "can not touch php code" in which your product is built upon does not sound convincing, because you can can easily pass on the call log to someone else in the company that can.

J Jones

More than a month ago #Permalink
I am having the same issue and would appreciate any assistance.

Paul Frankowski - Staff

More than a month ago #Permalink
I am having the same issue and would appreciate any assistance.


You want also to customize code or what exactly ?

J Jones

More than a month ago #Permalink
I am having the same issue and would appreciate any assistance.


You want also to customize code or what exactly ?


No the issue is as follows:

Output I get when I click on "Donate now" does not reflect the amounts ($25 $50 $100 $500 more) set up to donate, as it is in live demo

ofinet

More than a month ago #Permalink
Hi,
It is not customization rather we want exact configuration as in Live demo. Please liaise with your colleagues because they may know if not you should escalate it with your manager that your clients need the function/configuration.

Just like you (Joomshaper) is serving it's clients (us) likewise we have clients, we need to serve, based on what they had seen from the live demo.
Not asking for anything extra (e.g codes or configuration, etc), therefore it is not a customisation request.

Paul Frankowski - Staff

More than a month ago #Permalink
But demo is always a demo.
I will check how it works on QuickStart.

Paul Frankowski - Staff

More than a month ago #Permalink
I checked settings from Quickstart all is working fine,
if you added your PayPal ID (in addon setting), then in front-end you will choose, for example, $50 ... all is OK.
----
Maybe only on our joomshaper demo this option was disabled, as I mentioned before, demo always will be only demo.

Attachments (1)

  • USD.png
    USD.png 35.5 KB

LEROY

More than a month ago #Permalink
Hello,

I have a bit of the same problem. I can change the currency, add options (10 €, 50 €, etc) but I can not translate 'more' and I can not translate 'donate now'.
Then the link when you click on 'donate now' does not work. Me too, I integrated paypal mail. Moreover, it's the same as the button at the top right 'donate' that works well.
Thanks for your help .

LEROY

More than a month ago #Permalink
ok perfect for translation big thank you.:)

On the other hand, you do not answer to the second part: :(
"Then the link when you click on" donate now "does not work.I also, I integrated the paypal mail.De addition, it is the same as the button on the top right "donate" that works well.
Thank you for your help ."

thank you......

Paul Frankowski - Staff

More than a month ago #Permalink
I have to see URL to tell more

LEROY

More than a month ago #Permalink
For the moment the url is the following one: http://dentelleflorence.fr/projet2/

The paypal link that works at the top right 'soutenir l'atelier' : https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YEEGNETRHNKUS

Paul Frankowski - Staff

More than a month ago #Permalink
Leroy you have problem with this one (screenshot) , right ?
What about settings of it. All fields are filled?

Attachments (1)

  • 0_0.jpg
    0_0.jpg 66.5 KB

LEROY

More than a month ago #Permalink
yes it's good with this one.
yes I saw all the parameters one by one. I do not know where we can save the link. For the moment it sends automatically to: http://dentelleflorence.fr/projet2/index.php#

Paul Frankowski - Staff

More than a month ago #Permalink
This addon cannot use custom links.
There is only "Paypal ID" field.
Your PayPal ID is any confirmed email address you have on the account.

LEROY

More than a month ago #Permalink
I'm sorry but I tested everything.
- I put the paypal contact address, always the # link,
- I put a merchant account ID in the area named Paypal ID in the form TxxxxxxxxxxxQ, always the link #


I do not know what to do...

Paul Frankowski - Staff

More than a month ago #Permalink
Ok, let me check it.

Paul Frankowski - Staff

More than a month ago #Permalink
It's a Hope template issue (v1.0):
templates/shaper_hope/js/main.js
Line: 202 with buggy code:

amt = this_val.split('$');

fix code:

amt = this_val.split(crncy_code[1] || '$');

---
But remember that our addon works only with Your PayPal ID = confirmed email address you have on the PP account.

LEROY

More than a month ago #Permalink
A very good support !! thank you for the good help!
Congratulations for your responsiveness ..: D

Krasimir

More than a month ago #Permalink
Paul, please advise me how to translate the label of the field "More" in the PayPal addon. It looks like it is not in the language file.

Paul Frankowski - Staff

More than a month ago #Permalink
Have you tried translate this one


COM_SPPAGEBUILDER_ADDON_DN_MORE="More"

Krasimir

More than a month ago #Permalink
Have you tried translate this one


COM_SPPAGEBUILDER_ADDON_DN_MORE="More"
Yes, I've tried. Looks like that string is not present in this language file.

Paul Frankowski - Staff

More than a month ago #Permalink
Placeholder, aaa yes...
Please edit this file:
templates\shaper_hope\sppagebuilder\addons\donation\site.php
line 88

<input class="donation-input input-text" type="number" name="amount" autocomplete="off" placeholder="More" min="1">



translate More word inside

Krasimir

More than a month ago #Permalink
Placeholder, aaa yes...
Please edit this file:
templates\shaper_hope\sppagebuilder\addons\donation\site.php
line 88

<input class="donation-input input-text" type="number" name="amount" autocomplete="off" placeholder="More" min="1">



translate More word inside
Thank you, Paul! But when hardcoded it is going to be a problem for our bi-lingual site. Anyways, we will think out a workaround.

Paul Frankowski - Staff

More than a month ago #Permalink
Where you see a problem, I see a solution ...

instead word "More" please, in the line 42 and 88, use:


. JText::_('COM_SPPAGEBUILDER_ADDON_DN_MORE') .


look.jpg

and you be able to keep multilanguage

Attachments (1)

  • look.jpg
    look.jpg 36 KB

Krasimir

More than a month ago #Permalink
Yes, sure it is a solution ... but in further eventual updates if this specific files is changed ...
It is ok, no prob. Thanx for your support!


There are no replies made for this post yet.
Be one of the first to reply to this post!

Leaderboard (30 days)

Paul Frankowski

Paul Frankowski

Total Accepted Answers: 134
Toufiq

Toufiq

Total Accepted Answers: 106
Sifat

Sifat

Total Accepted Answers: 69
DS

Dustin Swayne

Total Accepted Answers: 1
S

ssnobben

Total Accepted Answers: 1

116

Templates

300070

Community Users

Newsletter

Don’t miss any updates of our new templates and extensions and all the astonishing offers we bring for you.
We never spam

Joomla! ® name is used under a limited license from Open Source Matters in the United States and other countries. JoomShaper.com is not affiliated with or endorsed by Open Source Matters or the Joomla! Project.

Connect Us