Wednesday, 19 January 2011

MODx Revolution Tutorial for beginners – Part 2

Introduction
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!

62 comments:

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 australiaassignmenthelp.com. 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 info@ukdissertationhelp.co.uk 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 :) www.cheapessay247.com 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 australiaassignmenthelp.com

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 SingaporeAssignmentHelp.com 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. MyAssignmenthelp.com 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
ghostwriter
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 Finestediting.com 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.

ALICE JACKSON said...

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.

Jessica said...

criminal law deals with the actions or behavior that is an offense to the public, society or state. Criminal law assignments are the best way for law students to understand how these laws can be enacted and in what circumstances. Criminal law assignment help is provided by some of the best lawyers who have in-depth knowledge of the laws of that particular country.

Anonymous said...

Allessaywriter.com can provide you all the answers regarding who can "write my essay". In our service, we have some of the best essay typer who are professional in this field. We ensure a high quality work within the stipulated time. Not only that, but our prices are so reasonable that you do not have to peep into your pocket before hiring us.

Alex Kim said...

Sometimes we are not able to understand other kinds of languages. Then we are frantically hunting for a language translator. Relax! Singaporetranslators.com provides best CERTIFICATE TRANSLATION SERVICES SINGAPORE. In the future, you will face that kind of language problem you must try our best affordable price.

rickypauls said...

Assignment Help is the best answer to solve all the problems related to assignment writing and project submission. Make your work more effective and valuable with the help of academic experts of greatassignmenthelp For any help, talk to academic expert.
Assignment Help Online
Online Assignment Help
Assignment Help Online Services
Assignment Helper
Assignment Assistance
Assignment Help Experts
Online Assignment Help Services

Anonymous said...

It’s not uncommon for students to fumble while working on their college essay even after knowing the descriptive essay definition. The professional essay writers at Allessaywriter will ensure your essay papers look brilliant and you earn appreciation in your class for the same.

Anonymous said...

Dissertation Help Service || Please Write my Dissertation for me

Suhana Williams said...

Assignment writing service provides an advantageous service. Most of the students fear of missing deadline and therefore stressed out with any kind of academic work. If you buy assignment online, then you will be able to meet the deadline without any extra burden. Apart from this, there are also other reasons for which such a beneficial help can be availed.

Tillock Watson said...


A very high-level post with a piece of knowledgeable information.
Thank you for sharing such information if you need any college-level Assignment Help at reliable quality with better work.
kindly visit us or Whatsapp +61 2 80113341

James Wright said...

Writing a thesis is really a stressful job, and students find it tough to give the big push to start it. But now with MyAssignmentHelp by your side, you do not have to feel stressed up and worry about your thesis anymore. We give you all the needed help with thesis writing service malaysia. Take a look at some of the key points in the procedure that we follow to give you your required Malaysian thesis help online.

Stacy Kelly said...

By updating Quicken anyone can get the benefit of amazing features which it offers to users. To learn the ways to update Quicken for windows simply visit Quicken Customer Support Number.
Quicken error OL-1-B
Quicken Error CC-501
Quicken Error CC-502
quicken error cc-503
Quicken won't open
Quicken Error OL-301-A
quicken error cc-506
Quicken Error CC-800

adam hebrew said...

Such a nice blog post on this topic. MyAssignmenthelp.co.uk is one of the finest academic solution providers in the UK that can not only help you find a suitable research paper topic on your request but also provide all the necessary assistance that you may require to build a remarkable research paper.

Lisa Sequeira said...

Get the best Siemens case study analysis and shell swot analysis at MAH with experts instantly.

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.

Mike Scott said...

HP Easy Start will be readily available to download and it guides to you throughout the process. However, hp.com/123
will let you choose the HP printer driver of your choice and you can also select the operating system version that you wish.

Mike Scott said...

Our company Steven elevator is a reputed name as best Elevator manufacturers in chennai offering an exclusive range of Home Elevators. These elevators are made and designed by a team of expert professionals using optimum grade materials at our state of art machining facility.

indeed seo said...


Thanks for sharing. Best seo company in India

indeed seo said...

Thanks for sharing. Top seo agency 2019

Unknown said...

MyEssayHelp.co.uk is the place where you will get the best guidance from expert dissertation writers in the UK. They can make the process of drafting a large document much easier for you.

Alisah Wilson said...

We are one of the best Assignment Help platforms provide various assignment writing service in the UK. Our professional has excellent command on writing skills and they can solve all educational problems at the lowest price.

Online Assignment Help
Assignment Help
Assignment Writing Service
Pestle Analysis Examples

SEO Agency said...

SEO Agency India is one of the top digital marketing agency in India. As an Internet marketing agency, we are specialized in SEO, PPC, SMO, SMM, and SEM.

Richardson said...

To activate Roku Visit roku.com/link
To Setup HP Printer Visit 123.hp.com/setup
To get assistance for Canon Printers, Visit Canon printer support

ALICE JACKSON said...

..........................................................................................................................................................................................





















...........................................................









































































































































































































































































































































We provide the assignment at the cheapest price.24/7 hours Allassignmenthelp is always ready for you in times of emergency. Correct Grammar Check







Assignment help Australia said...

Thanks a lot to think about us and write such a beautiful article, always give your best and be successful in your future, I have a good process to make assignment by my assignment help through our expert. my assignment help

topxlisting said...

Nice to see your blog Topxlisting

topxlisting said...

Nice to see your blog Topxlisting

Richardson said...

Nice post...! Thanks for the Good one

my streaming gadgets | Roku gadgets | Roku products | roku guide

Brian Coffey said...

Viasat offers four basic plans, namely, Unlimited Bronze, Unlimited Silver, Unlimited Gold and Unlimited Platinum. Each of them is best in its own ways and you can avail them very easily if you are in an area that provides you Viasat internet at your doorstep.

But don’t worry, Viasat provides internet to every nook and corner of the USA.

Viasat Internet

topxlisting said...

Are you looking for the best mobile app development company? We follow an agile development process to develop the mobile apps. Our company has developed more than 150 apps related to the various sectors. Hire Topxlisting to get the high-quality app development services.

Puremelda said...

One unique characteristic of the firm's Custom Research Paper Services and College Paper Writing Services is that they offer the best market rates and actual research on all their Custom College Paper Writing Services.

topxlisting said...

Nice to see your blog Topxlisting

Caspar Lee said...

Professional paper writing is more supportive of university students in their assignments and essays. Professional writing experts Provide the best guidance to the students in various difficulty topics like finance, management, accounting and Aussie Provides nursing dissertation help for the students.