Quickstart Guide for RockFrontend 🚀
Installation
- Download the RockFrontend module
- Copy it to your ProcessWire installation under /site/modules/
- Install the module in the ProcessWire admin
Site Profile
Please check out the RockFrontend Site Profile here: https://processwire.com/talk/topic/29884-rockfrontend-site-profile-rockfrontend-uikit-tailwindcss/
Basic Usage
Latte
RockFrontend can be used to render template files written in a templating language. It supports Latte and Twig by default, but any other language can be added.
SEO Tools
// Generate sitemap
$rockfrontend->sitemap(function($page) {
return $page->template != 'admin';
});
DOM Manipulation
// Modify HTML content
$html = $rockfrontend->dom($content)
->find('a')
->addClass('my-link-class')
->html();
Need Help?
- 📖 Check the detailed documentation for several features
- 🎥 Watch the tutorial video: RockFrontend on YouTube
- 💬 Visit the ProcessWire Forum for community support