I want to pass data from a simple HTML form to a controller through Ajax, then process the data and return a response back.  At the moment I have the following:  HomePage.ss  <form method="POST" class="form-horizontal submit-form"...
In Silverstripe if you right click on a page in Sitetree you have the ability to duplicate either a single page or a page and all its children.    We have found that users occasionally duplicate pages with large numbers of children and would like to...
This question is about the URL Update feature when changing the value of a Page Title field. The behaviour is coded into CMSMain.EditForm.js.    I'm stripping down and customising the CMS to be usable by an absolute basic computer user or the neg...
I have a ModelAdmin with MyDataObject has_many AnotherDataObject and SilverStripe Grid Field Extensions Module that is controlling the   class TestAdmin extends ModelAdmin {     static $managed_models = array('MyDataObject');     static $url_...
I have found on Silverstripe website this custom js programmation :  https://docs.silverstripe.org/en/3.2/developer_guides/templates/requirements/  Requirements::javascriptTemplate("cms/javascript/editor.template.js", $vars);   At the end of...
I'm trying something different for a SilverStripe project: I need to find a way to take fields in the CMS and put them into JavaScript variables for use in a JavaScript file.   For starters, I have a Header CMS field in Page.php:  private static...
I'm using Stripe.js to try and retrieve a token for a payment source before the ItemEdit form is submitted. I'm able to stop the form submission and grab the token, but I'm trying to figure out how to call the submit action again after th...
I have been searching across the Web to find a solution to this:  Basically what I want to setup is a way to have an HTML page on a live production site to kept updated. This is because I have setup a SilverStripe Application as part of a graphics s...
Trying to use the vegas slider http://vegas.jaysalvat.com/ in a Silverstripe project and I am having trouble setting up to allow the images to be added via the CMS.  Tried using          $vars = array(         'Slideshow1' => $this->Sli...
In SS we can do combined files to make run websites faster. But It was a problem when some files is being updated and the are not refreshed into combined file. I must delete the combined file and flush the cache to recreate the file... Is there are a...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.