1
lloydie
theme / block seperate files
  • 2005/8/29 23:03

  • lloydie

  • Just popping in

  • Posts: 2

  • Since: 2005/8/14


I am in the process of now creating my first XOOPS theme. I have a simple question about the 5 external block files. Is it important to keep these files seperate and keep the include statement in the base theme file rather than incorperating the code from each of these files in the theme file.

Is their a reason for having 5 seperate files rather than just one ?

thanks in advance.

2
adrock
Re: theme / block seperate files
  • 2005/8/29 23:29

  • adrock

  • Quite a regular

  • Posts: 291

  • Since: 2004/12/7


It is entirely up to you.

Some people have designed themes that use 'blocks' in the left and right columns, but not in the middle.

Having seperate 'block' files simply allows you the opportunity to use different formats/graphics for each of the areas that content can be placed in a theme.

Take a look at the 'nitelite' theme, that one is a good example of only using one html file. (it's the one I use most often when making my own)

Happy Xoopsing!
Affordable Web Hosting - Family - Fun!...and not always in that order!

Login

Who's Online

419 user(s) are online (364 user(s) are browsing Support Forums)


Members: 0


Guests: 419


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits