Jump to content
TNG Community

Unicode Hex Character Code


^maikl11

Recommended Posts

I am using TNG 13.0.3, template 12!
under Setup >> Configuration >> Template Settings
I enter the following in "Left image caption":

....<center> Family Landgraf and Eckart from Hawaii in 1905
<br> <hr> <hr> <div class = "header"> Info </div> <br> </center> <hr>
<! - Start Log In button (Language Switching) ->
</p> <div class = "mybutton smallbutton"> <a href="login.php"> &#x1f512; Login </a> </div> <! - End Log In button–>
<! - Start Register button (Language Switching) ->
<div class = "mybutton smallbutton"> <a href="newacctform.php"> &#9998; Register </a> </div> <! - End Register button–> </center> <! - Start suppress login and registration chapter once user logged in–>.....

So far so good!
If I now go to save, the index page is completely shifted!
I know it has to do with these characters (& # x1f512; and & # 9998;, (because as soon as I leave it out, everything is saved))
How can I elegantly solve this so that these symbols remain ???
I would be grateful for a solution! Thank you!

Link to comment
Share on other sites

Your page appears to load correctly in Firefox (Windows 10 environment). I see what looks like some extra text per snippet attached.

landgraf.jpg

 

Your comments are not correct per html standard and there are a couple of tags that are closed without an open one </p> and one </center>. I have taken the liberty and cleaned your code up as below.

<center> Family Landgraf and Eckart from Hawaii in 1905
<br> <hr> <hr> <div class = "header"> Info </div> <br> <hr>
<!-- Start Log In button (Language Switching) -->
<div class = "mybutton smallbutton"> <a href="login.php"> &#x1f512; Login </a> </div> <!-- End Log In button -–>
<!-- Start Register button (Language Switching) -->
<div class = "mybutton smallbutton"> <a href="newacctform.php"> &#9998; Register </a> <!--End Register button --></div></center>
<!-- Start suppress login and registration chapter once user logged in -–>

If there is further code maybe recheck it for correct syntax etc..

 

Link to comment
Share on other sites

Thank you ... I have now downloaded Microsoft Expression Web and it showed me even more errors!
I removed the hex code and replaced it with a picture!

This is what the code looks like now and it is stable!

<div class="mybutton smallbutton">
    <a href="login.php">
    <img alt="" height="20" src="img/schloss.png" width="15" />  Anmelden </a></div>
<div class="mybutton smallbutton">
    <a href="newacctform.php">
    <img alt="" height="17" src="img/account.png" width="20" />  Neues Benutzerkonto 
    </a></div>

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...