Basic registration with eForm

on 08-Jul-10 20:22 | Comments ( 2 ) Tags: CSS, eForm, Evolution
This tutorial shows how to create a basic registration form that, when submitted, sends a notification email and saves the values into a custom table.

Alter the createdon

on 03-Jun-10 15:09 | Comments ( 2 ) Tags: Evolution
Modify the createdon date field in the database so you can fake that a document was created in the past.

Get the parent

on 07-May-10 14:09 | Comments ( 7 ) Tags: Evolution
11 examples of how to get the parent id of the current document. Not all of them are practical but it's a good learning resource.

Secure the modx manager

on 09-Mar-10 16:56 | Comments ( 0 ) Tags: Evolution
Secure the modx manager and the important information that might be stored in a custom module.

Remove 'Config file still writable' warning on Windows

on 04-Mar-10 15:28 | Comments ( 4 ) Tags: Evolution
Windows environments won't allow you to set the read-only flag for a file with a ftp browser. This article presents a simple workaround based on chmod.

Make an editable 'copyright' section for your client

on 28-Feb-10 14:58 | Comments ( 6 ) Tags: Evolution, GetField
It's not often that a client will update the copyright information on his website, but just to make sure he can here's a simple way to do it.

Fast and simple site map with Wayfinder

on 23-Feb-10 17:38 | Comments ( 4 ) Tags: Evolution, Wayfinder
Wayfinder can be use to create a quick site map for your website.

Ditto`s orderBy

on 20-Feb-10 14:00 | Comments ( 4 ) Tags: Ditto, Evolution
Short article about the orderBy parameter.

Scalable CSS-only RSS icon

on 19-Feb-10 09:50 | Comments ( 7 ) Tags: CSS
A short experiment on how you can create a RSS icon with only HTML and CSS3. With some javascript help the experiment works in IE.

Detect empty html elements TinyMCE lefts behind

on 11-Jan-10 09:41 | Comments ( 1 ) Tags: Evolution, Revolution
TinyMce it's a nice tool to edit your website but it doesn't clean empty tags. Javascript can be used to highlight them.

Make eForm replace chunks and snippets

on 09-Dec-09 12:48 | Comments ( 8 ) Tags: Evolution
By default eFrom will not replace the chunks and snippets found in the template. The solution takes advantage of eForm events and modx APIs so no eForm hack is needed.

TinyMCE with table controls

on 03-Dec-09 09:40 | Comments ( 4 ) Tags: Evolution
Set up TinyMCE content editor to show table controls

Single value check-box with no label

on 26-Nov-09 23:30 | Comments ( 0 ) Tags: Evolution
Simple trick to get rid of the label for a single value check-box.

Get lost 'File Manager' path

on 21-Nov-09 22:40 | Comments ( 2 ) Tags: Evolution
When moving or updating websites from a staging version on a different server you will need to know the "File Manager" path. Here's a simple way to find it.

New documents with eForm

on 15-Nov-09 22:11 | Comments ( 11 ) Tags: Evolution
The following tutorial will show how to create new resources(documents) with help from eForm

Upgrade MODx Evolution from command line

on 01-Nov-09 08:32 | Comments ( 1 ) Tags: Evolution
Upgrading to MODx Evolution is slightly different and simpler than upgrading to a RC.

How change the captcha noise images

on 24-Oct-09 23:14 | Comments ( 0 ) Tags: Evolution
Change your captcha noise images to match your website theme or colors.

Upgrade to MODx Evolution 1.0.1-RC1 from command line

on 18-Oct-09 09:39 | Comments ( 0 ) Tags: Evolution
Upgrade to the latest modx via the command line.

Where to keep your css and template images

on 17-Oct-09 22:09 | Comments ( 5 ) Tags: Evolution
Although you can keep your files and template images any place you desire here's how I like it.

Notifications on user login

on 08-Oct-09 23:43 | Comments ( 0 ) Tags: Evolution
A plugin to get notifications when a Web User or Manager User logs into modx.

Send email notifications when a document is saved

on 05-Oct-09 22:22 | Comments ( 16 ) Tags: Evolution
If you ever wanted to send an email notification when a document is saved here is how I do it.

Creating a simple FAQ section

on 04-Oct-09 08:33 | Comments ( 3 ) Tags: Evolution
Here's a simple way to add a nice and simple FAQ section to your website.

Starting the Revolution

on 25-Sep-09 14:16 | Comments ( 0 ) Tags: Revolution
If you ever wanted to have a look at what Modx Revolution brings in to the world, here's an easy way to install it yourself.

Take advantage of Ditto's @FILE property

on 22-Sep-09 10:39 | Comments ( 2 ) Tags: Evolution
When using Ditto with custom templates that call other snippets you might loose the caching functionality. One way to fix it is to use runSnippet API. Another one is to use @FILE property.

Using eForm with external chunks

on 20-Sep-09 14:12 | Comments ( 0 ) Tags: Evolution
This tutorial will take advantage of eForm's ability to run snippets. Although it's a limited functionality, this article will show you how to take advantage of it and use it to keep your html in external files.

How to add custom tags to your documents

on 15-Sep-09 09:30 | Comments ( 3 ) Tags: Evolution
Here's an easy way to properly tag your documents. You will need access to phpMyAdmin or a similar tool.

Creating a content separator

on 14-Sep-09 22:37 | Comments ( 1 ) Tags: Evolution
Often you might want to easily display a nice separator between 2 paragraphs or 2 sections of your website. Here's how I do it.

Overcome caching limitation when you call a snippet inside another snippet

on 14-Sep-09 17:18 | Comments ( 1 ) Tags: Evolution
Most of you know that in order to use a snippet inside another snippet you have to alternate the snippet calls like [!, [[. Now your snippet call will not be cached anymore. Here's how to overcome this limitation.

XHTML valid pagetitle/longtitle

on 13-Sep-09 18:05 | Comments ( 6 ) Tags: Evolution
Sometimes your page titles might contain special characters like "&". W3C's markup validation service will throw an error if you do not replace & with &

Hide empty sections with PHx

on 13-Sep-09 11:53 | Comments ( 4 ) Tags: Evolution
Sometimes you might need to switch off parts of your website because there is no content to display.

How to output the height and width of an Image TV

on 13-Sep-09 10:44 | Comments ( 2 ) Tags: Evolution
There are some cases when you need to output the image height and width in your HTML. The best solution I found is using a PHx custom modifier.

Quick modx Evolution Tags

  • cached [[snippet]] or uncached [!snippet!]
  • {{chunk}}
  • [+placeholder+]
  • [*resourceField/TV*]
  • [^timing^]
  • [~link~]

Quick modx Revolution Tags

  • cached [[snippet]] or uncached [[!snippet]]
  • cached [[$chunk]] or uncached [[!$chunk]]
  • [[+placeholder]]
  • cached [[*resourceField/TV]] or uncached [[!*resourceField/TV]]
  • no timing tag - must investigate
  • [[~link]]
  • [[++systemSetting]]
  • [[%languageStringKey]]
© modxRULES! 2009-2010