If anybody has any pointers on where to get started making the blog module work I would appreciate it. I need for users (in a specific group) to be able to write blog posts without having page editing permissions and I also need to style the blog posts them selves. This is the first module I have used for Silver Stripe so unfamiliarity with the module system may be harming me. Is there a good module to get started on to feel my way around a bit? https://docs.silverstripe.org/en/4/developer_guides/extending/modules/ I have read. I did not find it much help. I have looked at https://github.com/silverstripe/silverstripe-blog/tree/master/docs/en/userguide and https://github.com/silverstripe/silverstripe-blog/blob/master/docs/en/index.md but as far as I can tell there they assume I already know how do to the basic things I cannot do.
It may be that this is not the blogging module I need....
Found that documentation, got the blog sort of working. There is no documentation on how to style it or how to make the admin interface available to users. My first use of a module but I have found the module documentation not much help (it is out of date, different file structure). Very confusing!
Is there any documentation for the blog module? The links from http://addons.silverstripe.org/add-ons/silverstripe/blog are dead
Trying to set up a button in a
GridField to view a file (via its
Link() method). I have set
formtarget="_blank" on a
GridField_FormAction. In the handler I use
LeftAndMain::curr()->redirect($link) . AFAICT the link should be displayed in a new tab, but it loads in the current tab. Why?
I am using a
GridField with a
GridFieldConfig_RecordEditor config yet my columns are not sortable. Checking all my
ModelAdmin instances with
GridField and some columns are sortable, some are not. Feeling confused!
It has something to do with permissions. If I use it as a
GridField is populated
I am stumped using a
GridField in a
ModelAdmin for a class with a
$has_many. I have a
ReceiptItem classes with where each
owns all set up). In
getCMSFields for the
Receipt class i build a
- $items = $this->items();
- $gridField = GridField::create(
- _t('receipt.items', 'Receipt Items Q'),
$itemsahs one record in it. On screen I get the column headers displayed as specified in
ReceiptItem::summary_fieldsbut there is no data displayed. Looking at the source of the page the row that is displayed that says "No items found" is of class
ss-gridfield-item ss-gridfield-no-itemsso there is some grid field action happening, just not what I want. Obviously I am doing something incorrect, but where should I be looking?
They are simple. I have had a breezy time adding the controls I need (except for my brain fart with
new, I am scrubbing that from my memory...). It is the viewing of records I need to control. In my case when the user goes to view a record I want them to see a PDF I have generated not the data. To that end I have to control the UI for viewing a record. In SS that means a template. I exhausted all the possibilities I could think of of which template to override, and
showtemplate=1 is no help here.
I still need to over ride the template for the View Form