Jump to content
TNG Community

Add more visible Suggest Button


azizdogan

Recommended Posts

Dear TNG Community,

We started to publish our family tree about 1 week ago. The names are there, but for many people the date and place of birth are missing.
There is a “Suggest” button to submit suggestions. But I would like to have a button at the top of the template header that is clearly visible. How can I realize this as code?

How can I globally access $entity_type or similar variables.

In the genlib.php the link to suggest.php with parameters is preserved. But when I do an echo - the return of the variable is empty.
I only want to access them in the header of the template and create a link for specific suggestions (person/family).
Sounds quite simple, but I haven't got the hang of it yet.

Link to comment
Share on other sites

I think something like this should work:

<a href="<?php echo getURL( "suggest", 1 ) . "page=" . urlencode(str_replace("?", "", $title)); ?>">Contact me</a>

You can add a class and style it to make it as prominent as you want.

Eric

Link to comment
Share on other sites

Rob Severijns

Another option that I use for all my registered users is to give them the role of Submitter. (Do take a look at the exact user-rights of the Submitter Account)

When user is logged in, this places an edit icon next to the the subjects on the person page.

When clicked a message is generated specific to the subject they have relevant information about.

When sent the Admin will recieve a message about the proposed change and can then apply the change, or not.

All standard TNG and it works very well.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...