21293 Posts in 5733 Topics by 2602 members
| Go to End | Next > | |
| Author | Topic: | 459 Views |
-
Can anybody help?

5 May 2012 at 12:26am
I am new to SilverStripe and have some problems which I have already posted about and some new ones.
How do I add a paypal donate button to a charity site. All the solutions I have found are old and the files don't exist anymore.
I cannot upload pictures (fairly basic thing to want to do), I have downloaded the patch but have no idea where to upload it to.Please can somebody help me?
-
Re: Can anybody help?

5 May 2012 at 1:26am
Hi Lemonie,
I the "patch" for file upload will require you to edit the files mentioned in it directly on your webserver.
As for the paypal donate button - I advise you to read the paypal docs for soemthing relating to making a simply button and then take that code and place it in your templates. If you need more help on templating please read through the tutorial / documentation.
I am sure that http://www.silverstripe.org/PayPal-donation-widget-2/ would still work with small changes if that, give it a try and post in the widgets sectio if you have any problems
-
Re: Can anybody help?

5 May 2012 at 3:58am
Hi Swaiba
Thanks for the reply. The contents of the patch are:
Folder.php.patch
Upload.php.patchI am new to this but I can't find and folders of those names in silverstripe?
-
Re: Can anybody help?

5 May 2012 at 4:32am
Patches are information about changes for SVN and the should contain a relative file path... however since I know what you are tlaking about (having mentioned / used them myself frequently)... take a look at them online...
http://www.silverstripe.org/general-questions/show/19724#post313439
you'll see "sapphire/filesystem/Upload.php" and some green stuff and some red stuff...
edit the file on the web, select the delete the red stuff and add the green stuff... I'll repeat edit the file... the patch is only useful to you as information not to update anywhere
-
Re: Can anybody help?

6 May 2012 at 9:11am
I have followed the instructions here ...
http://open.silverstripe.org/changeset/114471
but when I upload the Asset/Admin.php I get an error. This is used by a dog rescue and I need to upload many pictures and I need to fix it asap?!
-
Re: Can anybody help?

7 May 2012 at 1:50am
Fatal error: Class AssetAdmin_DeleteBatchAction contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (CMSBatchAction::getDoingText) in /var/sites/h/homelesshounds.org.uk/public_html/cms/code/AssetAdmin.php on line 438
-
Re: Can anybody help?

7 May 2012 at 1:51am
and the version of silverstripe?
from that message it looks like you have the wrong patch or you have applied it wrong.
| 459 Views | ||
| Go to Top | Next > |


