Details
Related Items provides a custom field type that allows users to relate the current object to any Taggable object. Said differently, with this custom field you can relate a system object (Entry, Page, Category, Folder, or User) to Taggable objects: assets, entries, and pages.
For example, a Related Items custom field configured to relate Assets to Pages would allow the published Page to display related Assets.
Use the Related Items custom field by entering a tag or tags in the field. The resulting matches are displayed in a "preview" area to help ensure the correct match was found.
Prerequisites
- Movable Type Professional
- Config Assistant
Installation
To install this plugin follow the instructions found here:
http://tinyurl.com/easy-plugin-install
Configuration
Related Items can be configured at the Blog level. Visit Tools > Plugins to find Related Items, then click Settings.
The Show a Preview option is enabled by default and will display tag matches.
Related Items Count is the number of items returned in the preview area. Use this setting to ensure you don't accidentally grab thousands of items, for example. (The total number of found items is shown in the preview area if it exceeds the Count value set here.)
If you want to use a Related Items field in your theme, specify
related_items_tags
as the "type" in the field definition.
Use
Create a Related Items custom field as you would any other custom field:
- Go to Preferences > Custom Fields in your blog or from the system overview (fields defined at the System level will be available to all blogs).
- Click "New field"
- Set the System Object for the field (Entry, Page, etc). This is the type of object you want the target items to be related to.
- Give the field a Name (ie: "Documentation Pages") and optionally a Description.
- Set the Type of the field to "Related Items Tags."
- Set Relate Items of Type to the type of objects that will be related through this field (entry, page, etc).
- If this will be a required field, set Required.
- Note the field basename and template tag for later use.
- Save the field.
On the Edit Entry (or Edit Page) screen:
- In the upper-right select Display Options, select your new Related Items field to make the field visible.
- Enter some tags in the field and see the preview appear.
- Save the entry.
Template Tags
Related Items provides one template tag, the block tag RelatedItems
. This
tag creates on object loop of the related items, and provides the normal meta
loop variables as well (__first__
, __last__
, __even__
, __odd__
,
__counter__
). The tags has one required argument: basename
. This should be
set to the basename of the field you want to list related items for.
Additionally the tag accepts both blog_id
and lastn
arguments. Setting
blog_id
will tell the tag to pull related items from a different blog from
the one currently in context. Setting lastn
will limit the returned results
to this number. By default, the tag will return the number set in the plugin
settings (defaults to 5).
Example
In this example, a Related Items field was created for Entries, relating to
Assets. The tag EntryDataRelatedAssets
and the basename
entry_data_related_assets
was created for this field. In the entry template
this code could be used to generate a list of Assets related to the Entry:
<mt:IfNonEmpty tag="EntryDataRelatedAssets">
<ul>
<mt:RelatedItems basename="entry_data_related_assets">
<li><a href="<mt:AssetURL>"><mt:AssetLabel></a></li>
</mt:RelatedItems
</ul>
</mt:IfNonEmpty>
Compatibility
Movable Type versions: 4.3
License
Perl Artistic
annagreyyys on October 1, 2017, 1:39 p.m. Reply
Thanks for making such a cool project. I’ve been checking the site for the Windows version, www.write-my-essay-for-me.com but I never left a comment about it. I know you are working hard and doing it for free so you shouldn’t feel rushed or anything. I hope you can continue this type of hard work to this site in future also. Because this blog is really very informative and it helps me lot.
milan on May 19, 2018, 12:09 p.m. Reply
This Related Items plugin provides a custom field type that allow users to relate the current object to any taggable object. Thank you so much for sharing the installation procedures over here. Its a good share and I am expecting more from here.sleep apnea without snoring
ramsh on June 1, 2018, 5:44 p.m. Reply
thank u lots for your amazing product hope this one will help you a lot latest version of Freedom APK
serdapurdu on June 10, 2018, 9:58 a.m. Reply
great to see your amazing article. i hope you will also like UpriseApps if you want to download latest apk apps.
stifan on July 16, 2018, 5:43 a.m. Reply
Great this article is very helpful. Thank you for the valuable information. antimalware service executable
ramkumarkhan on August 10, 2018, 2:10 p.m. Reply
GTA San Andreas MOD APK
afraz on August 11, 2018, 8:24 a.m. Reply
https://gtadld.com/San Andreas APK/
gowtham on August 16, 2018, 4:03 p.m. Reply
https://techthatmatter.com/
gowtham on August 16, 2018, 4:10 p.m. Reply
https://TechThatMatter/
gowtham on August 16, 2018, 4:13 p.m. Reply
https://TechThatMatter/
gowtham on August 16, 2018, 5:31 p.m. Reply
Thank You soo much https://techthatmatter.com/ Thank You soo much
Vicky Krish on August 20, 2018, 9:46 a.m. Reply
https://techrems.org/
Dwaraka on August 21, 2018, 8:41 a.m. Reply
https://kingroot.win/
GTA Mod Apk on September 27, 2018, 3:35 p.m. Reply
Thanks for sharing this awesomoe guide.
hendry on October 8, 2018, 1:39 p.m. Reply
New and enhanced features that improve editing and managing an asset. And the Data API makes it possible to manage content beyond the web. Movable Type for AWS is an Amazon Machine Image including the OS in which Movable Type 6 was installed and available on AWS Marketplace. washington dc tours from nyc
Kelly Brown on October 30, 2018, 7:17 a.m. Reply
run 3 cool math
Johnmichleee on November 5, 2018, 8:26 p.m. Reply
thanks for wonderful reply, kahoot spam online
Johnmichleee on November 5, 2018, 8:27 p.m. Reply
thanks for wonderful sharing, https://kahoothack.net