by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    Piero Nicolli
    @pnicolli
    awesome. spread the word
    T. Kim Nguyen
    @tkimnguyen
    more like spread the gut!
    good thing there is so much walking in Ferrara :D
    Érico Andrei
    @ericof
    It was a flame bait, but Victor is still travelling home
    T. Kim Nguyen
    @tkimnguyen
    :fire:
    Plone Chat
    @plone-chat
    [Andrea Cecchi (cekk), Plone] Volto sucks..Gatsby is the real future for Plone
    Plone Chat
    @plone-chat
    [Steve Piercy (stevepiercy), irc.freenode.net] Pyramid is the future for Plone
    Plone Chat
    @plone-chat
    [ericof (unknown), Plone] Gatsby + Pyramid?
    Plone Chat
    @plone-chat
    [https://webchat.freenode.net (bloodbare), irc.freenode.net] Gatsby + Guillotina :')
    Alex Milosz Sielicki
    @alexsielicki
    Hello! Is PloneFormGen broken on Plone 5.2.0? I just tried installing it in a fresh instance of 5.2.0 and I get a "This page does not seem to exist…" message when trying to view a form.
    Plone Chat
    @plone-chat
    [https://webchat.freenode.net (Alex32), irc.freenode.net] Hello! Is PloneFormGen broken on Plone 5.2.0? I just tried installing it in a fresh instance of 5.2.0 and I get a "This page does not seem to exist…" message when trying to view a form.
    Alex Milosz Sielicki
    @alexsielicki
    Oops, didn't realize the irc channel is crossposted here
    Peter Mathis
    @petschki
    @alexsielicki pfg is based on archetypes and not supported anymore. Use collective.easyform ... the dexterity equivalent.
    Maik Derstappen
    @MrTango
    @alexsielicki Archetypes only works in theory on 5.2, last time i tried it was buggy. otherwise what @petschki said, easyform is the way to go and when you want to use Python3 you have to switch anyway, because no Archertypes on Python3.
    NicolasGoeddel
    @NicolasGoeddel
    Is there a permission available in Plone 5.2 which allows an anonymous user to add my content object? The documentation does not help. It says I can change the add_permission property in XML content description but there is no list of available permissions. It also says I can use my own permission by using example.conference.AddSessionbut where does that permission come from and how do I define it?
    Alexandre Marinho
    @lyralemos
    Is anyone able to use z3c.relationfield in plone 5.2 ? I keep getting
    ValueError: value or token must be provided (only one of those)
    Jens W. Klein
    @jensens

    @lyralemos yes, I use it heavily w/o any issues.

    from z3c.relationfield.schema import RelationChoice
    from plone.app.z3cform.widget import RelatedItemsFieldWidget

    ... in behavior schema class:

    myfield = RelationChoice(
        title=u"myfield",
        vocabulary="plone.app.vocabularies.Catalog",
        required=False,
    )
    widget("myfield", RelatedItemsFieldWidget)
    NicolasGoeddel
    @NicolasGoeddel
    @jensens Nice one. I was just looking for an example implementation for that type of field.
    Jens W. Klein
    @jensens
    :D
    NicolasGoeddel
    @NicolasGoeddel
    Now I have to find out how to define the correct vocabulary for one content type.
    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?