Hi all. I am new to EE, and liking it. I can see some great potential for my work, especially with MSM. But… I have a problem right out of the gate.
I made 2 sites. Call them SiteA and SiteB.
SiteA is the first site I made, with only 1 template page and 1 stylesheet.
SiteA works perfectly fine.
Then I made a new site, SiteB.
here is the bare bones template
{assign_variable:my_weblog="main"}
{assign_variable:my_template_group="mytemplates"}
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html >
<head>
<title>{exp:weblog:info weblog="{my_weblog}"}{blog_title}{/exp:weblog:info}</title>
<meta http-equiv="Content-Type" content="text/html; charset={charset}" />
<link rel='stylesheet' type='text/css' media='all' href='{stylesheet={my_template_group}/styles}' />
</head>
<body>
just some text
</body>
</html>
SiteB displays the correct title ( which i am not even sure if that is the most efficient way of doing it), but in the source, the styles sheet is referencing the SiteA stylesheet.
So the resulting source is this(names changed to protect the innocent…)
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html >
<head>
<title>The Correct Title for SiteB</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel='stylesheet' type='text/css' media='all' href='http://siteA.com/index.php?css=mytemplates/styles.v.1215066374' />
</head>
<body>
just some text
</body>
</html>
Both sites have a weblog named “main”.
Both sites have a template group named “mytemplates”.
obviously the stylesheet declaration is assuming that I want the siteA style sheet, which i do not.
Am i declaring something wrong? being dopey? Or did i miss something about how the whole burrito works, like naming conventions and name collisions?
