Hi.
Is it possible to edit the text in the log in box.
It says "Create Account or Sign in"…………..I want to add "Admin" in front of "Sign in"
Many thanks for any help.
Morris
Hi.
Is it possible to edit the text in the log in box.
It says "Create Account or Sign in"…………..I want to add "Admin" in front of "Sign in"
Many thanks for any help.
Morris
Have you seen any wiki that did it?
I'm pretty sure that's not quite possible.
It's possible by hacking in a :before pseudo code into the CSS and adding "Admin " as a content property, but tracking down all of the places to edit might be hard to do. If you're trying to edit the default Wikidot login text screen, I think you're out of luck.
This works for the sign-in text on your site, but won't work on the Wikidot page that opens in a new tab after clicking the sign-in link.
#login-status span:after { content: " Admin "; }
<div id="login-status"> <a href="javascript:;" onclick="WIKIDOT.page.listeners.createAccount(event)" class="login-status-create-account btn">Create account</a> <span>or</span> <a href="javascript:;" onclick="WIKIDOT.page.listeners.loginClick(event)" class="login-status-sign-in btn btn-primary">Sign in</a> </div>
I think he wants that to link to the admin page?
Javascript would actually make this much easier imo.
There's a lot of things that javascript would make easier, but Wikidot severely limits scripting (limited to using it in HTML blocks) for security reasons.
Morris' question simply asked if there was a way to add "Admin" as a prefix to "Sign in" - he didn't say anything about linking to an admin page.
Thanks Folks.
Ed, you are quite right………I just wanted to add the text, not create a link.
It would have been handy to be able to do it…………but not critical.
Thanks for all the help.
Morris