need some help with my skin

I have a problem with my skin, the template i am using, the site is not what it should look like, http://globalaircargovirtual.org/test/index.php

Can someone give me a hand with it please?

Cheers

Dan C

I can tell i am a real noob at skinning lol, i found out my own problem haha.

Cheers

Dan C

Hey looks like you’re getting the hang of it.

Basically everything above your <div id=“mainbox”>, including that, will go into the header.tpl, everything below that into the footer.tpl, then you have to tweak it to fit right

Yeah kind of like what was said in Tutorial #1…LOL

http://globalaircargovirtual.org/test/index.php/pilots

I have a problem with that page, the code it self isn’t duplicated, yet the page is shown twice and there is an error in the code, yet i did nothing but copy the exact code from pilots_list.tpl, and saved it as pilots_list.tpl.

Cheers

Dan C

Hmm interesting. Do you hvae any pilots on that hub? That’s usually why.

Where did you put the header/footer? Make sure it’s in the skin, not the individual file.

Not sure why it would be replicating twice

My name should be there, and the header and footer are still there, i only change out what is in the <div mainbox, tho maybe i should get rid of that. I now have another problem, the view schedules are not working as they should, i have two search forums

Cheers

Dan C

Ok the site is just about done, just those two problems as stated before, then I can test it with a few pilots, then release it to the public.

Cheers

Dan C

That’s weird it should not be doing that. Did you change the pilots list template?

i put the code from the pilots_list.tpl into the template i had and saved over it.

Cheers

Dan C

What’s in your pilots tpl now?

the template, and the code for the pilots_list.tpl, should i have put

<?php

        Template::Show(‘pilots_list.tpl’);

?>?

Cheers

Dan C

No, not sure what you’re trying to do.

To edit a template, just copy the file to your skin folder (the folder of whichever skin you’re using), and edit it directly. You don’t need to do that

That is what i did, and it did that.

Is it o nly doing that on that page?

Use the default template and see if it still does it (delete the one in your skin folder)

it isn’t just that page, it is on the public profile too, the show all pireps part is on a separate place, and it has duplicated the site.

Cheers

Dan C

What files have you edited and put your template in?

All files, (all the files i copied to the new skin folder i created)

Cheers

Dan C

If I understand it right, you’re doing it wrong.

You only copy your header/footer into the header.tpl and footer.tpl. The rest of the templates you leave alone, unless you have to tweak something; if you have to tweak it, then you just copy it to your skin folder, and then edit it. But you don’t copy your header/footer to each one. Most templates won’t need any editing.

I am not putting the header or footer in, they are left alone.

Cheers

Dan C