Questions tagged [modx-revolution]

An open source content management framework based on PHP & MySQL. Modx does offer an Enterprise level distribution that also incorporates Apache SOLR.

ModX Revolution is the second generation in the ModX series of Content Management Platforms (CMP). In contrast to other Content Management Systems, ModX attempts to streamline the web development process by logically separating HTML, CSS, PHP into a variety of logical objects. The result is the ability to quickly development a wide range of web-sites from simple content providers to full-scale web-based applications.

604 questions
2
votes
1 answer

MODX Manager appears as a blank page after login

I've got a site thats been up for over a year. Today, however, I tried to login to the dashboard today and was presented with a blank screen. The login form appeared fine, but just redirected to a blank page. I've cleaned the cache manually and…
MeltingDog
  • 14,310
  • 43
  • 165
  • 295
2
votes
1 answer

Strip_tags() expects parameter 1 to be string, array given

hopefully this is a quick and easy fix. I'm using Solr to search on my MODX site and am having some troubles with the PHP... I'm quite a noob when it comes to this stuff. Anyways, the error I'm getting is: PHP warning: strip_tags() expects parameter…
Matthew Meredith
  • 75
  • 1
  • 2
  • 10
2
votes
2 answers

How can I group my entries by TV with getResources (ModX)?

I have a getResources call, the result looks more or less like this: 01.01.2016 - new year's lunch (meetings) 11.12.2015 - writing class (classes) 01.12.2015 - trip to London (trips) 23.11.2015 - french class (classes) I can sort them by…
peace_love
  • 6,229
  • 11
  • 69
  • 157
2
votes
2 answers

MODx 500 error on install?

I have tried to install MODx on my new hosting, it uses PHP 5.5, but the problem is that i can not install any version, tried with latest, and even with 2.2, but no luck. Setup is working ok, but on final action in…
Miomir Dancevic
  • 6,726
  • 15
  • 74
  • 142
2
votes
0 answers

Scrolling window in embedded Coldfusion Form

I've recently had to take over a badly-coded coldfusion form that I am trying to put in place some band-aid fixes until my team gets around to rewriting the entire thing. The form is embedded in a ModX site, and I'm having trouble getting the window…
Kyle
  • 21
  • 6
2
votes
1 answer

MODX: How to retrieve name of user who created resource?

I am using getResources to display blog entries. For each entry I want to display the name of the user who created the resource. I can retrieve their ID using placeholder [[+createdby]] but I don't know how to get their name. Does anyone know how to…
MeltingDog
  • 14,310
  • 43
  • 165
  • 295
2
votes
2 answers

Last insert ID with ModX PDO?

I am trying to get the ID of a last row I've inserted with a php/mysql query: $createjob = $modx->query($createjob); $lastId = $modx->lastInsertId(); but this does not seem to be working. Does any one know the correct way of doing this with ModX…
MeltingDog
  • 14,310
  • 43
  • 165
  • 295
2
votes
2 answers

MODx second runProcessor returns response of the first one

Hi and thanks in advance for any help! So the problem is: I run 2 different processors in plugin - i'm creating a user (security/user/create) and creating additional information object (my custom class). The problem is that second processor always…
2
votes
4 answers

Display ModX placeholders as code in ModX resource?

I want to share some ModX template code I've made on my ModX site. I can paste the html in fine using
 but the chunks, eg [[$footer]] [[$header]] and placeholders, eg [[*content]] still display as ModX Placeholders meaning I see the contents of…
MeltingDog
  • 14,310
  • 43
  • 165
  • 295
2
votes
2 answers

How to convert SQL where LENGTH() condition to xPDO?

How do I express the where clause in this: select * from TABLE where LENGTH(COLUMN) > 0 in xPDO? $criteria->where(array('LENGTH(customer_po_num):>' => '0')); does not work, it results in something like…
Sean Kimball
  • 4,506
  • 9
  • 42
  • 73
2
votes
3 answers

Modx Revolution - New user cannot login

I'm trying to create a new user in MODX REVOLUTION 2.3.0 but for some reason, the user cannot access the manager area. I tried to clear every bit of cache as well as to made sure the password is created by the system (email has been sent) and the…
2
votes
1 answer

Returned array yields unexpected result

I have a modx revolution snippet [ajax processor actually] that passes some data to another snippet calling a function... runSnippet($_POST['snippet'],array( …
Sean Kimball
  • 4,506
  • 9
  • 42
  • 73
2
votes
2 answers

duplicating modx revo install

I'd like to do some changes to a modx revo install through a staging subdomain, with a separate database. What's the easiest way of doing this? I've been battling with this for two days. I'm trying a new install now and replacing content,…
Daniel
  • 34,125
  • 17
  • 102
  • 150
2
votes
3 answers

How do I get FormIt with ModX Revolution to redirect to a web page id (ie. www.myurl.com/index.php#contact)?

Okay, so the issue is that I created a one page html website with multiple sections that represent all the pages. The problem that I am having is that the FormIt contact form works, but I can't get it to redirect to the right id. So, once I submit…
Mike
  • 1,590
  • 8
  • 27
  • 41
2
votes
1 answer

Configuring MODx Revolution to work with both http and https

I have a website using MODx Revolution (2.2.10-pl, advanced install), let's call it www.example.com, which I want to be accessible with both http and https. to achieve this, I tweaked the site_url context setting to be…
Silly Freak
  • 4,061
  • 1
  • 36
  • 58
1
2
3
40 41