PolyCMS for RISE CRM

Complete Blog, MTBuilder Visual Page Builder, PolyStore Native E-Commerce, and Multi-Tier Cache Engine built natively for RISE CRM 4.1+ on CodeIgniter 4.

Version 1.0.0 | By PolyXGO | Built for RISE CRM 4.1+ (CI4) | Updated November 2026

Overview

Welcome to the official documentation for PolyCMS for RISE CRM. This plugin extends your RISE CRM 4.1+ workspace into a complete Content Management System, drag-and-drop Visual Website Builder, and native E-Commerce platform running completely inside plugins/polycms/ with zero modifications to RISE CRM core files.

PolyCMS ships with Posts, Pages, hierarchical Categories and Tags, Drag-and-Drop Menu Builder, Media Library, Comment Moderation, MTOptimize SEO, XML Sitemaps, REST API v1 with API Explorer, a multi-tier Polycms_Cache and Polycms_Page_Cache performance layer with an in-admin Live Benchmark Showcase, MTBuilder Visual Page Builder, and the bundled PolyStore E-Commerce suite connected natively to RISE CRM Items, Item Categories, Orders, Invoices, Estimates, Payment Methods, Client Groups, Clients, Users, and Email Templates.

Why PolyCMS for RISE CRM?

  • 100% Native RISE CRM 4.1+ (CodeIgniter 4): Built on native CI4 controllers, Query Builder, hooks, permissions, and RISE Bootstrap 5 / Feather Icons styling.
  • Zero Core Modifications: Never alters app/ or system/; integrates strictly through RISE plugin hooks, routes, and filters.
  • Native E-Commerce (PolyStore): Sell Simple, Variable, Digital Download, and B2B Service items backed by RISE Order-First checkout, 1-click RISE Invoicing, and active RISE Payment Gateways.
  • Multi-Tier Cache & Live Benchmark: Auto-detects OpenLiteSpeed/LiteSpeed, Nginx, Apache, Redis, Memcached, APCu, and OPcache with strict e-commerce and login safety bypasses plus an anti-DDoS Live Benchmark console.
  • Production Security & 16 Languages: Full CI4 CSRF enforcement, HTMLPurifier XSS filtering, HMAC-SHA256 signed digital downloads, realpath() upload boundary guards, and 16 synchronized language packs.
System Requirements
  • RISE CRM 4.1 or higher (CodeIgniter 4.x)
  • PHP 8.1 or higher (tested on PHP 8.2 and 8.3)
  • MySQL 5.7+ or MariaDB 10.3+ (InnoDB engine)
  • Apache, OpenLiteSpeed/LiteSpeed, or Nginx with clean URL rewriting enabled
  • Optional speed extensions: Redis, Memcached, APCu, PHP OPcache
  • Writable files/polycms/ and writable/polycms/ directories

Quick Start

Launch your CMS, Visual Page Builder, and Online Store inside RISE CRM in under 3 minutes:

  1. Log in to RISE CRM as an Administrator and open Settings > Plugins.
  2. Click Install Plugin, upload polycms.zip, and click Activate.
  3. Click Blog > Dashboard in the RISE sidebar to explore your CMS workspace.
  4. Open Blog > Plugins and verify PolyStore (e-commerce) and MTBuilder (visual page builder) are active.
  5. Visit Blog > Cache & Performance to inspect auto-detected Redis/APCu/server stack and run a Live Benchmark.
  6. (Optional) Visit Blog > Tools > Demo Data to seed 28 RISE CRM guide articles, MTBuilder layouts, and a 25-product multi-industry store catalog in one click.

Full Installation, Permissions & Permalinks

Step 1

Install via RISE Plugins Manager

  1. Extract the marketplace bundle locally to locate polycms.zip inside the package root.
  2. In RISE CRM, open Settings > Plugins, click Install Plugin, upload polycms.zip, and click Activate.
  3. The installer creates 19 core rise_blog_* / rise_polycms_* tables, provisions protected storage directories, installs the default Head Random theme, and registers 8 bundled sub-plugins.
Step 2

Configure RISE Role Permissions (RBAC)

Open Settings > Access Permission > Roles, select a staff role, and toggle permissions for PolyCMS (View, Create, Edit, Delete) and PolyStore (View Dashboard, Manage Products, Manage Orders and Quotes, Manage Coupons, Manage Store Settings). Master API key viewing and regeneration remain strictly restricted to Administrators.

Step 3

