GithubHelp home page GithubHelp logo

64j / categorizedtabs Goto Github PK

View Code? Open in Web Editor NEW

This project forked from pmfx/categorizedtabs

0.0 2.0 0.0 27 KB

This plugin sort the TVs to their categories and replace the default tv-section with a tabpane which includes the categories as tabs. As an additional feature, you can transform the sections content, template-variables and permissions to single tabs within the default tabpane.

HTML 65.43% PHP 29.93% Smarty 4.64%

categorizedtabs's Introduction

CategorizedTabs

Sort Template Variables to their categories and replace the default Template Variables section with categorized tabs. As an additional feature, you can transform the sections resource Content, Template Variables to single tabs within the default tabpane.

screenshot_1

Install

Use Package Manager or install manually:

1 Copy the files to assets/plugins/categorizedtabs

2 Create new Plugin "CategorizedTabs"

3 Set Plugin-Event

"OnDocFormPrerender" "OnDocFormRender"

4 Set Plugin-Code to

include MODX_BASE_PATH . 'assets/plugins/categorizedtabs/plugin.php';

5 Set Plugin-Configuration to

&move_tv = TV tab;list;true,false;false;desc;Transform Tv-section to a tab. &move_content = Content tab;list;true,false;false;desc;Transform Content-section to a tab. &use_cm = Order tabs by category rank;list;true,false;false;desc;If you are using MODX older than 1.2 you will need to install CategoriesManager module https://github.com/pmfx/CategoriesManager to use it, or an error will occur. NOTE: Since MODX 1.2 there is no need to install module as it is built-in into system.

Note:

The switch "Categories Manager in use" is depend on the module "MODx Categories Manager" - https://modx.com/extras/package/modxcategoriesmanager That module gives you the possibility to manage and sort the modx-categories.

6 Save plugin

History

  • 2016-10-21 Minor text change regarding new MODX "Manage Categories" feature (pmfx)
  • 2016-10-16 Make plugin compatible with MODX install script (pmfx)
  • 2016-10-01 Now works with MultiTV (pmfx)
  • 2010-03-26 Original v0.3.2 release by stefan

Credits

Plugin originaly created by stefan https://modx.com/extras/author/stefan

categorizedtabs's People

Contributors

64j avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.