• REGISTRATION REQUIREMENTS:

    Your username here MUST MATCH your XenForo username (connected to your XF license).

    Once you have registered here, then you need to start a conversation at xenforo.com w/Bob and provide the following:
    1. Your XenForo License Validation Token
    2. The Domain Name associated with the License
    NOTE: Your account will be validated once ALL requirements are verified/met. Thank you for your patience.

Answered Not sure if bug, or I'm misunderstanding - Category content term

Matthew S

New Member
AMS
IMS
LD
Finally getting around to setting up AMS/IMS/LD. My XF admin skills are pretty rusty, so I apologise if I'm overlooking something obvious.

When I create a Link item and feature it, the Featured Content widget shows it as Item 'Link Title'.

The default 'Example category' that was created when installing the add-on has the setting:

Category content term: Link
The type of content being added to this category. Note: If you leave this blank, the generic term "Item" will be used.

I am understanding this to mean that the content type shown on the Featured list would show as 'Link' rather than 'Item'. I have created a new category and set that parameter, and have also created link items in both categories but they still show as 'Item' regardless.

I checked on the demo site here and all the link items show as 'Item', too.

Am I doing this wrong? :unsure:

Running XF 2.3.4 and LD 2.3.11, btw.
 
When I create a Link item and feature it, the Featured Content widget shows it as Item 'Link Title'.
That is as designed as its the actual content type within XenForo's Featured Content Handler and uses a special entity function getContentTitle() to create the title string which includes the content type. IIRC, tho, the way I designed the output macros in the featured template, you can modify the macro to not call the entity function and instead just output the title along with the category content type (in theory).

Also, if all the content terms are the same (Link), you can also edit the phrase xa_ld_item_x and change item to link

Selection_999(397).png
 
Thanks, @Bob. Altering the phrase is probably the easiest route for me, but I'll hold off until I use it a bit more and see where I land. (y)

Can I ask what 'Category content term' actually does set? Is it something that will be visible to users? I see it's used in all three of the add-ons I have.
 
Can I ask what 'Category content term' actually does set? Is it something that will be visible to users? I see it's used in all three of the add-ons I have.
Its for things like changing the [Add item] button in a Category to display [Add content term] so [Add link]. Its used in startigic display cases like in the Item Information Block becomes Link information block and places like Alerts, News Feeds etc share this link instead of share this item. There isn't an inclusive listing of all addons and every tiny place its used. There are lots of cases where it can't be used, like the case of this specific thread use case.
 
Back
Top