Question
add stories
- Peter_S
-
- Offline
- Senior Member
-
With GEDCOM 7.x it is possible to maintain notes depending on the language.Another issue is the language problem. How would we handle the language issue in notes?
Example — The following presents the same note in HTML-format English; in plain-text with the same language as the superstructure (English); and in Spanish with the same media type as the superstructure (HTML).
Peter
webtrees 2.2.1, vesta modules, chart modules of magicsunday, extended family and imprint of hartenthaler
PHP 8.3.12, MariaDB 10.11.8
Webhosting: genonline.de
Please Log in or Create an account to join the conversation.
- SteveGermany
-
- Offline
- New Member
-
Steve Engelking
Simon Heinrich Sack'sche Familienstiftung
Webtrees 2.2.1
Please Log in or Create an account to join the conversation.
- bertkoor
-
- Offline
- Platinum Member
-
- Greetings from Utrecht, Holland
I think it's easier to make a small change so editors can do what administrators can do with stories on an individuals page.
No guarantees (I have not tested this) but you can try this tweak in app/Modules/StoryModule.php, around line 99 (which was line 102 at time of release of v2.2.1):
stamboom.BertKoor.nl runs on webtrees v2.2.1
Please Log in or Create an account to join the conversation.
- SteveGermany
-
- Offline
- New Member
-
I get the Edit link now but it goes onto a page with: "Admin only action"
Steve Engelking
Simon Heinrich Sack'sche Familienstiftung
Webtrees 2.2.1
Please Log in or Create an account to join the conversation.
- bertkoor
-
- Offline
- Platinum Member
-
- Greetings from Utrecht, Holland
So this can be
Change 'action' => 'AdminEdit' to 'action' => 'Edit'
NB, this also occurs (twice) in resources/views/modules/stories/tab.phtml
stamboom.BertKoor.nl runs on webtrees v2.2.1
Please Log in or Create an account to join the conversation.
- SteveGermany
-
- Offline
- New Member
-
Steve Engelking
Simon Heinrich Sack'sche Familienstiftung
Webtrees 2.2.1
Please Log in or Create an account to join the conversation.
- bertkoor
-
- Offline
- Platinum Member
-
- Greetings from Utrecht, Holland
We can continue like this until it finally works ;-)
stamboom.BertKoor.nl runs on webtrees v2.2.1
Please Log in or Create an account to join the conversation.
- SteveGermany
-
- Offline
- New Member
-
Thank you so much for doing this.
I think this is a great app and I hope you feel motivated to put some more of your ideas into it at some point.
Steve
Steve Engelking
Simon Heinrich Sack'sche Familienstiftung
Webtrees 2.2.1
Please Log in or Create an account to join the conversation.
- kiwi
-
- Offline
- Platinum Member
-
Nigel
www.our-families.info
Please Log in or Create an account to join the conversation.
- SteveGermany
-
- Offline
- New Member
-
Will it become a standard change in future or even make it possible to choose the editing level in the control panel (or even use the set permissions)?
Steve Engelking
Simon Heinrich Sack'sche Familienstiftung
Webtrees 2.2.1
Please Log in or Create an account to join the conversation.
- kiwi
-
- Offline
- Platinum Member
-
Good point Nigel.
Will it become a standard change in future or even make it possible to choose the editing level in the control panel (or even use the set permissions)?
If your question is meant for me, I have no idea. I’m not involved in webtrees development. But personally I wouldn’t be in favour.
Nigel
www.our-families.info
Please Log in or Create an account to join the conversation.
- SteveGermany
-
- Offline
- New Member
-
Just found a bug:
When I try to edit control panel - modules I get:
Method getAdminEditAction() not found in stories
Steve Engelking
Simon Heinrich Sack'sche Familienstiftung
Webtrees 2.2.1
Please Log in or Create an account to join the conversation.
- bertkoor
-
- Offline
- Platinum Member
-
- Greetings from Utrecht, Holland
Remember I asked you to rename the AdminEdit methods? The control panel wants them back.
Copying the methods would have been better. Or getEdit calling getAdminEdit and postEdit callinf postAdminEdit.
stamboom.BertKoor.nl runs on webtrees v2.2.1
Please Log in or Create an account to join the conversation.
- SteveGermany
-
- Offline
- New Member
-
Steve Engelking
Simon Heinrich Sack'sche Familienstiftung
Webtrees 2.2.1
Please Log in or Create an account to join the conversation.