When viewing an article, it's just one big article page.
Well, I
want my article page to have two columns, on the right side will show
banners (or boxes). How do I modify my Article page?
When viewing an article, it's just one big article page. |
Good question! Kids first |
This is an easy mod, but you guys can probably improve the CSS for this. 1) Open tmpl_uni/css/articles, and add these at the bottom: #container { 2) In inc/classes/BxDolArticles.php, find the getArticle function and replace everything between <<<EOF with: <div id="container"> |
When I try to do this, I just get th side bar content appearing above the Article categories and not on any other page. Any idea what I am doing wrong? I really want this functionality. Thanks. Cory |
I figured it out, I was putting the code in the wrong place. At first, I put it after the first getArticle <<<EOF Then realized it was the wrong place, so finally found the right one at line 248, so replaced: <div class="navigationLinks"> With the new code. I did revise it a little to give me a vertical line between the side bar and content. I am now trying to see if I can use php Includes to add blocks to the page? Cory |
Ok, so now, does anyone know how I could add a block, like those on homepage, to the sidebar content? I tried taking code for, say, Recent Articles from templates/base/scripts/BxBaseIndex.php and placing it in the area and keep getting errors. Any ides? Cory |