הצג את הכניסה תחילה בטופס ההזמנה

I use invitations as a link to a topic, while adding people to the right groups, using a simple patch.

Logged in users will be silently added to the group and redirected to the topic.

Unfortunately non logged in users will be invited to create a new account, since the button “Log me in. I allready have an account.” follows the form.

I would like to move this button up:

Is this possible by adding some css?

Should this be a standard feature of discourse?

לייק 1

Hey @thoka :wave:
It wouldn’t be possible with CSS. You’d need to override the modal template.

https://meta.discourse.org/t/beginners-guide-to-developing-discourse-themes/93648#overriding-discourse-templates-23

Also, know that the modal will be removed in the future as we intend to have a dedicated registration/login page instead. :slight_smile:


See below :point_down:

2 לייקים

Does this topic help?

3 לייקים

תודה! אני לא יודע אם זה עבד עבור @thoka, אבל ה-CSS עבד לי בהתחלה אבל אז הוא הפסיק. כשזה לא עבד, הוספתי JS אבל עכשיו ה-JS לא עובד ואני משתמש ב-CSS אבל ה-CSS רחוק מלהיות מושלם וגם לא ממוקם בדיוק איפה שאני צריך שהוא יהיה.

Ah, some things may have changed in one of the updates to the page.

You may get more attention if you create a Dev topic for some advice on what code changes you need to get it working as you’d like again. :+1:

לייק 1

Thank you @JammyDodger !

For now I think the top header you see in the screenshot would work. What do you think? Do you think it would be visible to everyone?

Thanks!