Skip to content

Helper functions in Painfree.php for dynamic JS and CSS loading #3

@blister

Description

@blister

Historically, we relied on each template to dynamically load scripts and css files for each view into the template if a file existed. This required the template to write the code to check for the existence of those files in their templates.

There should be a few helper functions to perform this check and return a preformatted string to include directly in the template.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions