Questions tagged [silverstripe]

Silverstripe stands as a pillar of innovation in the world of web development, offering a cost-effective and accessible PHP framework alongside its powerful Content Management System (CMS). This dynamic platform is built on the renowned Silverstripe Framework, setting it apart from the competition.

Facebook Connect Module for Silverstripe CMS

I encountered an issue while working with the Facebook authentication module. I was attempting to log in using Facebook, but it appears that it's not functioning correctly. After clicking the login button, it prompts for permissions on the Facebook site an ...

Retrieving has_many data from a different page type in Silverstripe

Hey there, I'm diving into Silver Stripe development and PHP/MySQL for the first time. So bear with me as I navigate through this new territory. I've got a project that demands a pricing page showcasing various plans on both the pricing page and homepage. ...

I am facing an issue with the Silverstripe Form Renderwith function not displaying the form or any of its

After attempting to display a form using a template, the following code was utilized: function FacebookForm($fbFields) { $actions = new FieldSet( new FormAction('doFaceBookForm', 'Register') ); $me ...

What is the method for accessing the status code and body within my default template?

Is there a way to show the HTTPResponse status code and body in a controller's action template? I attempted to set it as follows: $this->response->setStatusCode(400); $this->response->setBody('invalid 2'); However, when I return $this, only ...

The function getCustomSearchContext is not properly functioning within the SilverStripe platform

I have designed a custom Album DataObject, outlined below, to be administrated in the CMS using ModelAdmin. Within the search filter, only the Name input field is currently available. However, I aim to incorporate an additional input field for Author. My ...

Changing the locale in Silverstripe with the fluent module

Good day, I am curious if anyone is aware of a way to manually set the locale. I need to update some items in the database based on the locale using a cronjob, but instead of using the server's locale, I want to set it based on certain variables. Is ...

Problem with Silverstripe: Replicating Site configuration or settings menu

I have duplicated the Settings menu (siteConfig) folder in order to create a new CMS menu for inputting company information. The functionality of the menu is working correctly, however, the CSS styling is not loading properly. Image: https://i.stack.imgur ...

Deactivating distance-based shipping method in SilverStripe SilverShop

My ecommerce site is powered by the SilverShop add-on and utilizes SilverStripe Shipping. However, I encounter an error when trying to run it on a remote server, specifically on the production copy of the site. The error seems to be related to silvershop/g ...