Root-Level Permalinks, Reserved Slug Guard & Sign-In Links

  • Custom or Root Prefix: Open Blog > Permalinks. Keep the default blog prefix or leave the Blog prefix empty to serve PolyCMS directly at the root URL / while preserving native RISE /dashboard and /signin routes automatically.
  • Reserved Root Slug Protection: When using empty root prefixes, polycms_get_reserved_root_slugs() and polycms_ensure_safe_slug() prevent categories, posts, or pages from colliding with physical RISE folders (such as plugins, assets, files, app, system, writable, dashboard, signin).
  • Sign-In Blog & Shop Links: Optionally display centered Blog and Shop quick links beneath the RISE Sign-In card via Blog > Settings > General.
Safe Upgrades & Data Protection: Deactivating or deleting any sub-plugin preserves database tables and settings by default. Only an authorized administrator explicitly opting in via the confirmation modal can purge overlay tables, and RISE CRM core tables (Items, Orders, Invoices, Estimates, Clients, Users) are never altered or removed.

Core CMS Features

1. Posts, Pages, Categories, Tags & Comments

Publish articles and landing pages with rich-text editing, Public/Private/Password-Protected visibility, scheduled publishing, reading-time estimates, view counters, hierarchical categories, tag auto-completion, and comment moderation.

2. Dynamic Menu Builder & Media Library

Organize multi-level navigation menus from Pages, Posts, Categories, Tags, Custom Links (such as CRM portal or Shop links), and PolyStore categories. Manage uploads safely under files/polycms/ with Grid/List view and traversal-safe path validation.

3. MTOptimize SEO & Dynamic XML Sitemaps

Manage Meta Title, Meta Description, Focus Keywords, Canonical URLs, Open Graph, and Twitter Cards with live SERP preview. Dynamic sitemaps automatically expose sitemap_index.xml, product-sitemap.xml, and product-category-sitemap.xml.

4. Demo Data Kit, Export/Import & REST API v1

Seed 28 RISE CRM guide articles and 25 PolyStore products under Blog > Tools, run targeted JSON/SQL exports and backups, and connect external frontends via header-authenticated REST API endpoints tested in API Explorer.

Multi-Tier Cache Architecture & Live Benchmark Showcase

PolyCMS for RISE CRM includes an enterprise 3-tier caching subsystem designed for OpenLiteSpeed, LiteSpeed Enterprise, Nginx FastCGI, Apache, and Cloudflare origins, with zero-config fallback on shared hosting.

L1 + L2 Data Tiers

Adaptive Driver Cascade & O(1) Purge

  • Auto-Fallback Chain: Probes and selects Redis -> Memcached -> APCu -> File with an in-request L1 static RAM tier (1,000,000+ ops/s) and fail-open circuit breaker.
  • Site-Isolated Namespace Keys: Uses deterministic host+path hashes and O(1) group generation counters so clearing blog or store caches never collides on multi-site VPS hosts.
L3 Full Page + Edge

Safety Bypass & Cooperative Edge Headers

  • Strict Transactional Bypass: Automatically bypasses L3 cache on /cart, /checkout, /my-account, /order-received, /signin, /dashboard, logged-in RISE staff/client sessions, non-empty cart cookies, POST requests, and password-protected posts.
  • Dynamic CSRF Refresh & Singleflight: Re-injects fresh CSRF tokens into cached forms, supports ETag 304 Not Modified, uses stale-while-revalidate stampede locks, and emits X-LiteSpeed-Cache-Control and X-LiteSpeed-Purge tags cleanly.
Admin Benchmark Console

On-Site Live Benchmark Showcase & 4-Layer Anti-DDoS

Under Blog > Cache & Performance, administrators can inspect live web server/OPcache metrics, test driver latency, purge all cache tiers in one click, and trigger a real HTTP 3-pass Cold Bypass vs Warm HIT benchmark with built-in 4-layer anti-DDoS throttling (per-user cooldown, sliding window limit, global concurrency lock, and 30-second shared snapshot fallback).

PolyCMS Multi-Tier Cache & Live Benchmark Showcase
Live Benchmark Showcase running on OpenLiteSpeed + Redis + PHP OPcache showing Cold Uncached TTFB vs Warm Cache HIT TTFB, Response Grade A+, L1/L2 latency comparison, and HTTP edge headers inspector.

PolyStore E-Commerce (Bundled Native RISE Plugin)

