Contao-Camp 2024
Ergebnis 1 bis 17 von 17

Thema: Frontend editing : how to create the edit link and link to member data ?

  1. #1
    Contao-Nutzer
    Registriert seit
    07.11.2012.
    Beiträge
    106

    Frage Frontend editing : how to create the edit link and link to member data ?

    Hi everyone,

    Now I've installed MM-FE-editing-edition ;-) I have two questions :
    - how to create the edit link ?
    - how to link a mm record to a member for only this member can edit it ?

    Thanks.

  2. #2
    Contao-Urgestein Avatar von zonky
    Registriert seit
    19.03.2010.
    Ort
    Berlin, Rdf
    Beiträge
    9.713
    User beschenken
    Wunschliste

    Standard

    Zitat Zitat von Charled Beitrag anzeigen
    two questions :
    1.) how to create the edit link ?
    2.) how to link a mm record to a member for only this member can edit it ?
    1: look at the last bullet point: https://community.contao.org/de/show...l=1#post397236 ...
    => create your own URL with "...act=edit..."

    2: FEE hasn't per default a right management - this is your job :-( ... you must save and filter the member id by self

  3. #3
    Contao-Nutzer
    Registriert seit
    07.11.2012.
    Beiträge
    106

    Standard

    Ok. I'll test it. Thanks.

  4. #4
    Contao-Urgestein Avatar von zonky
    Registriert seit
    19.03.2010.
    Ort
    Berlin, Rdf
    Beiträge
    9.713
    User beschenken
    Wunschliste

    Standard

    have you more problems, write again..

  5. #5
    Contao-Nutzer
    Registriert seit
    03.07.2009.
    Beiträge
    46

    Standard

    Where can I set up some attribute as editable in frontend?
    After having installed the metamodels/contao-frontend-editing, there is a new CE of type 'MetaModels frontend editing', but nothing special apart from able to choose MetaModel.

    Can you please describe how to set it up, so that one can edit MetaModel attribute in the FE. Thank you

  6. #6
    Contao-Urgestein Avatar von zonky
    Registriert seit
    19.03.2010.
    Ort
    Berlin, Rdf
    Beiträge
    9.713
    User beschenken
    Wunschliste

    Standard

    @tsarma

    witch version do you have?

  7. #7
    Contao-Nutzer
    Registriert seit
    03.07.2009.
    Beiträge
    46

    Standard

    Hi There,

    My installation:
    Contao: 3.5.19
    Metamodels/core: dev_hotfix/alpha-15
    Metamodels/bundle_all: 2.0.0
    Metamodels/FEE : dev_master

    Screen Shot 2016-12-19 at 09.03.38.png

  8. #8
    Contao-Urgestein Avatar von zonky
    Registriert seit
    19.03.2010.
    Ort
    Berlin, Rdf
    Beiträge
    9.713
    User beschenken
    Wunschliste

    Standard

    my packages:
    shot310.jpg

    the FEE-Module at page metamodels.html
    shot311.jpg

    the MM-List Module with link to MetaModels (metamodels.html)
    shot312.jpg

  9. #9
    Contao-Nutzer
    Registriert seit
    03.07.2009.
    Beiträge
    46

    Standard

    I don't have the "MetaModel frontend editing" setting!

    Screen-Shot-2016-12-19-at-10.08.55.jpg

  10. #10
    Contao-Urgestein Avatar von zonky
    Registriert seit
    19.03.2010.
    Ort
    Berlin, Rdf
    Beiträge
    9.713
    User beschenken
    Wunschliste

    Standard

    hmm...? just try my combination of packages...

  11. #11
    Contao-Nutzer
    Registriert seit
    03.07.2009.
    Beiträge
    46

    Standard

    I tried with your installation, I could not install "contao-community-alliance/dc-general: 2.0.0-beta38" like you. Rest I have the same I think, but still no improvement.

    Screen Shot 2016-12-19 at 10.32.56.png

  12. #12
    Contao-Nutzer
    Registriert seit
    03.07.2009.
    Beiträge
    46

    Standard

    Oh unlike yours, my CE "MetaModels frontend editing", has this setting "MetaModel frontend editing".

    Screen Shot 2016-12-19 at 10.36.46.png

  13. #13
    Contao-Nutzer
    Registriert seit
    03.07.2009.
    Beiträge
    46

    Standard

    OK. After removing and reinstallation. I have settings as you have described. phew!!!!
    But now when I click the edit item links it throw fatal error

    PHP-Code:
    Fatal errorUncaught exception ContaoCommunityAlliance\DcGeneral\Exception\DcGeneralRuntimeException with message DataContainer mm_movies is not creatable thrown in composer/vendor/contao-community-alliance/dc-general-contao-frontend/src/View/ActionHandler/EditHandler.php on line 48 
    Any idea?

  14. #14
    Contao-Urgestein Avatar von zonky
    Registriert seit
    19.03.2010.
    Ort
    Berlin, Rdf
    Beiträge
    9.713
    User beschenken
    Wunschliste

    Standard

    Zitat Zitat von tsarma Beitrag anzeigen
    But now when I click the edit item links it throw fatal error
    => at frontend?

    may be you should write a issue

  15. #15
    Contao-Nutzer
    Registriert seit
    03.07.2009.
    Beiträge
    46

    Standard

    OK thank you for help.

    I have opened an issue here https://github.com/MetaModels/contao...iting/issues/4

  16. #16
    Contao-Urgestein Avatar von zonky
    Registriert seit
    19.03.2010.
    Ort
    Berlin, Rdf
    Beiträge
    9.713
    User beschenken
    Wunschliste

    Standard

    it´s possible to send me account data to your testcase? pls use "private message"

  17. #17
    Contao-Nutzer
    Registriert seit
    03.07.2009.
    Beiträge
    46

    Standard

    I was able to overcome the error message after discordier tip in the issues ticket.

Aktive Benutzer

Aktive Benutzer

Aktive Benutzer in diesem Thema: 1 (Registrierte Benutzer: 0, Gäste: 1)

Lesezeichen

Lesezeichen

Berechtigungen

  • Neue Themen erstellen: Nein
  • Themen beantworten: Nein
  • Anhänge hochladen: Nein
  • Beiträge bearbeiten: Nein
  •