Coder Social home page Coder Social logo

bartvig / ding_tabroll Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ding2/ding_tabroll

0.0 1.0 0.0 124 KB

En boks med skiftende appetitvækkere, tiltænkt forsiden. Opretter en ny indholdstype og en visning, der kan indsættes i paneler. Oprindelig lavet for Helsingør Bibliotek af Reload, og siden pakket som et feature-modul af Vejle Bibliotekerne.

PHP 65.52% SourcePawn 30.04% JavaScript 4.43%

ding_tabroll's Introduction

Ding! Tabroll

ding_tabroll is a module for displaying content in a carousel - typically used on frontpages of the site.

Ding! Tabroll carousel

Editors can manage the content of each queue at /admin/content/nodequeue. There is a queue, Frontpage tabroll, for the frontpage carousel.

A tabroll-carousel will not repeat its cycle unless at least 5 itemsa have been added to the queue.

Tabroll supports reponsive web design. The whole box will expand to its bounding container, and will maintain its width:height aspect ratio.

The navigation is by default placed on the left. When theming, the navigation tabs can be switched to the right by providing a class of "nav-right" to the Tabroll DIV wrapper (the element with ID "ding-tabroll").

The imagecache preset used by tabroll 460_240_crop includes the action to make the image greyscale. This can be modified - it is greyscale because of the use of images on vejlebibs Ding!

Every rolltab can reference a library on the Ding!-site. This is entirely optional, and the only thing provided by this is the name of the library printed out as a CSS class on the image and info elements. We use this on vejlebibs Ding! to show the tabs with colored overlays.

Ding! Library Tabroll

The submodule ding_library_tabroll adds support for per-library carousels. The nodequeue, Library tabroll, contains subqueues for each library. Content added to these nodequeues are shown on the librarys frontpage. If no nodes are added to a nodequeue the carousel is not shown.

Note that a rolltab is not automatically added to a librarys nodequeue if it references the library.

Update

The latest version of Ding! Tabroll uses nodequeues for managing tabroll carousels.

When updating the module administators must clear caches and run update.php or use drush cc all and drush updb.

ding_tabroll's People

Contributors

cableman avatar wiredloose avatar kasperg avatar impara avatar bartvig avatar runephilosof avatar

Watchers

James Cloos 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.