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
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
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
0 answers

Hybridauth not redirecting correctly with modx integratioin

I'm trying to get hybridauth working with modx but having lots of trouble getting it to work at all, I have this as my test script:
Sean Kimball
  • 4,506
  • 9
  • 42
  • 73
5
votes
1 answer

Prevent downloading unnecessary content depending on screen size

I'm building a responsive website on which I have a news section. Depending on the visitors screen size this section has either 2, 3 or 4 news items. For now, the cms (modx) always supplies 4 news items and if the user should have a small viewport I…
user1694077
4
votes
2 answers

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 one: [[~123]] (of course, 123 - it is an example — there are a lot of different numbers) Also I wanted to replace all the custom old…
Serhii Matrunchyk
  • 9,083
  • 6
  • 34
  • 47
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
3
votes
1 answer

MODX Revo: How can make pages load fast?

I'm working on a site with modx revo. I'm really annoyed by the slow loading op pages. There's a 2sec wait for a page load om my localhost ánd I have a SSD. I've been looking around to find out how to make pageload faster. I do have alot of…
Meddie
  • 571
  • 1
  • 7
  • 22
3
votes
1 answer

Programatically retrieve TVs assigned to a MODX Resource by a given ID

I'm rather new to MODX. I'm passing in a resource ID, and with that, I'd like to programatically retrieve any custom TVs used by a given resource along with its value. Here's where I've gotten so far: $resourceId = 1; $resource =…
dBdx
  • 61
  • 4
3
votes
2 answers

How to use the Modx Revolution API

I have a client who is looking at having some other company develop an iPad application that will pull resources out of their existing modx instance. [no - I don't know why it needs to be an app.... ] They are looking to use the Modx API, which…
Sean Kimball
  • 4,506
  • 9
  • 42
  • 73
2
votes
1 answer

ModX Revolution doesn't switch context

I'm using modX Revo with plugins Login and Babel. As there was wrote at Babel manual I made 2 contexts for two languages, used TV params and wrote contextSwitch plugin. It is mostly like plugin from example at the manual. After that I put plugin on…
Ist
  • 23
  • 1
  • 10
2
votes
1 answer

MODX: Show "read more" just when the content is longer than ellipsis=`400` (for example)

I have tried coding a Modx Blog, and everything is working fine, but I want to display a "read more" button only if the content is longer than the ellipsis. The Problem is: The Content is mixed, so there are a few short announcements of about 200…
joe8
  • 97
  • 2
  • 11
2
votes
3 answers

Call Snippet From Jquery/Ajax MODx

I have a select element that does a post using jQuery on a change event, I was trying to post it to a snippet and get the results back, however it seems that if the snippet is called directly from javascript there will be no notion of the ($modx)…
Yehia A.Salam
  • 1,987
  • 7
  • 44
  • 93
2
votes
1 answer

Existing MODX lazy loading

I have a website and customer want to optimize it a bit so, is there any easy ways to make it through MODX plugin or snippet? I tried to do it manually but it always take a lot of time. Found no ways in internet. How can I achieve this?
Mateech
  • 1,010
  • 1
  • 11
  • 26
2
votes
6 answers

modx revolution slow backend

Has anyone come up with a way to speed up the backend in modx? I was thinking that creating a set of pages in modx with admin privileges to modify the site content, so that it looks customized, works in IE and is not slow. Any thoughts on this?
Daniel
  • 34,125
  • 17
  • 102
  • 150
1
2 3
40 41