Questions tagged [modx]

MODX (also known as MODX Revolution) is an open source CMS and web application framework written in PHP, using a MySQL or MSSQL database backend.

MODX is an open source CMS and web application framework written in PHP.

Content management is achieved with a simple document tree. Reusable, repeated HTML snippets are referred to as "chunks" and can be incorporated into templates. PHP code can be used similarly and is referred to as "snippets".

Download the latest MODX version

1039 questions
52
votes
3 answers

URL Encoding—Ampersand Problem

I'm having some trouble with some character encoding causing some problems with a search form on my website. One of the possible field values has an ampersand in it. When this is selected and a search is submitted the ampersand is encoded to:…
Vecta
  • 2,312
  • 5
  • 28
  • 47
20
votes
3 answers

Tiny MCE adding custom HTML tags

I am using Tiny 4.3.3 for MODx I need to add a

Some randome Input text by the user

I don't mind if is an extra menu Item or is in the Paragraph dropdown menu. I…
Jonathan Thurft
  • 4,087
  • 7
  • 47
  • 78
14
votes
2 answers

How to name a volume using a docker-compose.yml file?

I'm new to Docker and I'm trying to find out how to set the name of the created data volume. Currently the directory is automatically named as a long hash under /var/libs/docker which is far from user friendly. I'm attempting to set up a development…
Muzzstick
  • 304
  • 1
  • 2
  • 9
10
votes
3 answers

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 rewrite rules. RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ index.php?q=$1…
Brant
  • 1,764
  • 11
  • 18
9
votes
3 answers

Simple PHP CMS as an alternative to hacking Wordpress

For creating common user modifiable site I've been forcing Wordpress to do the work of a CMS. It's worked and the back-end is purdy but it's just too hacky for my tastes. So I'd like a simple CMS that is easy to customize and add dynamic content…
donut
  • 9,427
  • 5
  • 36
  • 53
7
votes
3 answers

gulp localhost Cannot GET /

First of all, I'm following Menno Pietersen's tutorial on Rapid MODx Workflow. I'm pretty positive I've followed it accurately, but for some reason when I do 'gulp watch' in my project folder I get a blank localhost:3000 page showing "Cannot GET…
Kevin Hamil
  • 81
  • 1
  • 1
  • 8
7
votes
2 answers

What is the best deployment practice when using MODX?

It is convenient when you have DEVELOPMENT version of application on your local machine and you may deploy it on STAGE server for testing (it's optional) and then deploy it on PRODUCTION server. You can do this relatively easily when there is a fine…
6
votes
5 answers

Which third party shopping-cart can easily be integrated with MODX Revolution?

Since there's currently no complete solution to build a modX powered website with integrated shop, I was wondering which would be the way to go, to achieve this with a third party cart. The integration in the frontend should be very close, so you…
bfncs
  • 10,007
  • 4
  • 32
  • 52
5
votes
0 answers

Poll manager with multiple questions for modx revo

I need a poll manager for modx with the possibility of adding more questions and answers to them. Standard module "Polls" allows add only one question. I want to use this module for creating system, which can check knowledge of any subject for my…
dark
  • 167
  • 1
  • 6
  • 17
5
votes
3 answers

How do I password protect resources in a ModX Website using htaccess and htpasswd?

We are trying to protect a couple of different resources in our ModX installation. The current .htaccess code is as follows (not including all of the ModX stuff) AuthName "Dialog prompt" AuthType Basic AuthUserFile…
4
votes
3 answers

Seeking opinions on the best CMS platform for designers and front end developers

I have so far been a dedicated Wordpress user, but have been researching other CMS solutions of late, specifically, looking for something that could potentially allow me to EASILY convert an XHTML site into a CMS site for most projects. I don't care…
4
votes
2 answers

How to show MySQL errors from a failed Modx/xPDO query object?

How do I show the error mysql throws when I try to insert data into a custom table and the insert fails? For example, below a bit of code that should(will) fail with an SQL error. $insert = "some insert sql statement that will fail"; $myquery =…
Sean Kimball
  • 4,506
  • 9
  • 42
  • 73
4
votes
4 answers

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 site pages look like: http://host.mynost.net/~tempname/index.php?id=8 A domain name has now been purchased but if I click on any Wayfinder links it still…
MeltingDog
  • 14,310
  • 43
  • 165
  • 295
4
votes
2 answers

Modx: How to create a contact form with a dropdown of offices to cc the email to?

In the contact us template I want to have a dropdown with the list of offices (All offices articles are places under the same parent node, so getting the list should be fairly easy). I need a way to add the office email address (Template variable…
code-zoop
  • 7,312
  • 8
  • 47
  • 56
3
votes
2 answers

TV output url title of resource id

When I create a multi select input where i can select resources and I want the output to be a link to that resource. How can I get to link to read/show the title of the page i'm linking to? I can't find any info about that. I've tried…
Meddie
  • 571
  • 1
  • 7
  • 22
1
2 3
69 70