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?

October 19, 2019, 08:22:53 AM

Login with username, password and session length

Recent

Members
  • Total Members: 3756
  • Latest: Ocean
Stats
  • Total Posts: 189092
  • Total Topics: 20765
  • Online Today: 61
  • Online Ever: 629
  • (November 08, 2018, 01:36:54 PM)
Users Online
Users: 1
Guests: 40
Total: 41

Author Topic: Theme Tutorial  (Read 3835 times)

0 Members and 1 Guest are viewing this topic.

nanbread

  • Guest
Theme Tutorial
« on: May 05, 2005, 05:42:37 PM »
I did a search for this but couldn't find any results. So, would it be possible for someone to write a little tutorial about making themes for TP?

Offline IchBin™

  • Developer
  • *
  • Posts: 16228
    • My Website
Re: Theme Tutorial
« Reply #1 on: May 05, 2005, 05:44:55 PM »
That would require A LOT of work. I hope someone will do it.

Bjørn

  • Guest
Re: Theme Tutorial
« Reply #2 on: May 05, 2005, 05:57:42 PM »
Basically it just making a theme for SMF. ;) The added sideblocks and article template comes "afterwards" and draws upon the SMF theme.

But they don't have to. I plan to make some examples of layouts/tempaltes that can either be a normal "portal" look, like BlocZone - or look like a site which seem to have the forum as just a section, not revealing that it IS in fact the engine. ;) Its all in the templates.

The one thing that is missing for that to be possible, is section-specific blocks. So that a block can be on a single page only, and that page actually seem like a stand-alone page with some info drawn into it.

I guess more like an CMS than a portal.

....but back to your question about tutorials on making themes..I will try to do some , but as IchBin says, it does take some work to write up.

nanbread

  • Guest
Re: Theme Tutorial
« Reply #3 on: May 05, 2005, 06:27:25 PM »
Yeah I totally agree with the amount of work. Right now the only part that I don't really understand is how the side blocks are added and what file you have to edit to add them... could someone point this out to me?

Something a little easier would be for someone to create a blank template that people can just add on/modify. It would make the learning process a lot easier especially if you know how the regular SMF theming system works.

Thanks.

Offline IchBin™

  • Developer
  • *
  • Posts: 16228
    • My Website
Re: Theme Tutorial
« Reply #4 on: May 05, 2005, 08:27:08 PM »
That wouldn't be too bad of an idea. Make like a default Tinyportal template that you can show examples on what goes where and how to change specific things. Although at the moment, Bloc is a little busy with the new release I'm guessing. ;)

Kindred

  • Guest
Re: Theme Tutorial
« Reply #5 on: May 06, 2005, 07:53:50 AM »
Actually, that part is pretty much already done. :)

In the TinyPortal apckage, look for the .MOD files.

Anything that adjusts "Themes/default/XXX.template.php" needs ot be done to any theme that you want to TP....

That's what I did for the Sitra Theme
(of course, I also had to move some things around beause the Sitra theme was designed a little oddly to begin with)

but, seriously, it's just a matter of looking through the .MOD file and reviewing what template files are changed in what way...

Offline IchBin™

  • Developer
  • *
  • Posts: 16228
    • My Website
Re: Theme Tutorial
« Reply #6 on: May 06, 2005, 10:39:23 AM »
Yes but how do your write the rest of the theme? That's my point. I know how to convert a theme for Tinyportal I did some of Blocs themes conversion for him. I'd just like to have a place to refer to that says where and what code needs to be in all the different template files like board.index, template.index, message.index etc.

Bjørn

  • Guest
Re: Theme Tutorial
« Reply #7 on: May 06, 2005, 05:21:41 PM »
Thats a major task..but not impossible.

Offline IchBin™

  • Developer
  • *
  • Posts: 16228
    • My Website
Re: Theme Tutorial
« Reply #8 on: May 07, 2005, 05:40:12 PM »
I realize that. That's why I don't expect you to do it. :) It would be nice if all the themes for SMF where very well documented with comments. Bloc you do a pretty good job on this keep it up.

Offline Nokonium

  • Aging Hippie
  • Friends
  • *
  • Posts: 1384
    • Our-Local
Re: Theme Tutorial
« Reply #9 on: May 08, 2005, 05:40:14 AM »
For some just changing colours may be enough, knowing style controls what bits and also where colours are set in templates what and where. You have to start somewhere and not all peeps who do their own themes want to modify templates, me included. I understand what I'm doing with style sheets but not php.