T-Bird Anni Rides Again

July 11, 2007

serves me right

Filed under: Uncategorized

I was trying to join another blog ring and succeded instead in killing my blog.  When I paste the ring code into the blog it says this

 

Smarty syntax error

File index.html, line 50: syntax error:
unrecognized tag: padding: 5px; border: solid 1px #0000aa;

 

Which isn’t all that helpful really! 

If I drop the code into the HTML bit of the "write a post" then it works

 

 

See? but not in the Files bit where I have successfully in the past deposited the Early Years ring code and my beloved pets (who have vanished, sob!)

For those of you who may just understand all this, here’s the ring code…


<table border=0>
<tr><td>
<div style="{padding: 5px; border: solid 1px #0000aa;}">
<center><b><a href="http://www.littlemummy.com">RingSurf: British Parent Bloggers</a></b><br></center>
<a href="http://www.ringsurf.com/netring?ring=littlemummy;action=addform">Join</a> |
<a href="http://www.ringsurf.com/netring?ring=littlemummy;action=list">List</a> |
<a href="http://www.ringsurf.com/netring?ring=littlemummy;id=5;action=prev">Previous</a> |
<a href="http://www.ringsurf.com/netring?ring=littlemummy;id=5;action=next">Next</a> |
<a href="http://www.ringsurf.com/netring?ring=littlemummy;action=rand">Random</a> |
<a href="http://www.ringsurf.com/netring?ring=littlemummy;id=5;action=prev5">Previous 5</a> |
<a href="http://www.ringsurf.com/netring?ring=littlemummy;id=5;action=next5">Next 5</a> |
<a href="http://www.ringsurf.com/netring?ring=littlemummy;id=5;action=sprev">Skip Previous</a> |
<a href="http://www.ringsurf.com/netring?ring=littlemummy;id=5;action=skip">Skip Next</a>
<div align=right><a href="http://www.ringsurf.com/"><sup>Powered by RingSurf</sup></a></div>
</div>
</td></tr>
</table>

 

Which means absolutely nothing to me BUT I’m sure that all the stuff I’ve loaded up in the past has had a <– BEGIN –>  and  <–END–>  bit with them?  Obviously I can’t look now cos they ahve all gone but I’m sure I noticed them before? 

3 Comments »

The URI to TrackBack this entry is: http://tbirdanni.blogsome.com/2007/07/11/serves-me-right/trackback/

  1. What a nightmare!! My code looked just like that and I just copied and paste… Hope someone can help.

    Comment by Erica — July 11, 2007 @ 10:48 am

  2. It seems to me that Smarty is built into your blog and is trying to parse the code.

    Where the error occurs

    This is not valid (x)html. The curly brackets do not belong and may be causing the problem.

    Try this instead (no curly brackets)

    Comment by Tim — July 11, 2007 @ 11:03 am

  3. Darn, your comments thing stripped out the sense of my comment. Try this:

    Replace:

    <div style="{padding: 5px; border: solid 1px #0000aa;}">

    With

    <div style="padding: 5px; border: solid 1px #0000aa;">

    It stripped out the code snippets

    Comment by Tim — July 11, 2007 @ 11:06 am

RSS feed for comments on this post.

Leave a comment

Line and paragraph breaks automatic, e-mail address never displayed, HTML allowed: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>



Anti-spam measure: please retype the above text into the box provided.

Get free blog up and running in minutes with Blogsome
Theme designed by Jay of onefinejay.com