17488 Posts in 4473 Topics by 1978 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 1408 Views |
-
BlackCandy has invalid HTML

22 May 2007 at 5:26pm Last edited: 22 May 2007 5:26pm
Will, the BlackCandy's mysite/templates/page.ss contains the following code. There is one more </div>'s than needed and it prevents the template running in firefox. I'm removing the one found immediatley after $Layout it seems to work... can you republish this?
<div id="Container" class="typography">
<div id="Header">
<h1>Your Site Name</h1>
<p>your site's tagline here</p><% if Menu(1) %>
<% include Menu1 %>
<% end_if %>
</div><div class="br"><!-- --></div>
$Layout
</div>
<div class="br"><!-- --></div>
<% include Footer %>
</div>
-
Re: BlackCandy has invalid HTML

22 May 2007 at 8:04pm
sorry sig, Its not that huge of a problem.. That div is being opened in Page.ss in the layout folder. I had changed it a while back and just forgot to tidy up. If a SS template has invalid html you usually get a big red XML error box.
So its not invalid its just bad coding which needs to be fixed anyway. So I will get onto it when I have 2 seconds. That and a fix to the images.. Some use png instead of gif and you can notice a slight color mismatch on some monitors, This has been fixed but havent updated the SS zip (The new SS demo site that I am working on has most of the fixs I am talking about)
Cheers,
Will -
Re: BlackCandy has invalid HTML

22 May 2007 at 10:39pm
Hmm, I see what you're saying but I am getting this problem to happen very reliably during my time documenting the forum installation process... See http://doc.silverstripe.com/doku.php?id=forum-installation
-
Re: BlackCandy has invalid HTML

23 May 2007 at 2:40pm
Sig, zip has been updated with the fix to page.ss and a couple other fixs with transparent gifs replacing a couple of pngs. Let me know of any issues
| 1408 Views | ||
|
Page:
1
|
Go to Top |


