[T3EXT DAY] All in One Lightbox/Modalbox

[T3EXT DAY] All in One Lightbox/Modalbox

[T3EXT DAY] All in One Lightbox/Modalbox

What is "All In One"?

Exactly, What's All in one Lightbox/Modalbox? Well, We have developed one TYPO3 extension which allows install & configure multiple OpenSource jQuery Lightbox/Modalbox.

Why this TYPO3 extension developed?

In our routine life in TYPO3 project's development, Mostly each client wants different (effect & style) lightbox plugin to setup on their project. So, We have developed one extension which provides all together with a just setup of plug & play. And we thought, Let's just share it to TYPO3 community which may useful for their TYPO3 projects.

Which plugin are included?

It's one of the only TYPO3 extension which provides to configure most popular jQuery plugins eg., lightbox2, fancybox2, colorbox, prettyphoto, darkbox, magnific-popup & more will be available in an upcoming version.

1. Overview of extension

Extension Key:ns_all_lightbox
Extension URL:https://extensions.typo3.org/extension/ns_all_lightbox/
Documentation:https://www.nitsan.in/blog/post/t3ext-day-all-in-one-lightbox-modalbox-typo3-extension/
Support:https://github.com/nitsan-technologies/ns_all_lightbox/issues

2. Front-end view after plug-in installation

Front-end view of Lightbox Modalbox plugin

3. Back-end view after plug-in installation

The extension needs to be installed as any other extension of TYPO3 CMS:

3.1 Get the extension

Step 1: Switch to the module “Extension Manager”.

Step 2: Get the extension - 

  • Get it from the Extension Manager: Press the “Retrieve/Update” button and search for the extension key ns_all_lightbox and import the extension from the repository.
  • Get it from typo3.org: You can always get current version from https://extensions.typo3.org/extension/ns_all_lightbox/ by downloading either the t3x or zip version. Upload the file afterward in the Extension Manager.

Step 3: Now install the Extension.

TYPO3_All_In_One_Lightbx_Modalbox_Extension_NITSAN_Backend_Install_Extensions

3.2 Activate the TypoScript

The extension ships some TypoScript code which needs to be included.

Step 1: Switch to the Template module and select Info/Modify.

Step 2: Switch to the root page of your site.

Step 3: Select Info/Modify option from drop-down.

Step 4: Click on Edit the whole template record button.

TYPO3_All_In_One_Lightbx_Modalbox_Extension_NITSAN_Backend_Install_Extensions

Step 5: Switch to the Tab Includes.

Step 6: Select [NITSAN] All In One Lightbox/Modalbox (ns_all_lightbox) at the field Include static (from extensions).

TYPO3_All_In_One_Lightbx_Modalbox_Extension_NITSAN_Backend_Install_Extensions

IMPORTANT: About ordering, Please include this at the end of others.

3.3 Configuration

Options to choose particular lightbox/modalbox.

Step 1: Switch to the Template module and select Constant Editor.

Step 2: Switch to the root page of your site.

Step 3: Select constant Editor from drop down.

Step 4: Select Category - PLUGIN.TX_NSALLLIGHTBOX (1).

Step 5: Now, You can choose particular jQuery lightbox/modalbox plugin from [plugin.tx_nsalllightbox.settings.type]. 

Note: You may able to configure it to particular page using "Create extension template".

TYPO3_All_In_One_Lightbx_Modalbox_Extension Default configurationBehavior: Enlarge on Click [Checkbox].

Step 6: Now open any "Text & Media" TYPO3 Elements and switch to the Imahe tab.

Step 7: Now just Click on "Enlarge on click" checkbox. Checkout below screenshot.

TYPO3_All_In_One_Lightbx_Modalbox_Extension backend view

4. Cache clearing

Please, clear cache from top panel 'Flush frontend caches' & 'Flush general caches'. It will be also great to clear cache from Install tool too.

5. Support

Feedback & Suggestions

Just download & try the EXT:ns_all_lightbox extension. You can write down your feedback/suggestion/comments to below comment box. Please feel free to use suggest any new lightbox/modalbox too, so we will adapt it for next version of EXT:ns_all_lightbox.

Happy with all lovely Lightbox/Modalbox :)

Sanjay Chauhan - TYPO3 Technopreneur

Ein junger Technologie-Enthusiast und Unternehmer. Mit 24 Jahren war er Mitbegründer von NITSAN - einer TYPO3-Agentur in Bhavnagar, Indien. Er ist ein gefragter Vermarkter von NITSAN, akkreditiert mit dem Management von Kundendienstteams, Kooperationen mit Agenturen und Kunden, Projektausführungen und mehr. Ein Tech-Typ im wahrsten Sinne des Wortes, Sanjay ist der eigentliche TYPO3 Guru bei NITSAN.

Hinterlasse einen Kommentar

Need expert tips? Check out our Blog!

Diese Webseite nutzt Cookies

Diese Webseite nutzt Cookies zur Verbesserung des Erlebnisses unserer Besucher. Indem Sie weiterhin auf dieser Webseite navigieren, erklären Sie sich mit unserer Verwendung von Cookies einverstanden.