Wednesday, 19 January 2011

MODx Revolution Tutorial for beginners – Part 2

Ok, so following on from Part 1 of this guide, you should have your install of MODx Revolution up and running! If you use your username and password that you selected during the installation process, you’ll be able to login and see the MODx manager administration screen. Pretty, isn’t it?

With MODx Revolution, you start from a completely clean slate. If you’ve used MODx Evolution before, you’ll notice that there is no pre-installed site template, or content, or extras. All you get is a very basic template which just outlines the default HTML tags, and a single resource with no content in it. For me, this is a big plus for Revolution. I don’t have to go in and remove a load of bits I don’t want to use. I can just fetch add-ons when I want them.

Site Configuration
There are lots and lots of different ways you can configure MODx from the Manager. You’ll need to use the System Settings at various times throughout a project, so it’s probably wise to have a quick look into how it all works before we get started on anything too serious!

So, in the Manager, hover your cursor over ‘System’ and select ‘System Settings’ from the drop down menu. You’ll then be taken to the System Settings screen where you can set general preferences and configuration settings for the MODx manager interface, as well as how your MODx site runs.

Feel free to have a good look through all of the different options you can change here. There is a ‘Filter by area’ drop down where you can choose to look at settings associated with a certain area (Friendly URLs for example), a text search where you can simply type in the name of the setting you’re looking for, or a drop down where you can look at settings for some of your add-ons (don’t worry, you shouldn’t have any yet and by default, this option is set to ‘core’. You can also create your own settings, but that’s definitely for another day!

What I want to alter now is the name of your site. In your default template, the name of your site is currently being used in the title tag. In most cases, this would be the name of the company who’s website you’re building, or your name if it’s a personal site. To find the setting we want to change, use the ‘filter by area’ drop down menu, and select ‘Site’.

Your settings should change, and if you look half way down the list you’ll see a setting entitled “Site Name”. Double-click on the default Site Name (it will probably read ‘MODx Revolution’) and alter it to whatever you like. I’ve changed mine to “My new fabulous MODx site!”.

Hit the enter key, and you’re done. Easy eh? There’s no need to hit a save, or submit button, as soon as you’ve amended the setting and hit enter, you’re done. Now, if you go to another browser tab or window, and load up the front end of your site, you should see that the title of your page has changed to the Site Name you just entered. Have a look at the Source too. This will show you that the new Site Name has been placed inside the title tag. Now I’ll show you why it’s appeared there.

A quick intro to Templates
If you go back into your Manager, on the left-hand side you’ll see a box with three tabs called Resources, Elements and Files. We’ll be using Resources more in the next part, so for now, click on Elements. You’ll see a list of categories, all with different icons. Now don’t be afraid, you’ll learn what all of these are, and what they do throughout this series of tutorials. The one we’ll use for now is Templates. If you click the small arrow next to Templates, it should open and you’ll see one little file underneath it called ‘BaseTemplate’. This is the simple template that you’re provided with when you download MODx Revolution.

As the name suggests, templates provide your site with structure. You can apply a different template for every single page on your site if you wish, or, more likely, you’ll have just a few different templates ensuring that your site has the same look and feel throughout.
If you look at the code in the template, inside the title tag you’ll see an odd looking piece of code that looks something like [[++site_name]]. Yep, you guessed it, this is your Site Name! That specific syntax ([[++something_or_other]]) is used for MODx system settings. More about that later.

Installing Add-ons
So I think so far we’ve established that MODx Revolution is incredibly cool. Well, we’re just getting started, so be prepared for way more coolness. We can raise the cool factor tenfold by installing add-ons for our site.

Add-ons help us to perform tasks within MODx that make it much more dynamic. There are lots of different add-ons, way too many to go into, and the amount is growing on a daily basis. In MODx Evolution, some of the more popular add-ons were pre-installed, and to get others, you had to go to the MODx website, download the files, upload them to your site via FTP or copy and paste the code into a new snippet. Either way, it wasn’t ideal, and this has been addressed in MODx Revolution, where you can download and install add-ons within the manager. Brilliance!

One add-on that you’re likely to want to install (especially if you’re going to be handing the site over to somebody not code-savvy at some point) is TinyMCE. TinyMCE is a rich text editor, meaning we don’t have to delve through the code to add paragraphs, headings, images etc.

So, hover over ‘System’, and then select ‘Package Management’ (catchy eh?!).

You’ll see two buttons, one called ‘Add new package’ and the other called ‘Download Extras’.

Click on ‘Download Extras’, and you’ll see a dialog screen. This is another place that you’ll become very familiar with if you’re building MODx sites with some degree of complexity, so before we download anything, feel free to have a little look around to see what’s on offer.

There are a series of different categories on the left. A nice little explanation of these is given for each of these on the Codingpad, but for those too lazy to click a link, it is as follows:
  • MODx Addons – these are functional bits and pieces that are not part of the MODx core, such as galleries, menu builders, tagging snippets, etc. They do not change the core but simply add functionality.
  • Core Extensions – These are additions to the core itself that change how MODx works. They affect how parts of the core work.
  • FrontEnd Templates – These are ready made templates that are packaged for an easy install and setup. If you don’t want to build/port your own template you can grab one of these and play with them, use them as they are, or modify them to suit your needs.
  • Manager Templates – These are backend templates to change the look of your manager. These will affect just the look, not the functioning, of your manager.
  • Site Packages – These are prebuilt complete sites that you can install and explore. This is great if you just want to demo MODx and see how it works. A prebuilt site like this can also be a great learning tool as you can explore the backend and learn how different things are implemented.
You’ll probably find yourself within the MODx Add-ons category most often (I do anyway), and thats where we’re going now.

By clicking the small arrow next to ‘MODx Add-ons’, you’ll see the categories within it drop down. Select ‘Rich Text Editors’ from the list, and you’ll see the items on the right change. The one we want is TinyMCE, so click on the ‘Download’ button that corresponds with it, wait until that button changes to read ‘Downloaded’ and then click ‘Finish’ in the bottom left.

You’ll now see that TinyMCE has been listed, ready to be installed! Click on the install button, follow through the steps shown, and then you’re done.

If you go to the ‘Resources’ tab in the box on the left (next to ‘Elements’) and click on your ‘home’ resource, you’ll see that you’ve got a nice text editor thats been added to your main content area. Thats TinyMCE!

I think that’ll do for now. In the next post, we’ll go through templating, creating some pages for your site, and possibly investigate some of the other add-ons that are available.

If you have any comments about this tutorial, useful additions, corrections or whatever, please leave a comment.

Thank for reading!


Jeff said...

Very helpful. Thanks for this!

Amit said...

Just finished reading MODx part one and two, really helpful articles Many thanks.

anonymous said...

Daesh is the most serious issue of the world and bunches of guiltless individuals turn out to be dead of this psychological oppressor gathering but you can get dissertation services from us. The administration of the United Kingdom ought to accomplish something else to keep this issue. Something else, this gathering will caution more for the world.

Assignment Help said...

Great site and a great topic as well I really get amazed to read this. It’s really good.For Assignment help visit our site AllAssignmentHelp.

Jennifer said...

There are no classes in life for apprentices; immediately you are constantly requested to manage what is generally troublesome. I believe that is only confinement of any survey - that we apply an edge of reference or standard. It's a notable finding in brain research that when individuals are all out novices at an ability, Cheap Essay Help Services they will in general misrepresent their expertise level. They don't comprehend what they don't have a clue. The more master you are, the more basic you move toward becoming. Aesthetics is critical. Expertise, diligent work, revising, altering, and cautious, watchful specialty: All of these are important. These are what separate the amateurs from experienced craftsmen.

ammie jackson said...

Being an academic writer from past 5 years providing assignment help uk to college and university students also associated with Myassignmenthelp platform. I am dedicated in providing best online academic writing services to the college students at the affordable rates.

ammie jackson said...

Studies show that around 56% of all students consider their homework as the most primary source of stress in their life. It is no wonder then these students constantly think of ‘who can do my homework ’ in UK. Fortunately for them, we provide expert homework help at very reasonable prices. Recent research has also revealed that on average students between the ages of 6 to 17 have to spend a little more than three and a half hours each day of their school life doing homework. Our aim is to cut the time you spent doing your homework by more than a half by offering homework online services in UK to students. We offer you with several extraordinary benefits that make us the best choice for you. Homework help uk

Anonymous said...

This is where you might have started your search for assignment help.The previous consumers give their feedback on the website to let the other users know about the quality of their service. For example, if you go to the
Allassignmenthelp reviews, you can get to know the opinion of different users about their services. You can also check other websites to compare and select the best service for you.

Domenic Tylor said...

You know, we are giving assignment writers Australia administration. You can get immediate our administrations at We have encountered specialists to support them. Contract Now!

haryjohn8feb said...

Excellent and nice post. It will beneficial for everyone. Thanks for sharing such a wonderful post. Avail No 1 custom essay writing help UK from certified PhD writers. It is extremely helpful for me. You can email us at or Phone Number - 020 8144 9988

reginald surict said...

Guys, check out this website to learn how to write any academic paper effortlessly.

Rose Rogers said...

DDR (Dance latest Dance Revolution 2019) is the really perfect exercise and wonderful game that is too much both great for your whole body, Buy Essay and its truly amazingly fun and with advanced addicting! If you are come new to real DDR, there is a truly built in any tutorial that can help you :) and you can easily choose your dancing mode lvl too! Beginger.

