Project

General

Profile

Feature #1526

Implement some easy way to add custom tabs

Added by Anonymous over 6 years ago. Updated over 6 years ago.

Status:
Resolved
Priority:
Normal
Category:
-
Target version:
Start date:
March 26, 2014
Due date:
% Done:

100%

Estimated time:

Description

For now there is no obvious way to add some custom tabs for items.
E.g., when installing youtube plugin the youtube video should appear in a tab on view item page.
For this purpose there should be a method to generate an additional tab and place some html/smarty code there.

History

#1

Updated by Anonymous over 6 years ago

  • Tracker changed from Feature to 3
  • Status changed from New to Resolved
  • Target version changed from 4.5.0 to 3.1.6
  • % Done changed from 0 to 100

commit:505c10d

The next construction can be used:

{capture append='tabs_content' name='any_tab_name_goes_here'}
... {/capture}

A new hook is added to the solution: smartyItemViewBeforeTabs. The hook runs before any tabs section inclusion.

#2

Updated by Vasily Bezruchkin over 6 years ago

  • Tracker changed from 3 to Feature

Also available in: Atom PDF