by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • 13:05
    sminnee edited #9704
  • 11:13
    unclecheese synchronize #9652
  • 11:09
    unclecheese synchronize #9652
  • 10:45
    Cheddam edited #9704
  • 10:43
    Cheddam milestoned #9704
  • 09:54
    unclecheese synchronize #9652
  • 09:37
    sunnysideup edited #9705
  • 09:32
    sunnysideup opened #9705
  • 07:34
    bergice labeled #953
  • 07:34
    bergice labeled #953
  • 07:34
    bergice labeled #953
  • 07:32
    bergice labeled #894
  • 07:32
    bergice labeled #894
  • 07:32
    bergice labeled #894
  • 07:14
    bergice closed #706
  • 07:14
    bergice commented #706
  • Sep 22 21:39
    sachajudd commented #5984
  • Sep 22 21:35
    Cheddam edited #9704
  • Sep 22 21:34
    Cheddam assigned #9704
  • Sep 22 21:33
    Cheddam assigned #9704
Daniel Hensby
@dhensby
There should be, yes... can't recall off the top of my head
LeftAndMain::remove_cms_menu() or something?
Andrew Aitken-Fincham
@andrewandante
Or use permissions on the users to prevent them from seeing it, if you'd like to still be able to get in there if necessary
Chris Lock
@catharsisjelly
Hi peeps, I'm trying to get unit testing working and when I run phpunit it dies with no DB configuration, how do I fix this?
if I try to run the same tests using the CLI that tells me I'm not in dev mode
Chris Lock
@catharsisjelly
nvm.. I fixed it
Keith Loise
@keithloise
Hello guys. I just wondering if this code is obsolete Object::add_extension('CMSMain', 'CMSActionDecorator');
Daniel Hensby
@dhensby
@keithloise that's the old way to do it - you should be using yaml to add extensions now
Keith Loise
@keithloise
@dhensby oh. thanks Dan. noob ss dev here :)
Keith Loise
@keithloise
Screen Shot 2017-03-01 at 10.43.52 AM.png
Screen Shot 2017-03-01 at 10.43.42 AM.png
Hello . I just wondering why it gives me an error.
Screen Shot 2017-03-01 at 10.43.42 AM.png
If someone will help me that would be awesome :D
the error was.
Screen Shot 2017-03-01 at 10.48.34 AM.png
Daniel Hensby
@dhensby
@keithloise that error is too generic to help debug remotely. I don't see anything immediately wrong. If you run the site in "dev mode" you'll be able to see a full backtrace
also, there are more users on our slack channel than here - https://silverstripe-users.signup.team/
Keith Loise
@keithloise
oh thanks so much Daniel. that's what im looking for :) :D Cheers mate.
Klemen
@KINKCreative
Hello, everyone, I'm curious if anyone knows of a tutorial / guide or just a quick overview for how to integrate Silverstripe and Elastica.
Chris Lock
@catharsisjelly
Hey peeps, I cant for the life of me remember how to dump out a variable inside a template. Any help appreciated
Daniel Hensby
@dhensby
$Var.debug might work if it's viewable data...
helenclarko
@helenclarko
Hey all, quick question. Using the fluent module, just want to know if there is a way to pull only english version field in template even if on different language page.
helenclarko
@helenclarko
I WORKED IT OUT. Fluent module uses a db extension, so $title_en_NZ worked.
Daniel Hensby
@dhensby
👍
helenclarko
@helenclarko
How can I set a datefield to only allow selecting of dates 7 days from now?
Adrian
@adrian-stein
In the CMS I have a gridfield and have included the GridFieldExportButton button. Then I filter the view-able data using the standard column filtering interface and go to export but it will export all data and not just the filtered results that are shown on screen. Is there a way when exporting to only export the filtered results?
Daniel Hensby
@dhensby
@adrian-stein you need to upgrade your version of SS - that issue was fixed a while ago
Adrian
@adrian-stein
@dhensby what version do I need. I currently have 3.6.0
Daniel Hensby
@dhensby
@adrian-stein hmm - I thought it was fixed with silverstripe/silverstripe-framework#4767 but it looks like that's just for printing... I'm sure this has been reported and fixed before for exports
here's the issue in question silverstripe/silverstripe-framework#2066
Adrian
@adrian-stein
@dhensby Yes this was fixed by the looks of it but is not exactly my issue. My issues is when the user filters the gridfield using GridFieldFilterHeader to only show a subset of the results it still exports the entire gridfields results before the filter is applied and not just the results returned from the filter
Daniel Hensby
@dhensby
@adrian-stein sounds like a new issue, then - want to open an issue on the issue tracker?
also, there are more users on our slack channel than here - https://silverstripe-users.signup.team/
Adrian
@adrian-stein
@dhensby yeah il open an issue and post on slack. thanks. is slack the best option to ask people questions then? over this and forums?
Daniel Hensby
@dhensby
@adrian-stein Slack is definitely better than here because you'll have more than just me to talk to. As for the forum, I'm not really sure
Misagh Ghasemzadeh
@Misagh90
Hi everyone, I try to add some custom fields for member i use memberprofiles add-on. Would you tell me how I can add enum fields for this
Meldgaard
@CMeldgaard
Anyone here who has experience with Silverstripe Subsites, who has 5minuts to answer som questions
Daniel Hensby
@dhensby
hi @Misagh90 @CMeldgaard - there are more users on our slack channel than here - https://silverstripe-users.signup.team/
helenclarko
@helenclarko

Okay so I managed to get things working in core code, but obviously thats not a great place to put code. However when trying to add an extension, the code doesn't run (or fail). I'm so confused.

ProductCatalogAdminExtension:
https://pastebin.com/E34TysC7

Config.yml
https://pastebin.com/Fip6agPu

What am I doing wrong between these two?
I'm only trying to add a class to ProductCatalogAdmin. It extends ModelAdmin.

Daniel Hensby
@dhensby
@helenclarko - there are more users on our slack channel than here - https://silverstripe-users.signup.team/
Skullies
@Skullies
Good day everyone.
anyone here know how I can add a form to a dataobject as page?
I got the form to display but I can not submit data - it redirects to the controller
Daniel Hensby
@dhensby
@Skullies see previous messages ^ silverstripe.org/slack to get an invite to our slack community or see https://forum.silverstripe.org for our forum
Mohammadreza
@MohammaddReza
Hi, i need a module for watermarking image in ss4
Can anybody help me?
Daniel Hensby
@dhensby
SS4 uses the intervention/image package for image manipulation which has a watermarking feature, I believe, so there's no need for a specific module...
Tias
@MatiasGoodwin_twitter
Hi everyone, I have developed a video sharing site for a project where user can create an account and then embed a link from youtube to the site. I was wondering if there was a tool to verify that the video uploaded by the user on my site is also the same user on youtube. For example, if people were able to sign into my website via their youtube/google account, would there be any way to match the embedded video link to the youtube account?
Andrew Aitken-Fincham
@andrewandante
Hi @MatiasGoodwin_twitter - as you can see by the timestamps above, this is a pretty dead channel for communication. I'd recommend the Slack channel, which is pretty active: silverstripe.org/slack to get an invite to our slack community or see https://forum.silverstripe.org for our forum