שלום!
אני מנסה לשנות את הכותרת המשנה בטופס ההרשמה, אבל אני לא מוצאת את זה בשום מקום תחת טקסטים של האתר. אני חושבת שזה היה פעם js.create_account.subheader_title, אבל זה כבר לא שם. אנחנו משתמשים בשירות Discourse המארח.
jonasrosland is attempting to add a subheader description to the signup form on their hosted Discourse instance, but can’t locate the setting, as js.create_account.subheader_title is no longer available. NateDhaliwal suggests js.create_account.header_title but that only changes the title, not a description. Moin notes that recent Discourse sign-up pages no longer include a subheader, and references an older forum version with an example subheader. jonasrosland links to a previous meta post requesting the re-addition of the subheader functionality. Moin suggests using a theme component, and provides a tutorial on using outlets with a visual aid. Ultimately, jonasrosland successfully implements a solution using the Custom Components plugin by pfaffman, who is pleased to hear the plugin was useful.
שלום!
אני מנסה לשנות את הכותרת המשנה בטופס ההרשמה, אבל אני לא מוצאת את זה בשום מקום תחת טקסטים של האתר. אני חושבת שזה היה פעם js.create_account.subheader_title, אבל זה כבר לא שם. אנחנו משתמשים בשירות Discourse המארח.
אולי js.create_account.header_title זה מה שאתה מחפש?
Close, but that’s just the title. I want to have a bit more description when someone signs up.
Here’s an example from https://forums.jag-lovers.com/ :
הדוגמה ששיתפת היא פורום שמשתמש בגרסת Discourse מלפני כמעט שנה. דף ההרשמה הנוכחי אינו כולל כותרת משנה.
Yeah I was going off of the post here: Editing Sign Up form
It would be great if that could be readded, perhaps?
אני חושב שאפשר להוסיף טקסט עם רכיב ערכת נושא פשוט
בסדר, אני כותב רכיב ערכת נושא עבור פונקציונליות אחרת במהלך ההרשמה בכל מקרה, אולי אני יכול להוסיף את זה שם אז. האם יש לך דוגמאות כיצד לעשות זאת?
I’d take a look at Theme Developer Tutorial: 4. Using Outlets to insert and replace content
I think there is a outlet pretty close to where you want to add the text
I ended up using the Custom Components by @pfaffman for this purpose, that was the easiest route for us.
Wow! That’s good to know. I wrote it largely as a proof of concept, so it’s good to hear that someone found it useful!