Code Monkey home page Code Monkey logo

Comments (2)

NamelessCoder avatar NamelessCoder commented on July 4, 2024

Hi Beda,

I have a display issue probably due to a parsing problem of the flux:flexform tag. Or maybe theres a better way of nesting apostrophes and "new lines" in my IDE.

Overall, newlines should be avoided in the "description" property - but I believe you are able to use
inside the text to force a break.
On one line everything works as expected:

<flux:flexform wizardTab="Zurb Foundation" id="zurb-button-split" label="Zurb Foundation: Split Button" description="A button which has a main action and creates a dropdown with further actions when you click the dropdown icon" icon="../typo3conf/ext/fluidcontent_zurb/Resources/Public/Icons/button-split-icon.jpg">

This is related to the earlier method of parsing the arguments used on flux:flexform - if you try the same with the most recent version of FluidContent, you should be able to break the tag attributes into multiple lines without breaking the output.

On one line with f:translate tag the Split Button breaks:

<flux:flexform wizardTab="Zurb Foundation" id="zurb-button-split" label="Zurb Foundation: Split Button" description="<f:translate key='LLL:EXT:fluidcontent_zurb/Resources/Private/Language/locallang.xlf:zurb.splitbutton.desc' />" icon="../typo3conf/ext/fluidcontent_zurb/Resources/Public/Icons/button-split-icon.jpg">
This is because earlier, it was not possible to use ViewHelpers inline in the arguments for flux:flexform (a preg_match was being used instead of actually rendering the template, then fetching those variables from the resulting ViewHelperVariableContainer variable - like it is now).

However: you can use raw LLL:ETX:… references in the attributes; the new content wizard will then translate those for you.

Any hints on how I can solve this issue?

I expect the latest FluidContent to solve it :)
You can find the extension here:
https://github.com/beda/fluidcontent_zurb

Really excellent work so far! Very happy about this extension becoming reality =)

Cheers,
Claus

from flux.

beda avatar beda commented on July 4, 2024

Hi Claus,

everything now works as expected!

My New Year's resolution: Always upgrade to the latest version before opening an issue ;-)

Thanks,
Beda

from flux.

Related Issues (20)

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.