O'Reilly logo

MODx Web Development by Antano Solar John

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Creating a blog site

Now that we have created a template, we can create any number of resources that can use the same template. Now let us extend this behavior further to allow a user to create a resource by using some interface in the site without having to use the Manager interface. In the next section, you will find the required theory behind what we are going to do. All that we do here is create a resource that shows a form that contains fields relating to a blog post to the end user. When the end user fills in the content and submits the data, a new resource is created.

Using a Snippet

For continuing with the rest of the section, we are going to use a snippet called NewsEditor. Previously, this snippet was included with MODx. Later in the book, ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required