Quickstart Guide for RockFrontend 🚀

Installation

  1. Download the RockFrontend module
  2. Copy it to your ProcessWire installation under /site/modules/
  3. 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?