Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypoScript configuration not in frontend #38

Open
Kaliumiodid opened this issue Nov 25, 2023 · 3 comments
Open

TypoScript configuration not in frontend #38

Kaliumiodid opened this issue Nov 25, 2023 · 3 comments

Comments

@Kaliumiodid
Copy link

When using the extension, I want to adapt the default settings by a setup.typoscript file in my site package. The extension finds the settings, because I can see them in the settings form of the plugin. But when taking a look at the website, the default settings of the extension seem to be used.
E.g. I adapted the slidesToShow to always show just one image on all screen sizes. In the settings form it is shown like set in typoscript, but when looking at the rendered website, it shows multiple images at once on smaller screens. I always have to open the settings form and set everything again, even after flushing the cache. Is this by purpose or do I miss a step?

@miko007
Copy link

miko007 commented Feb 6, 2024

It looks like, there is something fishy going on with the parsing of the TypoScript. The Typoscript

plugin {
	tx_wsslider {
		settings {
			defaultRenderer = slick
		}
	}
}

is yielding

image

which is obviously incorrect. The parser usually takes care of the trailing dots (renderer.), but in this case, it does not, so the whole configuration set by TypoScript is ignored.

@miko007
Copy link

miko007 commented Mar 26, 2024

@svewap did you have a chance to look into that already?

@codekapitaen
Copy link

Hi @svewap ...

sadly i can confirm this behaviour (T3 v12.4.5 / EXT:ws_slider v12.1.2) In my case i've got multiple Slider Plugins (Slick Slider) on one page. JS configuration for each instance is generated correctly with the specific content element id before closing body tag. But changing autplay [settings.js.autoplay] false/true has no effect in frontend. Debugged with <f:debug>{sliderSettings.parameters.autoplay}</f:debug>

Greetings

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants