Closed Booklab closed 10 years ago
:+1: @stephpy make me an admin so i can also merge plz :blush:
You have not to set components file to use theming. You can define Model-Specific Custom blocks and This part without adding your component file.
oh :blush:
yes I know, at the very end of the page. I think that peoples need to see that the configuration is required. Otherwise, you have an object to string conversion error.
the model specific block don't work for me, maybe I miss something.
I understand, but configuration is not required. You could add theming things on any twig template.
Usage of __toString
is explained here:
Rendering the subject component will generate html using the __toString() method of the subject model.
{{ timeline_component_render(timeline, 'subject') }}
the model specific block don't work for me, maybe I miss something.
I already used it and it worked. Could you create an issue and explain your issue ?
Ok, I'll create an issue and try to explain.
Specify at the beginning that it is needed to specify components file in config. It's difficult to understand how it works otherwise in my opinion ( I spend 1 day on it...).