How to add MyBlogLog to sidebar (5 posts)

  1. table4five
    Posted 9 years ago #

    I have a modified K2 theme on my blog http://table4five.net. I have uploaded and activated the MyBlogLog plugin, but when I copy/paste the Javascript for the widget into my sidebar, I just get the text of the html but not the widget itself. This is the code:

    <script type="text/javascript" src="http://pub.mybloglog.com/comm2.php?mblID=2007011817215327&c_width=180&c_sn_opt=y&c_rows=8&c_img_size=f&c_heading_text=Recent+Readers&c_color_heading_bg=00CC99&c_color_heading=000000&c_color_link_bg=CCFFFF&c_color_link=000000&c_color_bottom_bg=00CC99"></script>

    Could someone please tell me how to get this installed? I would really appreciate the help a LOT! Thanks.

    And this is the code to track the stats;

    <script type='text/javascript' src='http://track3.mybloglog.com/js/jsserv.php?mblID=2007011817215327'></script>

    it is supposed to go in between the OPEN <body> and CLOSE </body> tags. I have looked and can not find those!

  2. JGatos
    Posted 9 years ago #

    Take your code and put it in a text widget.
    Put your text widget in the sidebar and save.

  3. table4five
    Posted 9 years ago #

    I don't have any text widgets. I have a page called K2 Sidebar Modules, but it's blank.

  4. delecia
    Posted 9 years ago #

    well I am no expert at this but I opened the sidebar.php
    Down at the very bottom right before </div> I put in a <body> tag and then put in mybloglog script after the <body> tag... It appears to be working ( you can see deleciameza.com ) to see what it looks like.

  5. vkaryl
    Posted 9 years ago #

    You probably now have two body tags, which is not only completely NOT valid code, but may be screwing your display in oddball ways in the various IEs.

    The best place for mybloglog code is exactly where you're advised by mybloglog to place it: just inside the opening body tag, which is normally found in header.php. There's absolutely NO reason to do weird stuff like add a second body tag!

Topic Closed

This topic has been closed to new replies.

About this Topic