Page 1 of 2

[SOLVED] How to get an exclamation mark in the site's name?

Posted: Sat Jan 09, 2010 1:14 pm
by buonumore
If I put an exclamation mark in the "site name" field I get these charachters (in red):

My Site Name!

Any ideas?  ;)

Re: How to get an exclamation mark in the site's name?

Posted: Sat Jan 09, 2010 1:23 pm
by Rolf
When I put ' Sitename! ' in the field Site Name in the Global Settings it shows Sitename! on my teststite...

Or do you mean something else...

Rolf  :)

Re: How to get an exclamation mark in the site's name?

Posted: Sat Jan 09, 2010 1:31 pm
by buonumore
Not in mine, unfortunately!

In the attached image, thaa'ts what I get with "TEST!".  ;)

Thanks Rolf!


[OT] Holland rules, see you there next april!! :D

Re: How to get an exclamation mark in the site's name?

Posted: Sat Jan 09, 2010 1:44 pm
by Rolf
And what if you put TEST! in the sitename field? Or should that be to simple  ;D

Rolf  ;)

Re: How to get an exclamation mark in the site's name?

Posted: Sat Jan 09, 2010 1:49 pm
by RonnyK
What version are you on? As I recall an issue in previous versions... Current 1.6.6 should work fine....

Ronny

Re: How to get an exclamation mark in the site's name?

Posted: Sat Jan 09, 2010 2:44 pm
by buonumore
@Rolf: yes, too simple, I tried it earlier!  ;)

@Ronny: 1.6.6 Bonde

Thanks both!!

Re: How to get an exclamation mark in the site's name?

Posted: Sat Jan 09, 2010 2:55 pm
by Rolf
And what if you put TEST! or TEST! in the html template?

Code: Select all

<title>{title} | {sitename}</title>
{* The sitename is changed in Site Admin/Global settings. {title} is the name of each page *}
Fill in your sitename in stead of {sitename}

Rolf

Re: How to get an exclamation mark in the site's name?

Posted: Sat Jan 09, 2010 3:12 pm
by buonumore
If I simply replace "{sitename}" with "TEST!", it won't change and remain "TEST".

If I replace "{sitename}" by "TEST!", it appears exactly like that "TEST!".  ::)

Maybe it's controlled somewherelse as well??

Re: How to get an exclamation mark in the site's name?

Posted: Sat Jan 09, 2010 3:20 pm
by Rolf
it won't change and remain "TEST".
You mean TEST!... I think  :-\

In the config.php you can try to set the text encoding to utf-8.
A wild guess, but what do you have to loose...  ;)

Code: Select all

$config['default_encoding'] = 'utf-8';
$config['admin_encoding'] = 'utf-8';
®

Within Temptation, cool. Heard of Delain aswell I think  :D

Re: How to get an exclamation mark in the site's name?

Posted: Sat Jan 09, 2010 3:48 pm
by buonumore
I think I've found where's the misunderstanding between us! ;)

I'm talking about the "inside theme", not the IE window, or whatever!

It's IN the template that I can't get the exclamation mark to work.

Sorry if I didn't express myself clearly enough!!!


[OT] I only know "April rain" from Delain, and really love it! The singer is a beauty, I love redhead girls!! :P I have a very good friend living in Haarlem, Jeroen, so i bought some tickets for the show there (8th april). Unfortunately it will be an acoustic show...

Re: How to get an exclamation mark in the site's name?

Posted: Sat Jan 09, 2010 6:11 pm
by Dr.CSS
This is where a link to the site would help, it would be obvious what and where the problem is you are talking about...

You sure like the color button  ;)...

Re: How to get an exclamation mark in the site's name?

Posted: Sun Jan 10, 2010 11:19 am
by buonumore
Oh yes, thank you!

Here you are: www.cerco-casa.info

I like colors, right! :D

Re: How to get an exclamation mark in the site's name?

Posted: Sun Jan 10, 2010 12:28 pm
by tgnc.org.uk
Layout > Templates > {Your templatename}

Find this
{sitename}
And then try adding ! rather than the HTML entity value, I just tried this with my CMS and it showed up the ! as a !.

Change it to this...
{sitename}!

Re: How to get an exclamation mark in the site's name?

Posted: Sun Jan 10, 2010 12:43 pm
by buonumore
Thanks a lot for your idea, but unfortunately it didn't work.

I'm using the (beautiful) GreenHills theme.

I don't have the exact line you wrote, but - if I understood your suggestion - i made the following.

Code: Select all

<title>{sitename} - {title}</title>
I added the exclamation mark...

Code: Select all

<title>{sitename}! - {title}</title>
But... no changes!  :(

THANK YOU VERY MUCH!!

Re: How to get an exclamation mark in the site's name?

Posted: Sun Jan 10, 2010 1:27 pm
by Rolf
But... no changes!
Thats right because you changed the sitename in the webbrowser  ;)
You have to look further down in the template and you will find the line in the post from tgnc.org.uk

Code: Select all

      <div id="header">
           <h2 class="headright">{sitename}</h2>
           <hr class="accessibility" />
      </div>
Rolf  :)