The Elements Tab of the resource tree houses the templates, template variables (TV), chunks, snippets, plugins and categories created for the Modx website. Each of these items can be created here and then quickly accessed using the interface of the resource tree.  The following article shows each part of the Elements tab and defines each resource type.

 

Defining the Elements Tab of the Resource Tree in Modx Revolution

Elements tab

The first three icons in the menu bar at the top of the tab include the options for the following:

expand-collapse-tree

Collapsing and Expanding the files in the  tree view allows you to compact or expand the view so that you can see all of the containers.

refresh-tree-icon

Refreshes the files in the resource tree


Each of the resource types that can be created and stored in the Elements tab are defined in the table below:

Template icon Templates - makeup the structure of the webpages within Modx. 
Template Variable (TV) icon Template Variables(TV) - custom fields for Modx reesources.  TVs can be used to extend default attributes available for a resource if an attribute is required beyond the default ones.
Chunk icon Chunks - Chunks are simply defined blocks of text.  They can contain HTML.
Snippet icon Snippets - portions of code that can provide customizable content.  Examples include menus, form-based functions, etc.
Plugin icon Plugins - similar to snippets, but the main difference is when the code actually executes.  The  may be set to run during a system event.  An example of a system event may be the clearing of the cache.
Category icon Categories - Simply a category option that can be used to further organize the resources that are created


Additionally, you can use your mouse to right-click on each of the files stored in the tree structure.  When you click on a resource file, you will see the options to edit, quick update, duplicate, remove, create and create a new category.  For more information on using the Resource tree, go to Understanding the Resources Tab and Understanding the Files Tab of the Modx Resource Tree.

  

 

 

Did you find this article helpful?

We value your feedback!

Why was this article not helpful? (Check all that apply)
The article is too difficult or too technical to follow.
There is a step or detail missing from the instructions.
The information is incorrect or out-of-date.
It does not resolve the question/problem I have.
How did you find this article?
Please tell us how we can improve this article:
Email Address
Name

new! - Enter your name and email address above and we will post your feedback in the comments on this page!

Did you find this article helpful?

Post a Comment

Name:
Email Address:
Phone Number:
Comment:
Submit

Please note: Your name and comment will be displayed, but we will not show your email address.

Related Questions

Here are a few questions related to this article that our customers have asked:
Ooops! It looks like there are no questions about this page.
Would you like to ask a question about this page? If so, click the button below!
Need More Help?

Help Center Search

Current Customers

Email: support@WebHostingHub.com Ticket: Submit a Support Ticket
Call: 757-416-6627 Chat: Click To Chat Now

Ask the Community

Get help with your questions from our community of like-minded hosting users and Web Hosting Hub Staff.

Not a Customer?

Get web hosting from a company that is here to help.
}