Skip to main content

Hi!

I’d love a way to create a URL with parameters that allow me to pre-fill the Description field. That way I could make templates for certain types of topics that someone can then pre-fill with the click of a link.

The placeholder text is fine for generic instructions, but I’d love to add actual text to this box via URL parameters:

 

Is that possible?

Hiya @nicksimard !

I don’t think this is possible right now, but it could be in the future! :)

A quick search found a potentially related idea too.

Does that sound about right?


@nicksimard actually, since you’re talking about placeholder text, I think @Blastoise186 is spot on.
You might be interested in this question where a form on the homepage can be filled and points to the new topic page with the form content pre-filled: 

And there is also a very simple answer for the new topic page to open with a type of topic to start being pre-selected based on the url parameter:

If you’re familiar with how these are done you should be able to figure out what you want to achieve! (There is a trick with the class to go from placeholder text to actual content).

 

@Blastoise186 , I hadn’t seen this idea for templates beforeI Definitely upvoted that!


@nicksimard Actually I think we over complicated the issue here. it wasn’t super intuitive but I found the Phrase for this text, so its very easy to edit, simply go to InSided Control > Customisation > Phrases > Add Phrases button (Top right), and fill the following:

  • Module: Forum
  • Key: new.topic.placeholder.textarea
  • Translation (Singular): INSERT YOUR CONTENT IN HTML

For actual pre-filled text the script shared in “Start a topic widget” is the way to go… it is simply a matter of changing the class of the container to:

post__content--new-editor post__content post__content--openingPost cke_editable cke_editable_themed cke_contents_ltr cke_show_borders

and it will no longer be placeholder text.

cc @Blastoise186 this one definitely required Control access!!! :)


Reply