RebuildRelatedObjects - Movable Type Plugin
Rebuild related entries or pages.
- Movable Type 6
- Unpack the RebuildRelatedObjects's archive.
- Copy the "RebuildRelatedObjects" directory into /path/to/mt/plugins/
Step 1 : Prepare a field saving Entry/Page IDs
Prepare a field saving Entry/Page IDs on Entry/Page. You can use either a default field(ex."keywords") or Custom Fields.
Step 2 : RebuildRelatedObjects Plugin setting
Save a basename of the field prepared at step1, to RebuildRelatedObjects Plugin setting. The basename of the field on Entry save to "Entry Field Basename". The basename of the field on Page save to "Page Field Basename".
If you use keywords Field, you save
If you use a custom field whose basename is "foo", you save
If you use both the fields, you save the comma separated field name;
When you use "Enable Mutual Relation", and Saved Entry's basename and Related Entry's basename are different, you type the following:
Step 3 : Save an ID in the field
You save an ID in the field. If you save some IDs, you can type IDs separated by comma.
Step 4 : Just save the Entry/Page
When you save the Entry/Page, System rebuild entries/pages whose IDs you saved.
If you checked "Enable Mutual Relation" on plugin settings, the saved Entry/Page ID is saved in the same field of related entries/pages.