Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    Alexandre Marinho
    @lyralemos
    @jensens I see... I was using CatalogSource and keep getting problems, using plone.app.vocabularies.Catalog seems fine
    @NicolasGoeddel I use this
    form.widget(
        'myfield',
        RelatedItemsFieldWidget,
        pattern_options={'selectableTypes': ['NewsItem']},
    )
    NicolasGoeddel
    @NicolasGoeddel
    where does form.widget come from? I thought widget comes from plone.autoform.directives import widget.
    Alexandre Marinho
    @lyralemos
    sorry... I've just pasted some code, the correct way is:
    from plone.autoform import directives
    
    directives.widget(
        'myfield',
        RelatedItemsFieldWidget,
        pattern_options={'selectableTypes': ['NewsItem']},
    )
    NicolasGoeddel
    @NicolasGoeddel
    @lyralemos Thank you!
    NicolasGoeddel
    @NicolasGoeddel
    What's the difference between CatalogSource() and ObjPathSourceBinder()? It looks like I need this for a RelationList.
    NicolasGoeddel
    @NicolasGoeddel
    The string "ObjPathSourceBinder" is nowhere in the whole buildout-cache. So it seems like the documentation is a bit outdated here or I miss something.
    NicolasGoeddel
    @NicolasGoeddel
    @lyralemos Haha, since I changed from RelationChoice to RelationList I now also get the error "value or token must be provided (only one of those)".
    The documentation @ https://docs.plone.org/external/plone.app.dexterity/docs/advanced/references.html is wrong. I finally got it right with a multiple values relation list.
    Alexandre Marinho
    @lyralemos
    @NicolasGoeddel yes, the documentation is outdated... to my knowledge ObjPathSourceBinder is plone 4 only
    I could not get RelationList to work with CatalogSource... changing to plone.app.vocabularies.Catalog did the trick for me.
    NicolasGoeddel
    @NicolasGoeddel
    @lyralemos Yes, I removed the source parameter and used vocabulary instead.
    Flip McFadden
    @flipmcf
    was plone.app.imaging taken out of Plone in 5.2?
    Flip McFadden
    @flipmcf
    nm it disappeared in 5x when archetypes was made optional. I see. all good.
    Alex Milosz Sielicki
    @alexsielicki
    @petschki Thanks Peter, I appreciate the explanation. Switching to easy form.
    @MrTango Thanks Maik. I'll switch to easyform.
    Flip McFadden
    @flipmcf
    I'm doing something. I have overridden main_template and added tiles to it - replacing some viewlets. Hopefully, I can be viewlet free on this install soon.
    however, I need to turn on IBlockTransformEnabled on all requests now.
    I don't like how I'm doing it. Anyone have a suggestion on how to tag all requests with IBlockTransformEnabled ?
    but I'm lost how to write the factory (that returns the original context and request) or if there is a way to do it without an adapter - just mark all requests in some clean way
    Flip McFadden
    @flipmcf
    Currently, I just threw this into my product's init.py:
    from plone.app.blocks.interfaces import IBlocksTransformEnabled classImplements(DefaultView, IBlocksTransformEnabled)
    Which might actually be the answer, but I'm not sure.
    Flip McFadden
    @flipmcf
    smells like a forum post. I'll do it tomorrow
    Érico Andrei
    @ericof
    Hello there. I plan to tackle this issue: plone/Products.CMFPlone#1113 and will need to backport it on other branches master, 5.1.x and 5.2.x
    Should I have one PR per branch or is there any other procedure?
    NicolasGoeddel
    @NicolasGoeddel
    Some solr specialists here? I create this issue but it's more like a question. Maybe some of you can help with that: collective/collective.solr#240
    Érico Andrei
    @ericof
    I already read https://docs.plone.org/develop/coredev/docs/intro.html#committing-to-products-cmfplone and I'm more concerned about the PR part of the process :-)
    Maik Derstappen
    @MrTango
    @ericof is this still valid? there is not option to deselect example content anymore, is it?
    @NicolasGoeddel source you can use if you want to point to an imported vocabulary, vocabulary you use to look the vocabulary up by name, which is usually what most people use.
    Érico Andrei
    @ericof
    @MrTango Yes, there is. When you click on advanced (on the add new plone site page)
    T. Kim Nguyen
    @tkimnguyen
    @ericof I think you make the change in master then cherry pick it into the other branches, no?
    Érico Andrei
    @ericof
    Should I make one PR and after it is approved and merge, do the cherry pick and push to the other branches? (original question is more about how to deal with PR's)
    NicolasGoeddel
    @NicolasGoeddel
    Can I use Products.BeakerSessionDataManager with Plone 5.2 and Python 3.6?
    Our zeo client crashes when doing some things with sessions. There are so many Issues out there because of that issue and I can not find a solution to this. Now I want to try out collective.beaker, but the last code change was 2011, so I don't think it will be compatible with Plone 5.2 and Python 3.6.
    Plone Chat
    @plone-chat
    [A CIRC user (zonger), irc.freenode.net] Hi everyone. Where do I submit an issue on the plone.org website?
    [A CIRC user (zonger), irc.freenode.net] Should it be to the forum at community.plone.org ?
    T. Kim Nguyen
    @tkimnguyen
    hi zonger … in the footer you can see a link to report issues with the site
    thx!
    but forum is ok too as a start
    Plone Chat
    @plone-chat
    [A CIRC user (zonger), irc.freenode.net] okay, thx! It seems to be an issue with add-on integration in v5.2 so searching for the correct repo issue tracker now.
    T. Kim Nguyen
    @tkimnguyen
    zonger: what’s the problem?
    Plone Chat
    @plone-chat
    [A CIRC user (zonger_), irc.freenode.net] Basically trying to install WebServerAuth on 5.2 and it is not showing up in the ZMI. I have more details, but that is the skinny of it.
    kokbira
    @kokbira
    hiho
    plone vs joomla? why?
    Dylan Jay
    @djay
    @NicolasGoeddel you can use a shared zeo database for sessions.
    T. Kim Nguyen
    @tkimnguyen
    zonger_: Maurits mentioned what seemed to be an equivalent add-on that works with 5.2 in a talk he gave last week... see https://maurits.vanrees.org/weblog/archive/2019/10/maurits-van-rees-3-authentication-add-ons otherwise I’m sure we can figure out what’s going on
    zonger_: but best if you ask in the forum https://community.plone.org
    NicolasGoeddel
    @NicolasGoeddel
    Hopefully an easy question: How to define a BrowserView with a form which can be called by an anonymous user and which is able to create new content objects, delete or modify them.
    Peter Mathis
    @petschki
    @NicolasGoeddel I know, this is source only, but there's a easyform plugin which should do the trick: https://github.com/collective/collective.easyformplugin.createdx
    at least the creation part ...