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

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
buonumore
Forum Members
Forum Members
Posts: 26
Joined: Sun Dec 27, 2009 8:13 pm

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

Post by buonumore »

If I put an exclamation mark in the "site name" field I get these charachters (in red):

My Site Name!

Any ideas?  ;)
Last edited by buonumore on Sun Jan 10, 2010 2:04 pm, edited 1 time in total.
User avatar
Rolf
Power Poster
Power Poster
Posts: 7825
Joined: Wed Apr 23, 2008 7:53 am
Contact:

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

Post 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  :)
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Image
buonumore
Forum Members
Forum Members
Posts: 26
Joined: Sun Dec 27, 2009 8:13 pm

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

Post 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
Attachments
test.jpg
test.jpg (4.75 KiB) Viewed 2816 times
User avatar
Rolf
Power Poster
Power Poster
Posts: 7825
Joined: Wed Apr 23, 2008 7:53 am
Contact:

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

Post by Rolf »

And what if you put TEST! in the sitename field? Or should that be to simple  ;D

Rolf  ;)
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Image
RonnyK
Support Guru
Support Guru
Posts: 4962
Joined: Wed Oct 25, 2006 8:29 pm

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

Post by RonnyK »

What version are you on? As I recall an issue in previous versions... Current 1.6.6 should work fine....

Ronny
buonumore
Forum Members
Forum Members
Posts: 26
Joined: Sun Dec 27, 2009 8:13 pm

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

Post by buonumore »

@Rolf: yes, too simple, I tried it earlier!  ;)

@Ronny: 1.6.6 Bonde

Thanks both!!
User avatar
Rolf
Power Poster
Power Poster
Posts: 7825
Joined: Wed Apr 23, 2008 7:53 am
Contact:

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

Post 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
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Image
buonumore
Forum Members
Forum Members
Posts: 26
Joined: Sun Dec 27, 2009 8:13 pm

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

Post 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??
User avatar
Rolf
Power Poster
Power Poster
Posts: 7825
Joined: Wed Apr 23, 2008 7:53 am
Contact:

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

Post 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
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Image
buonumore
Forum Members
Forum Members
Posts: 26
Joined: Sun Dec 27, 2009 8:13 pm

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

Post 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...
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

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

Post 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  ;)...
buonumore
Forum Members
Forum Members
Posts: 26
Joined: Sun Dec 27, 2009 8:13 pm

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

Post by buonumore »

Oh yes, thank you!

Here you are: www.cerco-casa.info

I like colors, right! :D
tgnc.org.uk
Forum Members
Forum Members
Posts: 75
Joined: Sun Nov 08, 2009 1:31 pm

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

Post 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}!
CMSMS 1.6.7, Apache 2.0 Web Server, Red Hat Linux Server, PHP 5.2.12
buonumore
Forum Members
Forum Members
Posts: 26
Joined: Sun Dec 27, 2009 8:13 pm

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

Post 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!!
User avatar
Rolf
Power Poster
Power Poster
Posts: 7825
Joined: Wed Apr 23, 2008 7:53 am
Contact:

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

Post 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  :)
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Image
Post Reply

Return to “CMSMS Core”