Jump to content

Recommended Posts

  • Administrators
Posted

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

  • Administrators
Posted

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

Posted

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

  • Administrators
Posted

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

  • Administrators
Posted

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.

Posted

All i did to fix the finacials, was rename the file to core_finance_header.tpl and core_finance_balancesheet.tpl, and used the finance_summarysheet.tpl to fix the page, and it all works fine, just slightly too big, but that is no problem. all i do when i save over the files is copy the contents of the file into the template, that hasn't a header or footer, but calls those up from the header.tpl and footer.tpl files.

Cheers

Dan C

  • Administrators
Posted

You're doing something wrong...

You shouldn't be calling any templates from anywhere manually.

Don't rename those files, the system uses them. If you renamed them in your skin folder, then it's ignoring it and using the ones in the /core/templates folder. DON'T rename anything in there.

all i do when i save over the files is copy the contents of the file into the template, that hasn't a header or footer, but calls those up from the header.tpl and footer.tpl files.

Huh? None of the templates have a header or footer. There is a master header/footer.tpl in your skin folder that's used. Roger's video tutorials show those of these. Templates are automatically called, 90% of the time you don't be touching any of these, and there should be no manual template calls at all.

Just put your header in header.tpl, and footer in footer.tpl. That's ALL you should be doing for now. Delete any templates you put in your skin folder, and just follow the header/footer directions, and then follow:

http://phpvms.net/docs/skinning#skin_elements

To add those pieces into your header.

Watch Roger's tutorials again, I think there's a misunderstanding about how it works

Posted

NAbeel, u misunderstood me with the header.tpl and footer.tpl, I removed the header and footer from the template, and kept the header and footer.tpl files there, so those are the ones with the header and footer of my site in. For some reason the files work the way i have done them. It didn't work when i tried just using the header.tpl and footer.tpl, all i got was a dark grey background, and no white part so you can see the site properly.

Cheers

Dan C

  • Administrators
Posted
It didn't work when i tried just using the header.tpl and footer.tpl, all i got was a dark grey background, and no white part so you can see the site properly.

Because you probably weren't doing it correctly.

Posted

Can someone just help me and do it for me, as i have done my best, and i really am getting too aggravated by it. If i get too aggravated i become real irritated easily and become snappy for no reason.

Cheers

Dan C

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...