PolyStore is a complete CodeIgniter 4 e-commerce suite bundled directly inside PolyCMS. It operates natively on RISE CRM 4.1+ entities: Items (rise_items), Item Categories (rise_item_categories), Orders (rise_orders), Invoices (rise_invoices), Invoice Payments (rise_invoice_payments), Estimates (rise_estimates), Payment Methods (rise_payment_methods), Taxes (rise_taxes), Client Groups (rise_client_groups), Clients and Users, and Email Templates (rise_email_templates).

Order-First Checkout & RISE Invoicing

  • Order-First Workflow: Auto-create RISE Invoice defaults to OFF to keep offline checkout aligned with native RISE Orders.
  • 1-Click Invoice Creation: Staff convert any order into a linked rise_invoices record with public /pay_invoice/index/{code} URLs and real-time FOR UPDATE stock synchronization.

B2B Quotes, Coupons & Digital Downloads

  • B2B Quote Requests: Saves directly as rise_estimates and links automatically when converted to an invoice.
  • 5 Coupon Types & Protected Files: Percentage, Fixed Cart, Fixed Product, Free Shipping, and BOGO coupons with RISE Client Group targeting, plus HMAC-SHA256 signed digital file streaming from writable/polycms/polystore_downloads/.

Bundled Sub-Plugins, MTBuilder, Widgets & Shortcodes

8 Bundled Production Sub-Plugins & Widget/Shortcode Library

  • 8 Sub-Plugins: PolyStore (v1.0.0), MTBuilder (with 10 dedicated PolyStore Store blocks and 7 store templates/presets), XML Sitemap, MTOptimize SEO, API Explorer, Google Analytics, Maintenance Mode, and Banner Slider.
  • 15 Drag-and-Drop Widgets: 9 CMS Widgets plus 6 PolyStore Widgets manageable under Blog > Widgets.
  • 11 PolyStore Shortcodes: [polystore_shop], [polystore_products], [polystore_categories], [polystore_product], [polystore_add_to_cart], [polystore_cart], [polystore_checkout], [polystore_order_tracking], [polystore_my_account], [polystore_mini_cart], [polystore_order_received].

Technical Reference (CodeIgniter 4 & RISE CRM 4.1+)

PolyCMS & RISE Core Hooks

// PolyCMS Internal Hooks
polycms_add_action('polycms_post_saved', $callback, 10, 1);
polycms_add_filter('polycms_frontend_dispatch_route', $callback, 10, 3);
polycms_add_filter('polycms_cache_bypass', $callback, 10, 2);

// RISE CRM 4.1+ Native Hooks Used by PolyStore
app_hooks()->add_action('app_hook_data_insert', [Polystore_Rise_Hooks::class, 'on_rise_data_insert']);
app_hooks()->add_action('app_hook_data_update', [Polystore_Rise_Hooks::class, 'on_rise_data_update']);
app_hooks()->add_action('app_hook_after_signin', [Polystore_Rise_Hooks::class, 'on_after_signin']);
app_hooks()->add_filter('app_filter_email_templates', [Polystore_Emails::class, 'register_rise_email_templates']);

Database Architecture

19 PolyCMS Core Tables (rise_blog_* / rise_polycms_*): blog_posts, blog_pages, blog_page_meta, blog_categories, blog_tags, blog_post_categories, blog_post_tags, blog_post_meta, blog_comments, blog_media, blog_menus, blog_menu_items, blog_widgets, blog_plugins, blog_plugin_options, blog_themes, blog_theme_options, blog_settings, blog_permalink_settings (plus extension tables for SEO metrics, banners, and MTBuilder templates).

13 PolyStore Overlay Tables (rise_polystore_*): polystore_product_meta, polystore_category_meta, polystore_product_categories, polystore_attributes, polystore_attribute_terms, polystore_product_attributes, polystore_product_variants, polystore_product_filter_index, polystore_carts, polystore_coupons, polystore_coupon_usages, polystore_orders, polystore_order_items.

Plugin Directory Structure

plugins/polycms/
├── config/          # CI4 Routes (polycms/*, polycms/plugin/*, sitemaps, REST API)
├── Controllers/     # CI4 Admin, Frontend, Cache, Tools, Plugins, MTBuilder controllers
├── Helpers/         # Core, Compat (CI4 RISE bridge), Security, Media, SEO, Template helpers
├── Language/        # 16 RISE language packs (947 synchronized keys)
├── Libraries/       # Polycms_Cache, Polycms_Page_Cache, Polycms_Cache_Benchmark, Polycms_Cache_Environment
├── Models/          # PolyCMS CI4 models
├── Views/           # Admin & Frontend views
├── assets/          # CSS, JS, and JSON demo datasets
├── dist/            # Compiled production assets
├── plugins/         # 8 bundled sub-plugins (polystore/, mtbuilder/, mtoptimize/, xml-sitemap/, ...)
├── themes/          # Default responsive theme (head-random/)
└── index.php        # RISE CRM Plugin manifest (Version: 1.0.0) & bootstrap

