Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#13 2012-06-01 06:45:09
- illustrateth
- New Member
- Registered: 2012-06-01
- Posts: 6
Re: Anyone have multisite working on Bluehost?
Ah! I am having this exact same problem.
However, my site(s) worked great before I upgraded to 4.4.1
I vaguely remember changing the .htaccess file when installing texpattern the first time to change how it pointed to urls. .
i did finally run a CSS debugging program, and it said that the url for the header image is not loading.
Here’s the site:
http://www.cardiotaichi.org
Last edited by illustrateth (2012-06-01 06:45:32)
Offline
Re: Anyone have multisite working on Bluehost?
i did finally run a CSS debugging program, and it said that the url for the header image is not loading.
Try using an absolute path to that image rather than a relative path, in your CSS. Example:
background: url(http://www.cardiotaichi.org/site_image/logo.gif) no-repeat center;
Your site also appears to be trying to load the stylesheet from http://www.illustrateth.com rather than cardiotaichi.org.
Last edited by maruchan (2012-06-01 06:59:26)
Offline
#15 2012-06-01 12:55:48
- illustrateth
- New Member
- Registered: 2012-06-01
- Posts: 6
Re: Anyone have multisite working on Bluehost?
Hmm. . o.k. .i’ll try that. . thanks. . though i still wonder why it worked before 4.4.1. . . . .
the actual site addres is www.illustrateth.com/cardiotaichi
cardiotaichi.org is just the domain name that points to it.
(It’s my own server on bluehost, and i just run the site as a favor to my old teacher. . . i upgraded because i wanted to set up my own site for art stuff. . and ah. . and i’ve got a 3 yr old and 1 yr old, so though i like code, not much time to study it, so feel a little like banging my head against the wall for upgrading :P)
Offline
#16 2012-06-01 13:04:57
- illustrateth
- New Member
- Registered: 2012-06-01
- Posts: 6
Re: Anyone have multisite working on Bluehost?
That worked! Thanks!. . . now to see if it’ll work for the rest of the site. . . .
Offline
#17 2012-06-01 13:31:44
- illustrateth
- New Member
- Registered: 2012-06-01
- Posts: 6
Re: Anyone have multisite working on Bluehost?
hmm. . . can’t find any more urls to fix, but navbar and content still not working. . come to think of it. . .I don’t think i had images in my navbar, just styled text.
Here’s the code for the default page:
(left out head. . . meta stuff not relevant to this question. . . )
<body>
<!-- logo header -->
<div id="header" name="header" style="display:inline">
</div>
<!-- navbar -->
<txp:output_form form="navbar" />
<!-- left decoration bar -->
<div id="left_dec_bar">
</div>
<div id="article_photo">
<txp:image_display><txp:article_image /></txp:image_display/>
</div>
<!-- center -->
<div id="content">
Code for the navbar form:
<!-- navbar -->
<div id="navbar">
<ul>
<li></txp:link_to_home><txp:section_list include_default="1" wraptag="ul" break="li" class="navbar" /></a></li>
</ul>
</div>
& the CSS stylesheet:
p
{
font-family: Trebuchet MS, Geneva, Arial, sans-serif;
font-size: 13px;
line-height: 180%;
color: #000000;
margin: 0 0 0em;
}
#header
{
align: top;
position: absolute;
position: fixed;
height: 96px;
background: url(http://www.cardiotaichi.org/site_image/logo.gif) no-repeat center;
background-color: #660000;
width: 105%;
margin: -10px -10px 0px -10px;
border: 0px;
repeat-x;
padding: -10px;
}
#navbar
{
position: fixed;
width: 105%;
height: 26px;
padding: 0px 0px 0 0px;
top: 84px;
left: -10px;
border-bottom: 2px solid #800000;
border-top: 3px solid black;
background: #3C0001;
font-family: Futura, Geneva, Arial, Helvetica, sans-serif;
}
#left_dec_bar
{
position: absolute;
position: fixed;
width: 128px;
height: 256px;
padding: 0;
top: 200px;
left: -10px;
background: transparent;
text-indent: 2em;
}
body
{
background: url(http://www.cardiotaichi.org/site_image/clouds3.gif);
font-family: Futura, Geneva, Arial, Helvetica;
padding-top: 20;
margin-top: 0;
}
#navbar ul
{
list-style: none;
margin: 0;
padding: 0;
color: white;
text-align: center;
}
#navbar li
{
margin-top: 1em;
padding: 0 0 0 0;
display: inline;
color: white;
}
#navbar a:link, #navbar a:visited
{
margin-top: 1em;
top: 20px;
padding: 3px 10px 4px 10px;
color: #FBD7A1;
background-color: transparent;
text-decoration: none;
border: none;
}
#navbar a:hover
{
color: white;
background-color: #BC001D;
border-top: 3px solid black;
height: 26px;
margin-bottom: 30px;
}
#content
{
position: center;
align: center;
padding: 100px 20px 100% 20px;
font-size: 1em;
background: #FfFFFF center;
color: #002927 ;
border-left-color: blue;
border-right-color: blue;
border-left: ridge 1px;
border-right: ridge 1px;
width: 656px;
margin-left: auto;
margin-right: auto;
}
#article_photo
{
position: center;
padding: 0;
font-size: 1em;
background: #F0FFFF center;
color: #002927 ;
margin-left: -20px;
}
h1
{
font-weight: normal;
text-decoration: none;
font-family: Futura, Geneva, Arial, Helvetica;
}
{Edited to add bc..
for better code display. – Uli}
Last edited by uli (2012-06-01 19:19:09)
Offline
#18 2012-06-01 13:35:14
- illustrateth
- New Member
- Registered: 2012-06-01
- Posts: 6
Re: Anyone have multisite working on Bluehost?
oops. . . actually, this part may be relevant (apologies. . i know just enough to be dangerous atm, and set this site up a long time ago. . . . :P)
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<link rel="stylesheet" href="<txp:css />" type="text/css" media="screen" />
<title>World Cardio Tai Chi Association, Founder: Dr. Chi-Hsiu Daniel Weng</title>
{Edited to add bc..
for better code display. – Uli}
Last edited by uli (2012-06-01 19:20:07)
Offline
Re: Anyone have multisite working on Bluehost?
Navbar code has a big syntax problem:
</txp:link_to_home><txp:section_list include_default=“1” wraptag=“ul” break=“li” class=“navbar” />
There’s a slash in front of <txp:link_to_home /> where there shouldn’t be. But you probably don’t want that tag there anyway. You might want it to say this instead:
<txp:link_to_home>Home</txp:link_to_home>
There’s another extra slash at the end of the image line:
<div id="article_photo">
<txp:image_display><txp:article_image /></txp:image_display/>
</div>
Here’s what I would do:
<txp:if_article_image><div id="article_photo">
<txp:article_image />
</div></txp:if_article_image>
Try those things first, see if it helps.
Offline
#20 2012-06-01 16:02:39
- illustrateth
- New Member
- Registered: 2012-06-01
- Posts: 6
Re: Anyone have multisite working on Bluehost?
Thanks to your reply, ended up taking that tag out altogether. Still working on broken stuff, . . . but THANK YOU, THANK YOU, THANK YOU For the progress you’ve helped me with so far. . . . gtg take kids to the zoo, so will have to get back to this later, but THANK YOU!!!!!
<!— navbar —>
<div id=“navbar”>
<ul>
<li><txp:section_list include_default=“1” wraptag=“ul” break=“li” class=“navbar” /></a></li>
</ul>
</div>
Offline