Use many folding components
Use many folding components
While it’s possible to have many FoldingForThread/Folding components in the same search page, there can only be one such component per Tab.
You can use the data-tab or data-tab-not attribute to specify in which Tab a given FoldingForThread/Folding component should be active (see Use components only on specific tabs).
-
Making a
FoldingForThreadcomponent only active when theCommunityForumorInternalForumTabis selected.<!-- ... --> <div class="CoveoFoldingForThread" data-tab="CommunityForum,InternalForum"></div> <!-- ... --> -
Making a
Foldingcomponent active when anyTabexceptDocumentationorVideosis selected.<!-- ... --> <div class="CoveoFolding" data-tab-not="Documentation,Videos"></div> <!-- ... -->
|
|
Leading practice
Rather than using the
See Folding fields. |