Giter Club home page Giter Club logo

Comments (3)

IchHabRecht avatar IchHabRecht commented on May 26, 2024

Hi Ina.

Thank you for your bug report. I tested the mask.json file you provided and exported the extension. After adding the TypoScript template and creating some links in the backend everything is shown as expected.
2016-10-06_203155
2016-10-06_203245

Can you please check you added the extension's TypoScript to your template record and you haven't changed it? It should provided the needed data processing out of the box.
Are there any other errors popping up while the frontend is generated?

from mask_export.

stucki avatar stucki commented on May 26, 2024

Hi Nicole! We found the cause for the problem, see Gernott/mask#45

Explanation: Our test site did not use "config.sys_language_overlay=1", which causes records with sys_language_uid=-1 ([All]) to be ignored.

The bug is most likely caused by EXT:mask which doesn't set the proper default value.

Thanks for you help and trying to solve this. As it looks like, there are no changes needed in EXT:mask_export.

from mask_export.

IchHabRecht avatar IchHabRecht commented on May 26, 2024

I would recommend to change the generated TypoScript to your needs:

`
tt_content.maskexamplelinklist_linklist = FLUIDTEMPLATE
tt_content.maskexamplelinklist_linklist {

file = EXT:mask_example_linklist/Resources/Private/Templates/TtContent/linklist.html
dataProcessing.10 = TYPO3\CMS\Frontend\DataProcessing\DatabaseQueryProcessor
dataProcessing.10 {

    if.isTrue.field = tx_maskexamplelinklist_links
    table = tx_maskexamplelinklist_links
    pidInList.field = pid
    where = parentid=###uid### AND sys_language_uid IN (###language###, -1) AND deleted=0 AND hidden=0 AND 1=1
    languageField = 0
    markers {

        uid.field = uid
        language.field = sys_language_uid
    }
    as = data_tx_maskexamplelinklist_links
}

}
`

See the change in the where clause and the added language configuration.

from mask_export.

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.