Giter Site home page Giter Site logo

Comments (9)

Toflar avatar Toflar commented on August 11, 2024

That would only make sense for the FE module though, not for the CE, right?

from contao-node.

dmolineus avatar dmolineus commented on August 11, 2024

You're right. The main purpose would be to use it in the FE module.

I could imagine use cases where it would be useful for CE as well. Let's think about following node structure:

  • Layout sections Folder

    • Sidebar Content containing CE which has a reference to contact persons
  • Contact persons Folder

    • Jane Doe Content uses the page filter
    • John Doe Content uses the page filter

I could make sense for such content as well, but I don't mind creating a FE module when needed.

from contao-node.

Toflar avatar Toflar commented on August 11, 2024

I think the use case is more for a module. Elements are not really here to be re-used which was the main idea behind this bundle anway :) One can still create a module and include that as an element if that's really desired. But for most of the users this setting will be confusing in the content element settings, I think. So I guess I'd accept a PR if it targets the FE module. @qzminski wdyt?

from contao-node.

qzminski avatar qzminski commented on August 11, 2024

A frontend module should be just fine for now, we can introduce that to content element settings in the future when it would be really needed. Right now it would be a bit too confusing IMO, especially that a frontend module seems more appropriate here.

from contao-node.

saress avatar saress commented on August 11, 2024

@dmolineus, @Toflar
BTW: if I do remember correctly, boxes4ward also supports some additional visibility-features like the possibility to show boxes on certain days of the week, certain months and I think also certain time-frames.

Maybe this would be also some useful features for a later release?

from contao-node.

Toflar avatar Toflar commented on August 11, 2024

I don't like these type of features. They are used very rarely and have a huge impact on caching. So that's very likely not going to make it into this bundle :)

from contao-node.

saress avatar saress commented on August 11, 2024

You are the caching-master, so no problem :-)
I read about the extension yesterday and installed it minutes later. Great work and very useful!

from contao-node.

Toflar avatar Toflar commented on August 11, 2024

I'm not saying it's not possible to optimize things for caching but when things change visibility daily etc. the implementation just gets a lot harder :) We already have that problem with start and stop in Contao at various places and we still need to figure out what to do in that case so... :)
Thanks!

from contao-node.

saress avatar saress commented on August 11, 2024

I read your article about caching and all the problems and side-effects so I have a very small idea of what might go wrong :-)

from contao-node.

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.