co-stack / fal_gallery

Official successor of wt_gallery. Supports and fully based on TYPO3 FAL
3 stars 1 forks source link

Question: Changing initial values of default rows amount in Plug-In configuration #6

Closed angeloprevitali closed 7 years ago

angeloprevitali commented 7 years ago

Hello Oliver!

We do use your EXT:fal_gallery since a long time now. Now multiple customers asked us if there will be a solution to change the default value of the amount of rows. Initially it has the default value of 5 rows which leads in the Flexform configuration.

Is there any solution how we could adapt the initial default value from the Flexform to i.e. 99 (for 99 rows)?

We tried it with TypoScript in the TS Setup but without any success. Something like TCEFORM.tt_content.pi_flexform.falgallery_pi1.general.settings.cols = 99 but it will not work.

Any ideas?

Thanks for help us out.

Best reagrds, Angelo

vertexvaar commented 7 years ago

Hi @angeloprevitali

i'm not an expert when it comes to PageTS but i know for sure that you gotta escape the dot between settings and cols, because in FlexForm it will - or at least has been - treated like a string. Therefore TCEFORM.tt_content.pi_flexform.falgallery_pi1.general.settings\.cols = 99 will get you closer to the solution, but it does not work either (tested in current TYPO3 master). I'm sorry but you gotta find that out all by yourself.