Where to modify Signup call-to-action content text


(jimmy) #1

at the admin->login panel,i enabled signup cta. and it will display a content box at the end of each post to promote sign up.
and i personally really donot like the emoji in it,and want modify the content.
i try to find the content text at admin panel but failed.
anybody know where&how to modify the text?


#2

This sounds like you want to change the default wording, copy, to something custom.


(Kane York) #3

These strings can be customized with client-side translation overrides, too.

@rwahmao - what changes did you want to make?


#4

This “client-side” you mention. Is it related to this?

Looks like I have more studying to do, eh.


(jimmy) #5

thx for ur reply:)
i just want to delete the emoji in the text.it looks wired in my site…


(jimmy) #6

thx:).i am studying ur page


(Kane York) #7

I’m talking about this:

<script>
I18n.translations.en.js.foo = "bar";
</script>

(jimmy) #8

hi,i found the text in the client-side translation. i deleted the emoji code, and saved the file.
after that,i refresh my browser and the emoji are still there !
did i miss something? or should i rebuilt the whole site? looking forward to ur reply?


(Kane York) #9

Please read this before attempting to edit the Discourse source code:


(jimmy) #10

had read the post,and didnot find my solution…:frowning: any suggestion?


#11

I think @riking implied to have you put his code snippet into the install’s head from the admin CP where you can directly edit the html.

It is a quick JavaScript edit and now I see why he said it was client-side. It renders from the client, not from the server that a plugin would do.

Paste between the <head>...</head> HTML tags where I surmise other JavaScript already resides.


(Sam Saffron) #12

Does not work on mobile though … also feels mighty hacky, we got to fix up local overrides.


#13

That is probably why I was confused at first to it.