© 2015 X2Engine Inc.

Difference between revisions of "Frequently Asked Questions"

From X2Engine
Jump to: navigation, search
(Custom modules)
Line 15: Line 15:
  
 
== Custom modules ==
 
== Custom modules ==
=== I made a custom module. Why don't I see anything when I go to create/view a record? ===
+
=== Why don't I see anything when I go to create/view a record in a new custom module? ===
 
The first step after creating a custom module is designing a form and view for it. To do so:
 
The first step after creating a custom module is designing a form and view for it. To do so:
 
# Go to "Admin"
 
# Go to "Admin"

Revision as of 19:10, 4 November 2013

Customization

Custom fields

I made a custom field and it doesn't show up. Now what?

Once you create a field, you must add it to the view and form as you see fit, as follows:

  1. Go to "Admin"
  2. Scroll down to the section "Utilities"
  3. Go to "Form Editor"
  4. Open the views/forms for the model by selecting the model from the "Model" dropdown
  5. Select "Form (Default)" from the "Version" dropdown
  6. Drag and drop the custom field into the form where it is desired.
  7. Hit "Save"
  8. Repeat the process with the "View" to change the record view page for the model type.

Custom modules

Why don't I see anything when I go to create/view a record in a new custom module?

The first step after creating a custom module is designing a form and view for it. To do so:

  1. Go to "Admin"
  2. Scroll down to the section "Utilities"
  3. Go to "Form Editor"
  4. Open the views/forms for the model corresponding to the new module by selecting it from the "Model" dropdown
  5. Select "Form (Default)" from the "Version" dropdown
  6. Drag and drop the custom field into the form where it is desired.
  7. Hit "Save"
  8. Repeat the process with the "View" to change the record view page for the model type.