Welcome Guest ( Log In | Register)



2 Pages V   1 2 >  
Reply to this topicStart new topic
> Wordpress Sitebar At Botton
Hafdis
post Mar 25 2007, 10:15 PM
Post #1


Newbie [Level 1]
*

Group: Members
Posts: 12
Joined: 24-March 07
From: Iceland
Member No.: 40,580



Hi

jlhaslip! i have upload all the files and get this this http://www.koddinn.com
Go to the top of the page
 
+Quote Post
jlhaslip
post Mar 25 2007, 11:06 PM
Post #2


A computer once beat me at chess, but it was no match for me at kick boxing.
Group Icon

Group: [MODERATOR]
Posts: 4,300
Joined: 24-July 05
From: Linix, DOS and Windows…the good, the bad and the ugly
Member No.: 9,787
Spam Patrol
myCENT:46.50



That is because the #content div needs to be placed after the #navigation div in the source of the html file (so that the float works properly).

Compare the files and you will see what I mean.
In the sample you post, the #content is before the #navigation in the Source code. My sample is a different code structure than yours, I think.
The floats are removed from the normal flow of the page and then put back into the page according to the floats and contained by their width attributes, so when the posting you have is positioned in the code first, it assumes the full page width and then the Navigation is placed below it. Reverse their positions in the source and it behaves differently. Or should. smile.gif

*edit*

Here is a simplified version of your page which might be easier to understand. The Topic contains more information explaining the set-up you need to understand.

http://www.trap17.com/forums/index.php?s=&...st&p=314404
Reason for edit: add linked reference
Go to the top of the page
 
+Quote Post
Hafdis
post Mar 26 2007, 10:18 PM
Post #3


Newbie [Level 1]
*

Group: Members
Posts: 12
Joined: 24-March 07
From: Iceland
Member No.: 40,580



HI

this is working fine, but how do i split this to the right files, header.php footer.php sidebar.php index.php

This post has been edited by Hafdis: Mar 26 2007, 10:23 PM
Go to the top of the page
 
+Quote Post
jlhaslip
post Mar 27 2007, 12:38 AM
Post #4


A computer once beat me at chess, but it was no match for me at kick boxing.
Group Icon

Group: [MODERATOR]
Posts: 4,300
Joined: 24-July 05
From: Linix, DOS and Windows…the good, the bad and the ugly
Member No.: 9,787
Spam Patrol
myCENT:46.50



That I don't know. I have never dealt with Wordpress and their methods. I usually write my own in php. I am familiar with how I would do it, but they are likely different in their methods.

Perhaps another member will come along and explain how to split them up into the includes that Wordpress needs.

QUOTE
i am Carpenter smile.gif

Me too...
Go to the top of the page
 
+Quote Post
Hafdis
post Mar 27 2007, 04:22 PM
Post #5


Newbie [Level 1]
*

Group: Members
Posts: 12
Joined: 24-March 07
From: Iceland
Member No.: 40,580



Yup, i have been working as Carpenter since 1980, building houses, kitchen and more. Now i am rebuilding my house, so many kids, need more rooms, smile.gif

got this !

The gallery uses the fim_photos.php template. For any theme that you use, you have to get fim_photos.php to look like the structure of that theme.
You're done with installation. Now you need to customize.

this is the fim_photos.php
CODE
<?php define('FIM', true); ?>

<?php include("../../../wp-blog-header.php"); ?>
<?php require_once("functions/fim_functions.php"); ?>

<?php get_header(); ?>

<div id="content" class="narrowcolumn">

        <div class="entry">
            <?php echo fim_get_the_content(); ?>
        </div>    
</div>
<?php get_sidebar(); ?>

<?php get_footer(); ?>


how do i let it look like the structure of the theme i am using.?

This post has been edited by Hafdis: Mar 27 2007, 08:17 PM
Go to the top of the page
 
+Quote Post
Hafdis
post Mar 27 2007, 09:13 PM
Post #6


Newbie [Level 1]
*

Group: Members
Posts: 12
Joined: 24-March 07
From: Iceland
Member No.: 40,580



New info wink.gif

the fim_photos.php use its own default template structure. you need to tweak that default structure to match the structure of whatever WordPress theme you're going to use.

For example, fim_photos has <div id=\"content\" class=\"narrowcolumn\">. My Basic Concept theme doesn't have that.

so, dry.gif
Go to the top of the page
 
+Quote Post
Blessed
post Mar 28 2007, 08:55 AM
Post #7


Advanced Member
*******

Group: Members
Posts: 144
Joined: 22-March 07
Member No.: 40,472



Can i get Wordpress for free ??
Go to the top of the page
 
+Quote Post
Hafdis
post Mar 28 2007, 09:50 AM
Post #8


Newbie [Level 1]
*

Group: Members
Posts: 12
Joined: 24-March 07
From: Iceland
Member No.: 40,580



yes its free

http://www.wordpress.org
Go to the top of the page
 
+Quote Post
Hafdis
post Mar 28 2007, 07:55 PM
Post #9


Newbie [Level 1]
*

Group: Members
Posts: 12
Joined: 24-March 07
From: Iceland
Member No.: 40,580



ok lets try again...

see here http://www.koddinn.com/myndir

i got the sidebar to the right, now i need to move it up, here is the code

CODE
<?php define('FIM', true); ?>

<?php include("../../../wp-blog-header.php"); ?>
<?php require_once("functions/fim_functions.php"); ?>

<?php get_header(); ?>

<div id="content" class="narrowcolumn">

                    <div class="entry">
            <?php echo fim_get_the_content(); ?>
        </div>
        <div class="main-narrow">

            <?php if(have_posts()) : ?><?php while(have_posts()) : the_post(); ?>
            
                    <?php the_content(); ?>
    
            
            <?php endwhile; ?>

            <?php include (TEMPLATEPATH . '/browse.php'); ?>

            <?php else : ?>
            <div class="post">
                <h2><?php _e('404 Error: Not Found'); ?></h2>
            </div>
            <?php endif; ?>

        </div>

<?php get_sidebar(); ?>

<?php get_footer(); ?>


This post has been edited by Hafdis: Mar 28 2007, 07:57 PM

</