Domenic Tylor said...

Students exams main part is dissertation writing. We provide dissertation writing help for students. Our writers easily write a dissertation because they have many experiences in the writing field. You can directly contact our experts at

kristen said...

Students Assignment Help is a leading global assignment writing agency providing help in writing research paper for students. We are 3000+ assignment expert’s team who is ready every time for assisting students.

Caspar Lee said...

I heard about this problem in many articles. I think there is a bit delay in solving this issue as it is really a big issue. Recently I have read an article in help with law dissertation writing service, they have given all the details regarding all the possible cases regarding this issue.

singapore assignment help said...

Why Help with assignments is good for Singaporean students and this fear overcome by the writing experts for students better academic growth at minimum price.

Domenic Tylor said...

Students need dissertation writing help? Don’t worry, we provide the best dissertation writing service on our web portal. You can easily hire our experts and write to them. This is the best option for students.

Unknown said...

You must have to obtained to be like kidding. If you MODx Revolution Tutorial to had executed your any homework dues you would have readily Discounted Essay with MODx Revolution answered everyone of those any difficult and simple questions.

Anonymous said...

Truly, this blog post is really one of the very best on the internet. I am an antique ’blog post’ reader and I always try to find a new blog post. Pay someone to write my paper

Jennifer Brown said...