Troubleshooting & FAQ

Q: Can I serve PolyCMS at the root URL without conflicting with physical folders like plugins or assets?

A: Yes. Clear the blog prefix in Blog > Permalinks to enable root-level URLs while preserving /dashboard and /signin. PolyCMS automatically checks reserved slugs via polycms_ensure_safe_slug() so categories, tags, and posts never collide with physical RISE CRM directories.

Q: Will page caching affect shopping carts, checkout, or logged-in RISE CRM staff?

A: Never. Polycms_Page_Cache strictly bypasses cart, checkout, my-account, order-received, signin, dashboard, admin, logged-in user sessions, non-empty cart cookies, POST requests, and password-protected content, while refreshing dynamic CSRF hashes cleanly.

Q: Why does checkout not create a RISE Invoice automatically for offline Bank Transfer / COD orders?

A: Auto-create RISE Invoice on Checkout in Store > Settings defaults to OFF to follow RISE CRM's native Order-First pipeline. Staff can click Create RISE Invoice inside Store > Orders > Manage at any time, or enable auto-invoice for all checkout methods.

Q: Where are public media and private digital product downloads stored?

A: Public CMS images are stored under files/polycms/ with realpath() boundary checks. Private digital product deliverables live outside web-accessible upload directories in writable/polycms/polystore_downloads/ and stream only via HMAC-SHA256 signed URLs.

Support & Online Resources

  • Interactive Live Demo: https://risecrm.polyxgo.com (1-click Demo Administrator & PolyCMS Demo login available on /signin).
  • Author Support: Contact our engineering team through the CodeCanyon PolyXGO profile and include your RISE CRM version, PHP version, and relevant log entries from writable/logs/.

Change Logs

1.0.0 (November 2026) - Initial Release for RISE CRM 4.1+ (CodeIgniter 4)
------------------------------------------------------------------------
[NEW] Core CMS Engine: Complete Content Management System engineered for RISE CRM 4.1+ (CI4) inside plugins/polycms/ with zero core modifications, supporting Posts, Pages, Categories, Tags, Comments, Media Library, Drag-and-Drop Menus, Dynamic & Root-Level Permalinks, Reserved Root Slug Guard, REST API v1, and 16 synchronized language packs (1,078 keys).
[NEW] Multi-Tier Cache & Benchmark Showcase: Polycms_Cache_Environment (OpenLiteSpeed/Nginx/Apache/Cloudflare/OPcache probe), multi-driver Polycms_Cache (Redis -> Memcached -> APCu -> File with fail-open circuit breaker and O(1) group invalidation), Polycms_Page_Cache (strict Cart/Checkout/Auth/Logged-In bypass, dynamic CSRF refresh, singleflight SWR, ETag 304, X-LiteSpeed-Purge), and /polycms/cache Live Benchmark Console with 4-layer anti-DDoS throttling.
[NEW] Bundled PolyStore E-Commerce 1.0.0: 100% native RISE CRM integration using rise_items, rise_item_categories, rise_orders, rise_invoices, rise_invoice_payments, rise_estimates, rise_payment_methods, rise_client_groups, and 9 native RISE Email Templates, featuring Order-First checkout, 1-click RISE Invoice generation, visual swatches, O(log N) faceted filters, 5-type coupons, B2B Quotes, HMAC-SHA256 signed digital downloads, and Store Analytics.
[NEW] Bundled Sub-Plugins: MTBuilder visual builder (with 10 PolyStore blocks and 7 store presets), XML Sitemap (posts, pages, products, product categories), MTOptimize SEO, API Explorer, Google Analytics, Maintenance Mode, and Banner Slider.
[NEW] Demo Data Kit & Security Hardening: One-click onboarding dataset (28 RISE CRM guide posts with featured artwork + 25 products), optional centered Blog/Shop links on RISE /signin, full CI4 CSRF enforcement, HTMLPurifier sanitization, realpath upload guards, and 97.8% PHPDoc coverage.