Computations

c_configuration

setResourceIDs

Looks for resource IDs of key Romanesco pages that were built by the Romanesco Backyard package. Updates system setting with corresponding ID if resource is found. Disabled by default.

UpdateStyling

Fires when theme settings are changed under Configuration. It updates Semantic UI theme.variables and triggers a new SUI build in the background. Requires NPM and EXEC function on the server.

c_content

AutomaticReferences

Turn references to an external link (the ones you can create under TVs > Links) into an actual link. Links are referenced by their number value and must be enclosed in square brackets: [12].

ManipulateDOM

Manipulate DOM elements with HtmlPageDom. Yes, that's exactly what jQuery does... But now we can do it server side, before the page is rendered. Much faster and more reliable.

ProcessMarkdown

Ensure correct Markdown rendering by setting the proper MIME type. Set the MIME type back to HTML when viewing the resource in the browser, to prevent the page from being downloaded as file.

setResourceGroup

Add resource to a specific group, based on certain conditions or variables.

TableOfContents

Generate a menu with internal links to all headings in the content. The headers need to have an anchor, which can be automatically attached by switching on the auto_anchors TV.

c_contentblocks

c_formblocks

fbLexiconMgr

Load FormBlocks lexicon in MODX manager.

fbLexiconWeb

Load FormBlocks lexicon in web context.

c_global

ClearCustomCache

Only clears cache partitions of navigation groups, to make sure save actions are immediately reflected on frontend. In the future, other partitions should be cleared on certain triggers too.

LexiconWeb

Load default lexicon in web context.

ManagerAugmentations

Small tweaks to the MODX backend, to enhance the Romanesco experience.

c_performance

GenerateCriticalCSS

Determine which CSS styles are used above the fold and write them to a custom CSS file. This needs NPM and the critical package to be installed.

GenerateSiteCSS

Creates site.css file for each context, with their own global backgrounds. If you want a context to have its own set of backgrounds, you need to add a child page under Global Backgrounds.