Purchase OIOpublisher now for just $47.

Take control of your ad space.

Click here to purchase

    • CommentAuthorimpaul99
    • CommentTimeJun 6th 2008
     

    The "Advertise Here" link in my sidebar is out of alignment. ( http://www.inspiredmoneymaker.com/ )

    It looks like the code is inserting an extra </div> tag in the wrong place:

    <h2>Links</h2><ul class="oio-link-sidebar">
    <li><a rel="nofollow" href="URL" title="TITLE" onmouseover="window.status='URL'; return true;">TITLE</a></li>
    </ul>
    </div><a rel='nofollow' href='http://www.inspiredmoneymaker.com/wp-content/plugins/oiopub-direct/purchase.php?do=link'>Advertise Here</a>
    <br />
    </div>

    I don't know why that "</div>" is there between the </ul> and the <a href> for the "Advertise Here" link. I can't seem to find anywhere in the code that a </div> tag would be inserted. Any ideas????

    Paul

    • CommentAuthorSimon
    • CommentTimeJun 6th 2008
     
    Project Admin

    I think it's widget code in slightly the wrong place. If you open include/output.php and search for:

    $code .= $after_widget;

    And then cut and paste it to just after the advertise link, so it looks like:

    if($link == 1) {
    $code .= "<a rel='nofollow' href='".$buy_url."'>Advertise Here</a>\n";
    $code .= "<br />\n";
    }
    $code .= $after_widget;

    • CommentAuthorimpaul99
    • CommentTimeJun 6th 2008
     

    Fixed! Awesome, thanks!

    • CommentAuthorimpaul99
    • CommentTimeJun 6th 2008
     

    Will I need to do this each time a new version of OIOPublisher comes out?

    • CommentAuthorSimon
    • CommentTimeJun 6th 2008
     
    Project Admin

    No, I made the change to the main file too.