1281 Posts in 355 Topics by 487 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 2467 Views |
-
Noob Question? How to change site name?

6 July 2009 at 1:19am
Hi just installed Silverstripe and cannot find out how to change the sites name and slogan any help would be appretiated.
I did find a referance in a file called page.ss but dont no for sure if this is the correct place to make changes.
Also If I change the color of some of the images will I have to flush the chache I was reading a tutorial and dont really understand how to do that.
The website URL is: www.thebrumbyshop.com
Thanks for the reply's.
-
Re: Noob Question? How to change site name?

6 July 2009 at 2:19am
to change the Site's name you will have to edit the template files of the blackcandy theme.
themes/blackcandy/templates/Page.ss
Thats the file.
-
Re: Noob Question? How to change site name?

6 July 2009 at 2:26am
Would somebody mind giving me an example could you change it to CHANGE HERE?
Thankyou.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" ><head>
<% base_tag %>
<title><% if MetaTitle %>$MetaTitle<% else %>$Title<% end_if %> » Your Site Name</title>
$MetaTags(false)
<link rel="shortcut icon" href="/favicon.ico" />
<% require themedCSS(layout) %>
<% require themedCSS(typography) %>
<% require themedCSS(form) %>
<!--[if IE 6]>
<style type="text/css">
@import url(themes/blackcandy/css/ie6.css);
</style>
<![endif]-->
<!--[if IE 7]>
<style type="text/css">
@import url(themes/blackcandy/css/ie7.css);
</style>
<![endif]-->
</head>
<body>
<div id="BgContainer">
<div id="Container">
<div id="Header">
$SearchForm
<h1>Your Site Name</h1>
<p>your site's tagline here</p>
</div>
<div id="Navigation">
<% include Navigation %>
</div>
<div class="clear"><!-- --></div>
<div id="Layout">
$Layout
</div>
<div class="clear"><!-- --></div>
</div>
<div id="Footer">
<% include Footer %>
</div>
</div></body>
</html> -
Re: Noob Question? How to change site name?

6 July 2009 at 2:28am
Hi, here is the code
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" ><head>
<% base_tag %>
<title><% if MetaTitle %>$MetaTitle<% else %>$Title<% end_if %> » Your Site Name</title>
$MetaTags(false)
<link rel="shortcut icon" href="/favicon.ico" /><% require themedCSS(layout) %>
<% require themedCSS(typography) %>
<% require themedCSS(form) %><!--[if IE 6]>
<style type="text/css">
@import url(themes/blackcandy/css/ie6.css);
</style>
<![endif]--><!--[if IE 7]>
<style type="text/css">
@import url(themes/blackcandy/css/ie7.css);
</style>
<![endif]-->
</head>
<body>
<div id="BgContainer">
<div id="Container">
<div id="Header">
$SearchForm
<h1>CHANGEHERE YOUT SITE NAME</h1>
<p>CHANGEHERE YOUR SITE TAG LINE</p>
</div><div id="Navigation">
<% include Navigation %>
</div><div class="clear"><!-- --></div>
<div id="Layout">
$Layout
</div><div class="clear"><!-- --></div>
</div>
<div id="Footer">
<% include Footer %>
</div>
</div></body>
</html> -
Re: Noob Question? How to change site name?

6 July 2009 at 5:27pm
Just wanted to say thankyou for all the help.
| 2467 Views | ||
|
Page:
1
|
Go to Top |

