Website Babble Webmaster Forums  
     Click to Download a Free, 3 Column CSS Web Template | Watch Instructional Video
  #1 (permalink)  
Old 04-11-2008, 01:18 AM
KRH's Avatar
KRH KRH is offline
Regular Babbler
 
Join Date: Mar 2008
Location: Dhaka,Bangladesh
Posts: 71
Send a message via MSN to KRH Send a message via Yahoo to KRH
Default Blogger Template Question

i was just looking for new template for my blog...i have found a template which exactly like Lisa's blog...i liked that template so i uploaded it. Lisa dont fire me

now i have few problem with this template. thinking Lisa can answer this....

on right side bar.....there is search & categories..but i want to add archives on this..lisa help pls. also i am unable to match background color..which is adsense
with template color.

it would be great help for me...thx in advance.
__________________
Motivated by free thinking, Inspired by open source, Fuelled by passion:
www.freesoftware4pc.blogspot.com
Reply With Quote
  #2 (permalink)  
Old 04-11-2008, 08:29 AM
lisa's Avatar
Administrator
 
Join Date: Apr 2007
Location: Dallas, TX
Posts: 2,988
Default

You must not have the same template because mine had archives already included. I certainly wouldn't have known how to code that myself. LOL

To find out what the background color is, look at the template's stylesheet. The background color will either be in the body or container section of the stylesheet.

I'm still not convinced you have the same template as me though.
Reply With Quote
  #3 (permalink)  
Old 04-11-2008, 08:31 AM
lisa's Avatar
Administrator
 
Join Date: Apr 2007
Location: Dallas, TX
Posts: 2,988
Default

I just checked your site and yes it does look very similar. Hmmmm.... that's weird. You're using WP Premium right?
Reply With Quote
  #4 (permalink)  
Old 04-11-2008, 08:32 AM
lisa's Avatar
Administrator
 
Join Date: Apr 2007
Location: Dallas, TX
Posts: 2,988
Default

Oh wait... you're using Blogger so that might be a difference. Did you find this template on a site for Blogger?
Reply With Quote
  #5 (permalink)  
Old 04-11-2008, 09:53 AM
KRH's Avatar
KRH KRH is offline
Regular Babbler
 
Join Date: Mar 2008
Location: Dhaka,Bangladesh
Posts: 71
Send a message via MSN to KRH Send a message via Yahoo to KRH
Default

you are still not convinced but this is a free template and believe me thousands of ppl r using this template on blogger platform.

yap..i found this template from a site....sorry for using this template but i really liked it.
__________________
Motivated by free thinking, Inspired by open source, Fuelled by passion:
www.freesoftware4pc.blogspot.com
Reply With Quote
  #6 (permalink)  
Old 04-11-2008, 02:21 PM
lisa's Avatar
Administrator
 
Join Date: Apr 2007
Location: Dallas, TX
Posts: 2,988
Default

But that's my point. It's not quite the same. The Blogger template is going to be configured a little differently than mine which is for WordPress. So even if I did know how to add the Archives, the instructions would be a little different because the code may not be compatible.

Unless, I'm mistaken I can't just give you the code on my template because it wouldn't work since we are using different platforms.

Granted, both blogs are run with PHP but I still don't believe you could just use my WordPress code. I'm not even sure I would know how to tell you to set this up since I don't know much about PHP.

Am I incorrect in this assumption? Anyone?

See, my template came with the Archives tab. I didn't have to add it.
Reply With Quote
  #7 (permalink)  
Old 04-11-2008, 07:09 PM
TechieGuy's Avatar
Supreme Babbler
 
Join Date: Jul 2007
Location: Canada
Posts: 640
Default

Mind if I jump in.

I think you can create the archives tab in blogger, however, you can't use PHP, you have to use the blogger language.

I haven't done anything like this on my blog but you may need to do the following:

1. Create an archives widget to display the archives.
2. Wrap the widget in a DIV tag.
3. Create Javascript to display or hide the DIV tag when a visitor clicks on the Archives link.

I believe this is what needs to be done to get it to work. I haven't done it before, but I may try it out on my test site to see if it works.
Reply With Quote
  #8 (permalink)  
Old 04-11-2008, 08:34 PM
lisa's Avatar
Administrator
 
Join Date: Apr 2007
Location: Dallas, TX
Posts: 2,988
Default

Thanks TG! I was hoping someone with more technical knowledge would jump in 'cause I have no idea.
Reply With Quote
  #9 (permalink)  
