GithubHelp home page GithubHelp logo

nitsan-technologies / ns_all_lightbox Goto Github PK

View Code? Open in Web Editor NEW
0.0 0.0 1.0 6.25 MB

All In One Lightbox

Home Page: https://t3planet.com/typo3-lightbox-extension

License: GNU General Public License v3.0

PHP 2.63% HTML 21.34% CSS 16.72% JavaScript 59.30%

ns_all_lightbox's People

Contributors

bhavin-nitsan avatar gopi-nitsan avatar maheshnitsan avatar mauliknitsan avatar nilesh-nitsan avatar nitsan-technologies avatar rohan-nitsan avatar

Watchers

 avatar  avatar

Forkers

michlk

ns_all_lightbox's Issues

Proper cms-core requirements in composer.json

Hi,

since 23. December 2021 this extensions reqeuires TYPO3 core 7.0.0 - 11.5.99. Before it was 7.0.0 - 10.9.99.

The requirements in composer.json however didn't change since ages:

"require": {
"typo3/cms-core": ">=7.0.0"
},

This means that it was suitable for TYPO3 11 before 23/12/2021 and would be suitable for TYPO3 12 in the future, even if it might not be true.

Please narrow your requirements and set a maximum requirement version of the typo3 core. Systems rely on that and other extensions do it, too.

Cheers

Errros in logfile

Hi!

Configuration/TypoScript/setup.txt causes errors in TYPO3 10 logfile

`Wed, 26 May 2021 12:42:55 +0200 [ERROR] request="7f2f5c82075c0" component="TYPO3.CMS.Frontend.Configuration.TypoScript.ConditionMatching.ConditionMatcher": Expression could not be parsed. - {"expression":"globalVar = LIT:lightbox = 3"}

Wed, 26 May 2021 12:42:55 +0200 [ERROR] request="7f2f5c82075c0" component="TYPO3.CMS.Frontend.Configuration.TypoScript.ConditionMatching.ConditionMatcher": Expression could not be parsed. - {"expression":"globalVar = LIT:fancybox = 3"}
`

Maybe create different setupfiles for old and new TYPO3 or remove support for older version.
Best,
Christoph

Does not work with special characters (Umlaute)

When there is a file like "danke_für_alles.jpg" than I get this error, when this extension is active:

(1/2) #1509741907 TYPO3Fluid\Fluid\Core\ViewHelper\Exception

Folder "/user_upload/mitmachen/danke_f%C3%BCr_alles.jpg/" does not exist.

Solution: change this line:
<a href='<f:uri.image src="{file.publicUrl}" maxWidth="{settings.media.popup.width}" maxHeight="{settings.media.popup.height}" />' rel='lightbox[grup{data.uid}]' data-title="{file.description}">
to
<a href='<f:uri.image src="{file.uid}" treatIdAsReference="1" maxWidth="{settings.media.popup.width}" maxHeight="{settings.media.popup.height}" />' rel='lightbox[grup{data.uid}]' data-title="{file.description}">

Typoscript not found error due to wrong include names

Hi,

with 5.0.3. the typoscript include name was changed from darkbox to colorbox in these files:

Configuration/TypoScript/setup.typoscript
Configuration/TypoScript/VersionBelow9/setup.typoscript

which leads to log errors:

File "EXT:ns_all_lightbox/Configuration/TypoScript/TYPO3/colorbox.typoscript" was not found.

Please change back to darkbox. ;-)

Remove / change automatic js inclusion done by extension?

Hi Sanjay,
Could you let me know how it's possiblle to remove or change the code inserted at the end of the page :

	<script type='text/javascript'>
		$(document).ready(function() {
			$(".fancybox").fancybox();
		});
	</script>

I need to use my own code, because I add in ex. a $(a.fancybox.iframe).xxx instruction.
Thank y ou in advance for your help.
Joel

Media type in Typo3 > 7

I cannot find partials in the releases 3.1.1 for other media elements than images. In the folders Typo3-7 (under each variant of the lightbox) i can find the partial MediaGallery.html, with 3 case values 3=audioType, 4=videoType and TRUE=imageType.

In the folders Typo3 only Media/Type/image.html with figure class = "image".

Does that mean that this extension only works for media type "image", and are you planning to extend the functionality again to the other media types as well?

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.