Useful utilitaries that can be reused for future projects using the 288-symphony-framework
Add minimal html markup and styles to prevent margins from collapsing.
util-uncollapse-margin
Creates an element with a fixed ratio which can be used to sync with another element's min-height.
util-proportion-filler
Get a random number between a min and max value.
util-random-number
Creates a node usable by util-auto-url.
util-button-node
Create an excerpt from a text by adding a max word count.
util-excerpt
Created the url based on the xml context and section name.
util-auto-url
Output a new custom node from an existing one from a set of rules.
util-rewrite-node
Useful to create count something that can be of multiple type. Prevents xsl error when trying to count a string for example.
util-count
Generates necessary attributes for any elements that needs to transition on scroll
util-transition-scroll
Returns an absolute image path from an image node created from an image-upload field.
util-image-path