News: When asking for support, it helps us and you, if you read the Posting Guidelines

Login  |  Register
HTML5 Icon HTML5 Icon
TP on Social Media
Welcome, Guest. Please login or register.
Did you miss your activation email?

September 22, 2019, 02:58:13 PM

Login with username, password and session length

Recent

Members
Stats
  • Total Posts: 188947
  • Total Topics: 20756
  • Online Today: 109
  • Online Ever: 629
  • (November 08, 2018, 01:36:54 PM)
Users Online
Users: 1
Guests: 85
Total: 86

Author Topic: Theme questions  (Read 3818 times)

0 Members and 1 Guest are viewing this topic.

Offline IchBin™

  • Developer
  • *
  • Posts: 16228
    • My Website
Theme questions
« on: March 20, 2005, 10:29:22 AM »
As you know bloc I want to create my own theme eventually. If you have any tips please feel free. I'm assuming the only thing I need is the files that are put into the theme? I don't have to have any other files outside of the theme? I just kind of want to get an idea of what and where things are that I need.


Bjørn

  • Guest
Re: Theme questions
« Reply #1 on: March 20, 2005, 04:18:53 PM »
To make a theme, you need 3 files as a start, and the images folder.

The files are the same 3 that get copied when you install a copy of default theme... index.php, index.template.php and style.css.

Index.template.php handle all the code above the "main" area - the one that change when go into a different section - and the lower bottom part, the copyright for example.

Offline IchBin™

  • Developer
  • *
  • Posts: 16228
    • My Website
Re: Theme questions
« Reply #2 on: March 20, 2005, 04:48:02 PM »
So basically like the header and footer comes from the index.template.php ? The index.php is the main part? I know what the CSS is for.

Bjørn

  • Guest
Re: Theme questions
« Reply #3 on: March 20, 2005, 04:53:34 PM »
No, index.php does nothing..its just a precaution. When in frontpage of forum, Boardindex.tempalte gets used, when in overview of a board MessageIndex.tempalte is the one , and when in the actual posts Display.template.

Offline IchBin™

  • Developer
  • *
  • Posts: 16228
    • My Website
Re: Theme questions
« Reply #4 on: March 20, 2005, 05:09:20 PM »
Ah, ok. I get it. So there's a file for each view of the forum. Board view, topic view, and posts view.

Bjørn

  • Guest
Re: Theme questions
« Reply #5 on: March 20, 2005, 05:20:59 PM »
Yes. And then some like admin, calendar etc.

The beauty is that you can just copy the ones you WANT to change over to your new theme, if not the default files is automatically used.

So a new theme could just be 3 files+images and still be a brand new look. Like Helios...the "containers" in it are mostly set up in index and boardindex/messageindex...all else is just from the default theme, BUT with different CSS and in some cases icons etc.

kwitt

  • Guest
Re: Theme questions
« Reply #6 on: March 27, 2005, 10:48:02 AM »
what would be a good tool to make themes with?

Bjørn

  • Guest
Re: Theme questions
« Reply #7 on: March 27, 2005, 12:11:48 PM »
Very individual...I use pen and paper, photoshop and just a text-editor for the code. :)

Offline IchBin™

  • Developer
  • *
  • Posts: 16228
    • My Website
Re: Theme questions
« Reply #8 on: March 27, 2005, 01:28:46 PM »
^Hardcore themist. I've found context to be a good text editor. Photoshop if fantastic. I took an online class on photoshop a couple of years ago. Man is that program ahead of it's time.

Bjørn

  • Guest
Re: Theme questions
« Reply #9 on: March 27, 2005, 03:02:56 PM »
I use context sometimes..but my main editor is something called PHP Expert Editor. Despite its name perhaps, its really a very lean and fast program.

But any program with a testing function and coloring of code is enough.