2,298
questions
0
votes
2
answers
26
views
Using silverstripe-linkfield with subsites
I have a silverstripe site with 6 subsites, and have used LinkField throughout for creating various links in banners etc, however the 'Page on this site' TreeDropdown shows all pages in the 6 sites, ...
2
votes
0
answers
26
views
Silverstripe TableView template override
Does anyone know if there is an option to override the TableView template in the Silverstripe asset-admin.
I am wanting to view image filenames as well as to be able to sort them, but it seems like ...
0
votes
0
answers
16
views
Silverstripe v4 URL issue
for some reason, my website URL is skipping back (pages in URL) to the index page
have a look please and click on any page
https://www.baybuckwheat.co.nz/
The URL will not display the page you clicked;...
0
votes
0
answers
16
views
Filter by relation in ModelAdmin with getDefaultSearchContext
I have a modelAdmin which manages CustomerSignups. I'm trying to search for records filtering for EventDate and for the ExperiencePage. CustomerSignups has_one Event which has_one ExperiencePage. ...
0
votes
0
answers
37
views
Silverstripe login with google, microsoft and apple ids
I am trying to give access to silverstripe cms with social login, but I am not finding any way. How can I do that?
I am looking into structure of login in silverstripe but that didn't go well. I am ...
0
votes
0
answers
36
views
Extending PageController from the root namespace in a SilverStripe submodule
Updating a site from SS3(!). The page controller is:
// /app/src/controller/PageController.php
namespace {
// use statements
class PageController extends ContentController
{
...
0
votes
1
answer
28
views
Silverstripe elemental userforms - Get the FormElement title into the email template
I'm using dnadesign/silverstripe-elemental-userforms in a site and there are lots of different forms, but the email only fires through the fields in the form, so there is no easy way for the client to ...
0
votes
0
answers
14
views
Blank screen on SilverStripe 3.7.2 after leaving session opened for several hours in multiple tabs and saving changes, changes lost
I would appreciate if anyone could shred some light into this problem and if possible, solve it.
A client of mine is experiencing an issue which relates to editing several products on his SilverStripe ...
1
vote
1
answer
30
views
How to make the header section Sticky of a Silverstripe GridField in the CMS
I have a Silverstripe 4 website which I want to have a sticky header to the GridFields. Once I scroll down the header should be on top.
I tried adding custom css but it did nothing:
Controller:
$...
0
votes
0
answers
11
views
In SilverStripe/GraphQL 4 how do I get the bulkLoader auto generated schemas to allow has_many and many_many updates?
My GQL schema is generated via the bulk loader but it's create and update input objects don't have fields corresponding to has_many or many_many relationships, even though the read queries do.
Is ...
1
vote
1
answer
23
views
Filter Files that the current user has permissions to view
I want to query the files against a search term, and only show the files the current user has permissions to view.
$files_basic = File::get()->filterAny([
'Title:PartialMatch' => $s,
...
1
vote
0
answers
13
views
Silverstripe FulltextSearchable use Operators
I've implemented a search page using the fullTextSearch feature in SilverStripe. It seems to work ok.
How can I use search operators like AND(+) and NOT(-) in my search terms. It is defaulting to OR....
0
votes
1
answer
28
views
Save a field for every SiteTree item
I have an extension that sets up search fields like this:
public function onBeforeWrite(){
parent::onBeforeWrite();
$this->getOwner()->SearchContent = $...
-2
votes
1
answer
37
views
SilverStripe 4.12 Email->addAttachment() from input file form
I'm using silvestripe 4.12 and I'm trying sen email from form but i need send email with attachment from input.
But when I send contact form its throws server error: Sorry, there was a problem with ...
0
votes
0
answers
14
views
Silverstripe GraphQL error after injecting the Member class and adding a custom Member class
I need to override the onBeforeWrite function in the member class in order to allow users who already have an account to be registered. So I defined an Injector in the yml file to the Member class and ...