1
ay007
Redesign Templates
  • 2003/12/19 6:54

  • ay007

  • Just popping in

  • Posts: 1

  • Since: 2003/12/19


When creating new design templates, do you need to stick to the 3 column rule? I was readin the template guide and it says that you must stick to the 3 column rule? is that necessary?

But more specifically, i dont want to use this three column design but rather do something different all together.

See site:http://uutv.syr.edu

I want to implement XOOPS into this current design and create modules to enable the users to post new shows and update the content on the site. With enough code editing, is what i dream possible with xoops?

2
fatman
Re: Redesign Templates
  • 2003/12/19 7:15

  • fatman

  • Friend of XOOPS

  • Posts: 176

  • Since: 2003/12/13


You could easily use that design. You could just not use the right colum and keep your left and center columns the same width.

If you're willing to modify your templates to get a nice style (like the one your site has) then remember you can get creative and move your block areas around in html and provide some looping with smarty.

Here is simple theme.html hack which will let you line up blocks in a row.

theme.html

<table border="0" cellpadding="0" cellspacing="0">
  <
tr
<!-- 
BLOCK START -->
        <{foreach 
item=block from=$xoops_lblocks}>
          <{include 
file="mytheme/theme_blockleft.html"}>
       <{/foreach}>
<!-- 
BLOCK END -->
  </
tr>
</
table>

mytheme/theme_blockleft.html

<td>
<{
$block.content}>
</
td>

Login

Who's Online

232 user(s) are online (163 user(s) are browsing Support Forums)


Members: 0


Guests: 232


more...

Donat-O-Meter

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

Latest GitHub Commits