Forum Replies Created

Viewing 15 replies - 31 through 45 (of 51 total)
  • Thread Starter arr0w

    (@arr0w)

    After the update a previous error occurred:

    When I login with domain.com/login I’m redirected to domain.com/record (as expected)

    If I go back to the domain.com/login – I should be redirected back to the record – I’m not!
    Instead I’m redirected to domain.com/?page_id=454 – But I have no page with id=454

    No matter what I change in the “record page” setting, I’m still redirected to id=454 ?

    The only workaround is to disable the “Use Cookie” setting or delete det cookie/log out.

    Thread Starter arr0w

    (@arr0w)

    Thank you!

    Just one thing to point out: When I log out and tries to log in on the same page, I’m redirected as i should, but the record page still displays the “no records was found” error text and the cookie isn’t created again.

    Thread Starter arr0w

    (@arr0w)

    Exactly!

    I’m guessing we just need to delete the pdb-cookie – But how do you do that with a click of a button?

    Thread Starter arr0w

    (@arr0w)

    Yes I’m aware of that.. I just hoped I could put a costom class on a field. The answer was to use the class*=something with jQuery – But thank you!

    The result was to convert the input to static text if the user is not logged in.

    • This reply was modified 7 years, 11 months ago by arr0w.
    • This reply was modified 7 years, 11 months ago by arr0w. Reason: Added some more
    Thread Starter arr0w

    (@arr0w)

    Your suggestion got me thinking:

    What if I use jquery to change the input field to text and disables this when a user i logged in.
    Is it possible to give a field its own class?

    I have multible readonly fields that I want to target at once. At the moment I have to call each field by class generated from the name.

    How can I target the fields with a specific class?

    Thread Starter arr0w

    (@arr0w)

    I think we just misunderstood each other.

    Both admins and non-admins should be able to edit the same records.
    Non-admin users shouldn’t have access to edit readonly fields – Only admins/logged-in users.

    I know admins can edit records on the backend, but I have made a record-list for admins on the frontend.

    You said it would be complicated to perform. But not impossible.

    Thread Starter arr0w

    (@arr0w)

    How can I make the readonly fields only appear for not-logged-in users?

    Thread Starter arr0w

    (@arr0w)

    I only want specific admin roles to be able to edit readonly fields.
    At this moment, both admin and non-admin users doesn’t have access to change the fields on the frontend. Could I somehow change this?

    Thread Starter arr0w

    (@arr0w)

    Thank you – I think I’ve found a good way to perform it.

    Btw, is it possible to enable a readonly field on the frontend?
    I’ve tried doing it trough jquery, but I don’t think the server allows it on submission.

    • This reply was modified 8 years ago by arr0w.
    Thread Starter arr0w

    (@arr0w)

    How do I delete a cookie with a click on button/href?

    Thread Starter arr0w

    (@arr0w)

    Gotcha!

    When I use the pdb_list on mobile the last row (which we just created) are “sticking” out of the screen and only the “standard” fields are visible… I can scroll horisontal to see them, but the parent div doesn’t expand with them.

    any clue?

    Thread Starter arr0w

    (@arr0w)

    Could I attach the private link to their names or usernames instead of making a new row?

    Thread Starter arr0w

    (@arr0w)

    Ah thank you!
    Exactly was I was looking for!

    How do I change the text for the link?
    Could the template set the href to “Edit” for each participant instead of the whole link?

    Thread Starter arr0w

    (@arr0w)

    So I’ve tried your different suggestions, but the login page still ignores the chosen page in the “Participant Record Page” setting. I’ve tried changing it to every page on my site, but I’m still redirected to the same page (page 4 which doesn’t exist) – This only happens when the “Use Cookie” is enabled and I hit “back” after login. – If I just access domain.com/login – the login page is showed with a “Wrong password” label

    If I only use the “24 hour cookie” and go back to the loginpage (from the record) I’m also prompted with a “Wrong password” label instead of the redirection. When accessing the domain.com/login I’m redirected to page 4.

    If the both settings have been checked, I’m being redirected to page 4 both when accessing the domain.com/login or clicking “back”.

    I hope all this information makes sense and can help fix the problem.

    Thread Starter arr0w

    (@arr0w)

    I’ve found a quite important bug in the new release.

    I’ve checked both the “Use cookie” and “Extended Access” – When I login with domain.com/login I’m redirected to domain.com/record (without the pid) And everything works. BUT!

    If I go back to the domain.com/login – I should be redirected back to the record – I’m not!
    Instead I’m redirected to domain.com/?page_id=4 – But I have no page with id=4

    No matter what I change in the “record page” setting, I’m still redirected to id=4 ?

    The only workaround is to disable the “Use Cookie” setting.

    Another thing:
    How can I simulate a “Log out” button?
    (I now I can just remove the 24 hour tag, but then the user has to login after refreshing the page)

    • This reply was modified 8 years ago by arr0w.
Viewing 15 replies - 31 through 45 (of 51 total)