Top "Modx-revolution" questions

An open source content management framework based on PHP & MySQL.

How to preg_replace_all in the large amount of data

I just making an upgrade script for replacing all the MODX snippet tags to a newer format: Old one: [~123~] New …

php regex preg-replace upgrade modx-revolution
How to remove .html from the Friendly URL - Modx?

I'm using MODX Revolution 2.2.4-pl. I'm using the supplied .htaccess file and have friendly URLs turned on. These are my …

html .htaccess modx modx-revolution
ModX Revo: Update sites base URL?

I developed a site for a client before a domain name was chosen. As a result, the URLs for the …

url configuration content-management-system modx modx-revolution
Running custom database queries in ModX Revo

I am trying to query the database within a snippet within ModX Revo: <?php $leadersql = "SELECT * FROM `modx_menus`"; $…

php mysql content-management-system modx modx-revolution