The student should focus on the main concept throughout writing the scholarship essay help, hence, when the evaluator is evaluating the scholarship essay sample they understand that the student had dealt with the theme properly. provides the student with the best quality of scholarship essay sample that will allow the student to successfully seek the financial help and get admission in the top ranking universities that will mark their future as bright and successful.

adam hebrew said...

Such a nice blog post on this topic. We have a team of excellent essay writers who is Ph.D. certified and have years of experience in providing high-quality dissertation writing service. The team of our skilled writers has satisfied several students in the UK. Our mission is to de-stress the students suffering from excessive academic writing pressure by offering them original content written from scratch. We ensure our customers a 100% plagiarism free paper at an affordable price range. Avail our services and get your dream to score high grades fulfilled.

Tim said...

All our writers are experts in their respective academic backgrounds and are hired after thorough scrutiny. Each one of them holds a PhD degree in their respective disciplines.Just buy dissertation from us to grab the all A+ mark sheet of your dreams.

Tim said...

When you place your trust in our essay writing helpers, achieving academic success is inevitable. Give us a chance and witness the difference in your grades.

ammie said...

Studies show that around 56% of all students consider their homework as the most primary source of stress in their life. It is no wonder then these students constantly think of ‘who can do my homework ’ in UK. Fortunately for them, we provide expert homework help at very reasonable prices. Recent research has also revealed that on average students between the ages of 6 to 17 have to spend a little more than three and a half hours each day of their school life doing homework. Our aim is to cut the time you spent doing your homework by more than a half by offering homework online services in UK to students. We offer you with several extraordinary benefits that make us the best choice for you. Homework help uk

personal statement writing
coursework help

Alpha Assignment Help said...

I can only imagine how much research has gone into this. I like your writing skills as it makes one feel included in the journey. Thank you for the valuable notes.
Assignment Help
Dissertation Writing Services
Essay Writing Service
Marketing Assignment Help

Tim said...

If you are not good at essay writing, it does not mean you cannot acquire good marks in it. We give you the platform to buy essay online so that, you can reach the pinnacle of academic success. We have created the perfect service just for you which will give you the personalized solution to meet all your essay writing needs.

Tim said...

We have a collection of unique research material to gather relevant information. If you want us to use specific sources, we will do so too. Our writers use relevant details to support the arguments made in your assignment. What are you waiting for? Buy assignments online in the USA from us without delay.

Tim said...

Are you facing difficulties in preparing your assignments? Students usually struggle with numerous chapters and scarcity of time and wonder if anyone can
make my assignment in USA.

Anonymous said...

This is a wonderful blog for getting information, and I like to visit your blog always thank you very much to write for us to keep it up. Assignment Help Australia and become faster to make an assignment.

Finest Editing said...

At our editors have different subject specializations so they understand what it takes for a research paper to be published. A research paper proofreading services with a great research part still needs editing and proofreading for its tone and language.


We provide Assignment Help support service. Expert writers of US assignment who will help you by providing high-quality essay help and other assignment assistance services.