PDA

View Full Version : Updated ColorBurst Template


snerd
05-11-2006, 11:45 AM
Any chance of getting the ColorBurst template updated to 1.2 soon? Or, I'll even take instructions on doing it myself if it isn't too complicated.

Thanks!

WTM
05-11-2006, 06:20 PM
Try this:
1. Make a copy of your ColorBurst folder (for back up purposes)
2. From ColorBurst template folder delete all files except:
- header.tpl
- index.tpl
- footer.tpl
- css folder
- img folder
3. Copy from GreenLeaves folder all files except ones mentioned above and paste them to your ColorBurst folder.
4. Open footer.tpl files from both folders GreenLeaves and ColorBurst.
Find line: <div class="bottom">
Copy everything below this line from GreenLeaves footer.tpl file and paste it in the same place in ColorBurst footer.tpl file replacing existing code. Save changes.
5. Open header.tpl file from ColorBurst folder.
Find code: (should be around line 30)

<div class="top-menu">
<ul class="menu">{$menu}[/list]
</div>
Replace with code:

<table border="0" cellpadding="0" cellspacing="0">
<tr>
<td>
<ul class="menu">{$menu}[/list]
</td>
<td>
{if $category.id}
{$img}xml.gif ({$config.base}{$config.dir}plugins/rss/feed.php?id={$category.id})
{/if}
{if $tab eq 'popular-links'}
{$img}xml.gif ({$config.base}{$config.dir}plugins/rss/feed.php?list=popular)
{/if}
{if $tab eq 'new-links'}
{$img}xml.gif ({$config.base}{$config.dir}plugins/rss/feed.php?list=new)
{/if}
{if $tab eq 'top-links'}
{$img}xml.gif ({$config.base}{$config.dir}plugins/rss/feed.php?list=top)
{/if}
</td>
</tr>
</table>
Save changes.
6. Open "img" folder in GreenLeaves template folder
find and copy image xml.gif (should be the last one)
paste the image to "img" folder of your ColorBurst template folder.
7. Login to your Admin panel and choose Color Burst template from drop-down menu.

That should do it.

snerd
05-11-2006, 09:05 PM
Thanks! I just woke up, so will give this a try later tonight and let you know how it goes.

snerd
05-11-2006, 11:45 PM
WTM....... it works well on most everything. The only problem I have is when going to any category or sub-category, one of the columns in the header drops all the way down into the search box and even a little below that.

http://www.findalink.info/

It's probably a small miss in the html in header.tpl, but I can't find it.

Thanks,

snerd
05-12-2006, 12:00 AM
Ah, it's the Suggest Category link that is wrapping down & around for some reason. I'm off to work, so will try to troubleshoot it later.

WTM
05-12-2006, 01:20 AM
I see what it is - there is not enough room for xml button. You should put back original code for <div class="top-menu">....</div> and find another place for xml button. Yoy may want to put it next to the search box like in GreenLeaves

Nick Collins
05-12-2006, 04:25 AM
Hello Mike, we have already made ready this template. You will have possibility to download it in a few minutes. Sorry for delay.

snerd
05-12-2006, 07:24 AM
Thanks Nick, and thanks for the help WTM. If it's updated I'll just download it from the DL section.

Edit: Hmmm......... ya sure it's been updated? It's still the 1.1 version in the downloads section.

Nick Collins
05-12-2006, 07:44 AM
Try again now and you will see other updated templates also.

snerd
05-12-2006, 07:55 AM
Got 'em, thanks!

snerd
05-12-2006, 08:48 AM
It seems there is a misplaced Google Adsense code in the BlueWater template. If anyone can take a look, you'll see that there is one correct placed at the bottom of the page...... but there is also one in the "middle" of the page that's pushing the categories off the page completely.

http://www.mostlinks.info/

Thanks!

Nick Collins
05-12-2006, 09:50 AM
Hi snerd, sorry fo this small bug. Open header.tpl file, find the following code and remove it:
<td align="center" colspan="2">{$adsense}</td>
Save changes and enjoy ;)

snerd
05-12-2006, 09:52 AM
Thanks Nick, that fixed it. Disregard my other topic thread about this.

Nick Collins
05-12-2006, 09:56 AM
Well done! You are really fast, snerd ;)

snerd
05-12-2006, 10:01 AM
Thanks Nick. Another question if I may........... on this BlueWater template, how would I reduce the width of the left column where the Featured, Sponsored, and News are located? I look all through the theme editor, but it's hard to know which one is which since I'm not too well-versed in this stuff.

http://www.mostlinks.info/

Thanks!

Nick Collins
05-12-2006, 11:12 AM
It's easy! Open header.tpl and find the following line:
<td valign="top" height="10%" width="210" style="padding-top: 4px;">
***change 210 to 190 for example****
***save***
That's all!

snerd
05-12-2006, 11:21 AM
Thanks! Got ir done! I got a 3 column display to look okay by reducing the left column to 150 and then in the Theme Editor in Admin I reduced the div.categories div.col and div.categories div.last to 160 and 150 from 260 and 250. ;)

Greg
05-12-2006, 12:36 PM
Thanks Nick. Another question if I may........... on this BlueWater template, how would I reduce the width of the left column where the Featured, Sponsored, and News are located? I look all through the theme editor, but it's hard to know which one is which since I'm not too well-versed in this stuff.

http://www.mostlinks.info/

Thanks!

Hi snerd

open index.tpl and find:
<td valign="top" height="10%" width="210" style="padding-top: 4px;">

Fourth line from the top (least it was in the older version)
Just adjust width="210" to what you want.