Newspublisher question duplicate button

Dear Bob Ray @bobray ,

I have Newspublisher 3.1.0 installed and you told me lately where to change the np-id.

Now I have an additional question because the duplicate button does not work anymore.
Message is: Permission denied. I didnt change anything else on the code by updating from version 2.1. and it worked before
Do you know why this arises?

[[!NewsPublisher?&show=`Kursart,pagetitle,alias,Bundesland,Land,Straße,PLZ,Ort,Beginn,Ende,Kursbeitrag,Bankverbindung,Kursunterlagen,content,Anmelde-E-Mailadresse,kuerzlich_geaendert,published`

&template=15
&initdatepicker=1
&required=Kursart,pagetitle,alias,Bundesland,Land,Straße,PLZ,Ort,Beginn,Ende,Kursbeitrag,Anmelde-E-Mailadresse
&parentid=39
&published=0
&aliastitle=0
&duplicatebutton=1
&deletebutton=1
&confirmdelete=1
&captions=content:Kursbeschreibung*,pagetitle:Leiter/in des Kurses*,alias:Eindeutige Kursnummer (Alias) - zb. Initialen + Nummer*,Bundesland:Angaben zum Kursort*<br/><br/>Bundesland,Anmelde E-Mailadresse: E-Mailadresse* für die Anmeldung der Teilnehmer dieser Veranstaltung,published:Jetzt veröffentlichen<br/><span style="font-size:12px;">Veranstaltung kann auch jetzt erstellt und später über "Bearbeiten" veröffentlicht werden</span>,content:Individuelle Infos Unterrichtende<br/><span style="font-size:12px;">Zusätzliche besondere Kursinfos/Wegbeschreibungen/Links zum Veranstaltungsort/Anmeldelink bei externer Organisation*</span>,kuerzlich_geaendert:Veranstaltung kürzlich geändert<br><span style="font-size:12px;">Bitte nur bei Änderungen im Zeitraum 14 Tage vor Kursbeginn verwenden!</span>
]]

Thanks a lot,
Stefan

I can’t find anything in the update that would have affected permissions. The only thing I can think of is that it should be np_id, not np-id, though I’m not sure that would cause your problem.

See if making sure the allow_modx_tags permission is checked on the NewsPublisherEditor Policy helps.

1 Like

Thanks @bobray!
The ressource_duplicate permission was missing I dont know why - maybe a Modx update changed something. Your hint brought me on the right way.

Thanks again!

I’m glad you got it sorted. Thanks for reporting back. :slight_smile: