Dave W

Trying to use this, but /dev/build just goes to a 404 page

Dave W

Hey friends, Trying to get SS 4 installed on Windows IIS. Works for the most part, but can't run a dev/build or access the admin panel. Thinking because of a URL rewrite issue. Using the web.config files that came with the install

Dave W
Dave W in #general 2019-08-15 15:20:36 (edited) (deleted)

Hey friends, Trying to get SS 4 installed on Windows IIS. Works for the most part, but can't run a dev/build or access the admin panel. Thinking because of a URL rewrite issue. Using the web.config files that came with the install

Dave W

Hey guys, trying to get SilverStripe installed on Windows IIS, and getting a "Too many redirects" error on the install page. web.config file:

  1. <!-- Routing configuration for Microsoft IIS web server -->
  2. <configuration>
  3. <system.webServer>
  4. <rewrite>
  5. <rules>
  6. <rule name="SilverStripe Redirects" stopProcessing="true">
  7. <match url="^(.*)$" />
  8. <action type="Rewrite" url="/public/index.php" appendQueryString="true" />
  9. </rule>
  10. </rules>
  11. </rewrite>
  12. </system.webServer>
  13. </configuration>

Any ideas on why that would cause a redirects issue?

Dave W

Anyone know how to grab the fields and values of a form onBeforeWrite in userforms?

Dave W

Anyone know of a way to hide the "Replace data" in the csv importer dialog?

Dave W

nvm, just removed it with CSS for now.

Dave W

@rosh Thanks man,

Got it working with:

  1. 'ID' => [
  2. 'title' => 'Product ID #',
  3. 'field' => NumericField::class,
  4. 'filter' => 'PartialMatchFilter',
  5. ],
👍 (1)
Dave W

Hey there, trying to add the ID of a data object to the $searchable_fields in 4.2, but it doesn't seem to work. Clicking the magnifying glass doesn't show a field to enter the ID number. Is there something special needed to get the ID searchable?

  1. private static $searchable_fields = [
  2. 'ID'
  3. ];
Dave W

Anyone every have this problem before?

/admin/pages not loading, just a blank page. The view is in the network tab, it's just not loading into the element