Old 04-12-2008, 07:29 AM
KRH's Avatar
KRH KRH is offline
Regular Babbler
 
Join Date: Mar 2008
Location: Dhaka,Bangladesh
Posts: 71
Send a message via MSN to KRH Send a message via Yahoo to KRH
Default

Wrong....TG... i tried what u have said...but it didnt work.

lisa...i know ur template came with 3 major tab. mine is 2. i think if u give me code of those 3 tab where is located... i can do the rest...as i know little bit
php,html,css.....still learning hard

lol..u r a professional webmaster...go learn all those things and help me out
__________________
Motivated by free thinking, Inspired by open source, Fuelled by passion:
www.freesoftware4pc.blogspot.com
Reply With Quote
  #10 (permalink)  
Old 04-12-2008, 08:48 AM
lisa's Avatar
Administrator
 
Join Date: Apr 2007
Location: Dallas, TX
Posts: 2,988
Default

Quote:
Originally Posted by KRH View Post

lol..u r a professional webmaster...go learn all those things and help me out
I never claimed that. And just for the record I'm an affiliate marketer. Big difference. I've never liked or claimed to be good at programming. Nor will I ever try to be.

Here's the code, but as TechieGuy said, how are you going to use PHP with Blogger? My blog calls up the below code by referencing a file called archives.php This is the contents of the file below.

PHP Code:
<?php get_header(); ?>
<div id="content">
    <!--the loop-->
    <?php if (have_posts()) : ?>

    <h1 class="btmspace">
    <?php $post = $posts[0]; // Hack. Set $post so that the_date() works. ?>
    <?php /* If this is a category archive */ if (is_category()) { ?>                
    <?php echo single_cat_title(); ?>
    
    <?php /* If this is a daily archive */ } elseif (is_day()) { ?>
    Archive for <?php the_time('F jS, Y'); ?>
        
    <?php /* If this is a monthly archive */ } elseif (is_month()) { ?>
    Archive for <?php the_time('F, Y'); ?>

    <?php /* If this is a yearly archive */ } elseif (is_year()) { ?>
    Archive for <?php the_time('Y'); ?>
        
    <?php /* If this is a search */ } elseif (is_search()) { ?>
    Search Results
        
    <?php /* If this is an author archive */ } elseif (is_author()) { ?>
    Author Archive

    <?php /* If this is a paged archive */ } elseif (isset($_GET['paged']) && !empty($_GET['paged'])) { ?>
    Blog Archives

    <!--do not delete-->
    <?php } ?>
    </h1>
        
    <!--loop article begin-->
    <?php while (have_posts()) : the_post(); ?>
    <!--post title as a link-->
    <div class="comm"><span><?php comments_popup_link('0', '1', '%'); ?></span></div>
    
    <h3 id="post-<?php the_ID(); ?>"><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h3>
                
    <!--Post Meta-->
    <div class="post-meta-top">
    <div class="auth"><span>Posted by <strong><?php the_author_posts_link(); ?></strong></span></div>
    <div class="date"><span><?php the_time('F j, Y'); ?></span></div>
     </div>
    <div class="clearboth"></div>
    <!--optional excerpt or automatic excerpt of the post-->
    <?php the_excerpt(); ?>

    <!--Post Meta-->
    <hr />        
       <!--one post end-->
    <?php endwhile; ?>

    <!-- Previous/Next page navigation -->
    <div class="page-nav">
        <div class="nav-previous"><?php previous_posts_link('Previous Page') ?></div>
        <div class="nav-next"><?php next_posts_link('Next Page') ?></div>
    </div>
    
    <!-- do not delete-->
    <?php else : ?>

    Not Found

    <!--do not delete-->
    <?php endif; ?>
        
    
<!--archive.php end-->

</div>
<!--include sidebar-->
<?php get_sidebar();?>
<!--include footer-->
<?php get_footer(); ?>
Then my sidebar.php file references the archives.php file by using this code. This is what creates the archives tab.

Code:
<h2>Archives</h2>
        <ul>
        <?php wp_get_archives('type=monthly'); ?>
        </ul>
    </li>
I still don't get how you are going to make wordpress blog code compatible with Blogger. It's almost like trying to use Mac software on Windows... unless I'm missing something.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -6. The time now is 01:10 AM.



WB Sponsors

Profit Lance Review

WEB MARKETING

affiliate network



 Subscribe to the Website Babble Feeds

2 Create a Website Homepage | 2 Create a Website Blog

Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0