Closed lukkov closed 2 years ago
on commando, brand aware, only internal, ideally a nice CMS, otherwise allow us to add html with a WYSIWYG
Reminder:
Categories are brand-aware (singular), create some here:
Then create an article:
Like BiomarkerCategoriesAction and ProductCategoriesAction on Commando, we need endpoint for fetching article categories and ArticleCategoryRepository on sdk
@lukkov Can you dummify this?
What would be the methods be, and where?
Just for listing, same as for the product and biomarker categories, ProductCategoryRepository for example. Categories should be displayed on top of the page so articles could be filtered.
I could extract categories from fetched articles and display that but this may be better solution if we have pagination one day
My mistake, didn't see \LML\SDK\Repository\Blog\CategoryRepository
No problems, I forgot to put it in message.
We should add some cover image on article so it is displayed when listing articles
And banner image so it can be loaded on top of the page when view article
Reminder:
File
object, return it via APIAdded:
Article::getLogo(): ?FileInterface
DISCUSSION
As a part of login system discussion, on LML we have articles section, so we need to decide where should be handled functionality of writing articles and storing.
URL https://www.londonmedicallaboratory.com/article/2