Jump to content

patva1

Members
  • Posts

    125
  • Joined

  • Last visited

Posts posted by patva1

  1. Anyone? Thanks for any help. I have been working on it, but still have not gotten it right, the left content div just moves all the content to the left and leaves a big gap on the right.

  2. The template is using a list format so I didn't change anything in the nav.tpl. Should I have? Also as to the recent reports, there was a left content.div that was within the main content.div so I deleted it out. Should I have left it in there?

  3. I found a template that I liked more so I used it, and it is basically up and running. The address is: http://www.patva1.comli.com/phpvms    I still have to change a few colors but is is basically operable. However I have a few questions. First, could someone please visit my site and tell me what the error code at the top of the created pages( hangar, job info. center) and how I can get it to go away. Secondly, how can I get the recent pilots and PIREPs to go over on the left. I am guessing it is a format issue and I am not exactly sure how to fix it. Any help is appreciated. Thanks!

  4. You will have to adjust the nav.tpl to match what is in your skin and put in your skin folder.  The link tags have to match the template.

    Ok, so all I need to do is adjust the tags to <span></span>?

  5. I decided to use a new skin. However, I am a little stuck on the navigation. This is how it looks:

    span style="float:right;margin-right:5px;display:inline;"><a href="#">Home</a>

    <a href="#">About</a>

    <a href="#">Projects</a>

    <a href="#">Guestbook</a>

    <a href="#">Imprint</a></span

    How do I make it format correctly into the skin?

  6. This is the only container div I could find. I think it is right because it changes the width of the nav bar, but once again it is at 100% and will not go any bigger. Thanks for the help so far.

    <table class="linkcontainer" cellspacing="0" cellpadding="0" border="0" width="100%">

  7. I played with ti some more. I figured out how to do many things but still the pages do not show. Is it a limit caused by the actual skin? No matter how big I make the width once it gets to 100% it does not get wider. If I need to I can change skins, but I would like to keep this one.

  8. The table width is already at 100% and it will not let me make it any wider, unless I am looking at the wrong thing. Here is the entry I was looking at:

    <table cellspacing="0" cellpadding="0" border="0" width="100%">

    It was in the HTML file, and when I made the width say 75% it made the entire skin narrower. So I think it is the right place it just won't let me make it bigger than 100%.

  9. Ok. I just got done messing with it and did everything I could. However, even if I made the nav bar bigger everything stayed the same. So I believe something else is wrong, which prevents my created pages from showing up. Thanks.

  10. It is not an error but a problem. I used your tutorial. When I got to the part where you fix it so the new pilots and flight reports do not show up on every page it did not work. They show up on every page and I cannot seem to fix it. As for the css, I can't figure out exactly which value to edit. Here is what the css looks like:

    body {

    margin: 0px;

    background-color: #333333;

    font-family: Verdana, Arial, Helvetica, sans-serif;

    font-size: 11px;

    }

    table.linkcontainer td{

    background-color: #000000;

    filter:alpha(opacity=70);

    opacity: .7;

    -moz-opacity: .7;

    }

    td.logo_area{

    border-top-width: 0px;

    border-right-width: 0px;

    border-bottom-width: 0px;

    border-left-width: 0px;

    border-top-style: solid;

    border-right-style: solid;

    border-bottom-style: solid;

    border-left-style: solid;

    border-top-color: #FFFFFF;

    border-right-color: #FFFFFF;

    border-bottom-color: #FFFFFF;

    border-left-color: #FFFFFF;

    }

    td.middle_spacer {

    width: 800px;

    background-color: #666666;

    }

    td.shadow_right {

    background-image: url(images_template1/border_shadow_l.jpg);

    background-repeat: repeat-y;

    background-position: left;

    }

    td.shadow_left {

    background-image: url(images_template1/border_shadow_r.jpg);

    background-repeat: repeat-y;

    background-position: right;

    }

    td.body_content {

    padding: 5px;

    background-image: url(images_template1/bg_content.jpg);

    background-repeat: repeat;

    }

    td.below_header{

    background-color: #1F1F1F;

    height: 50px;

    color: #CCCCCC;

    padding: 5px;

    }

    td.main_content_box {

    background-color: #FFFFFF;

    }

    td.horizontal_column {

    background-color: #000000;

    border-top-width: 15px;

    border-right-width: 0px;

    border-bottom-width: 1px;

    border-left-width: 0px;

    border-top-style: solid;

    border-right-style: solid;

    border-bottom-style: solid;

    border-left-style: solid;

    border-top-color: #000000;

    border-right-color: #000000;

    border-bottom-color: #000000;

    border-left-color: #000000;

    height: 150px;

    display: table-cell;

    vertical-align: top;

    }

    td.bottom_link_container {

    background-color: #000000;

    text-align: center;

    color: #FFFFFF;

    padding: 5px;

    }

    td.horizontal_center {

    background-color: #FFFFFF;

    border-top-width: 15px;

    border-right-width: 0px;

    border-bottom-width: 1px;

    border-left-width: 0px;

    border-top-style: solid;

    border-right-style: solid;

    border-bottom-style: solid;

    border-left-style: solid;

    border-top-color: #000000;

    border-right-color: #333333;

    border-bottom-color: #000000;

    border-left-color: #333333;

    height: 150px;

    display: table-cell;

    vertical-align: top;

    background-image: url(images_template1/header_bg.jpg);

    }

    td.header_column {

    height: 100px;

    vertical-align: middle;

    color: #FFFFFF;

    font-size: large;

    background-image: url(images_template1/header2_bg.jpg);

    background-position: top;

    }

    td.left_content {

    width: 200px;

    padding: 5px;

    vertical-align: top;

    background-image: url(images_template1/bg_content.jpg);

    background-repeat: repeat;

    }

    a.main_link:active,a.main_link:visited,a.main_link:link{

    font-weight: bold;

    text-decoration: none;

    display: block;

    width: 75%;

    color: #FFFFFF;

    line-height: 50px;

    }

    a.main_link:hover{

    background-color:#333333;

    color: #FFFFFF;

    }

    a.bottom_link:active,a.bottom_link:visited,a.bottom_link:link{

    font-weight: bold;

    text-decoration: none;

    color: #FFFFFF;

    }

    a.bottom_link:hover{

    color: #CCCCCC;

    }

    div.bottom_content{

    color: #FFFFFF;

    padding: 5px;

    }

    div.navigation {

    height: 50px;

    vertical-align: middle;

    text-align: center;

    }

    I guessed that it was the div.navigation but there isn't a width value, and when I added one everything got messed up real bad. Thanks for your help!

  11. It did not work. I took the code out of the header.tpl, and I do have the frontpage_main.tpl in the skin folder. Also how do you change the width between the buttons on the navigation bar? I looked around the header.tpl but didn't spot anything related to it, I might have missed it though.

  12. Ok, I have a few more problems. How do I change the space between the navigation tabs? Also with the new pilots and new reports on the left, they show up on every page. I did what Nabeel said to do so they don't show up on every page. I must have made an error somewhere. Also, thank you for the compliment.

    Here is the particular area in the header.tpl:

    </php

     

      if($_GET['module'] -- 'frontpage')

      {

      ?>

            <td class="left_content">

    <h3>Recent Reports</h3>

    <?php MainController::Run('PIREPS', 'RecentFrontPage', 5); ?>

    <h3>Newest Pilots</h3>

    <?php MainController::Run('Pilots', 'RecentFrontPage', 5); ?>

    </td>

    </php

    }

    ?>

    My added pages (ones I created) don't show up either.

×
×
  • Create New...