Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    T. Kim Nguyen
    @tkimnguyen
    @agitator have a good trip home!
    @ericof what was the plone.org fix?
    Plone Chat
    @plone-chat
    [ericof (unknown), Plone] @tkimnguyen Bump Products.Archetypes to version 1.15.8 (original fix by @)
    T. Kim Nguyen
    @tkimnguyen
    ericof +1
    we are going to have to migrate away from AT :) or is @sneridagh done with the new Volto plone.com AND plone.org? 😂
    Plone Chat
    @plone-chat
    [ericof (unknown), Plone] I would say plone.com could be gatsby
    [ericof (unknown), Plone] What do you think?
    T. Kim Nguyen
    @tkimnguyen
    ericof: Victor had already planned to use Volto for it, hence the example he created for the Volto hands-on training
    if you want to fight about it, all I’ll say is: disfida!!!!
    Piero Nicolli
    @pnicolli
    :joy:
    T. Kim Nguyen
    @tkimnguyen
    you say Gatsby, I say Volto, let’s call the whole thing off
    @pnicolli hello from Paris!
    Piero Nicolli
    @pnicolli
    hey :wave:
    T. Kim Nguyen
    @tkimnguyen
    My uncle hadn’t known about salama so I was happy to explain it to him
    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.