-
Task
-
Resolution: Fixed
-
Neutral
-
None
-
None
-
-
Empty show more show less
-
Empty show more show less
-
Yes
It should not be a requirement to have STK installed to be able to use categorization.
Currently there are the following "dependencies"
- info.magnolia.module.categorization.commands.CategoryGeneratorCommand depends on
MAGNOLIA-6042 - info.magnolia.module.categorization.functions.CategorizationTemplatingFunctions depends on
MAGNOLIA-6042+ STKTemplatingFunctions - info.magnolia.module.categorization.model.CategoryOverviewModel depends on STKPager
- Use Pagination from
MTE-2instead
- Use Pagination from
- info.magnolia.module.categorization.syndication.CategorySyndicator depends on
MAGNOLIA-6042+ STKTemplatingFunctions
Other tasks
- Make former stk components (stkCategoryOverview, stkRelatedCategoriesLinkList) and stk page (stkCategoryOverview) available in this module
- init.inc.ftl from STK can't be used anymore
- Create simplified version in this module
- Remove renderType=stk from existing components:
- catCloud
- catCloudWide
- catCloudExtras
- categoryRSSFeed
- Component template categoryOverview uses functions from STKTemplatingFunctions
- ... stkfn.abbreviateString(item.abstract!, 100) ... (depends on
MAGNOLIA-6052) - ... stkfn.getAssetLink(item, "teaserImg", "teaser") ... use DamTemplatingFunctions#getAssetLinkForId(String, String) instead (see:
MGNLDAM-527)
- ... stkfn.abbreviateString(item.abstract!, 100) ... (depends on
Follow up
Above changes require follow-up changes in STK – in particular adding removed STK-components from this module to STK itself and ideally extending the ones from categorization.
Notes
This will break binary compatibility of some classes.
- depends upon
-
MGNLRSSAGG-189 Remove implicit dependency to STK
- Closed
-
MAGNOLIA-6042 Add TemplateCategory and related Utils to main so developers can use template categories without having to install STK
- Closed
-
MAGNOLIA-6052 Add method to templating functions to abbreviate strings
- Closed
-
MTE-2 Add pager / pagination model
- Closed
- is depended upon by
-
MGNLSTK-1461 Conditionally bootstrap categorization components that were removed from categorization module
- Closed