1
jahangir
Custom Block (HTML) description in CSS
  • 2006/6/15 7:08

  • jahangir

  • Just popping in

  • Posts: 3

  • Since: 2005/11/5


Hi,
Help me describing custom html blocks in css.

Jahngir

2
dezigner
Re: Custom Block (HTML) description in CSS
  • 2006/7/7 4:07

  • dezigner

  • Just popping in

  • Posts: 12

  • Since: 2006/5/15


this is possible but i'm still working on it. you can see an example that it does work by switching to the other themes. i.e. phpkaox and x2t

exactly how, it doesn't seem anyone really knows

3
damaster
Re: Custom Block (HTML) description in CSS
  • 2006/7/7 21:45

  • damaster

  • Just can't stay away

  • Posts: 556

  • Since: 2003/5/11


Here the left block, but it's almost the same for the other blocks.

<!-- Start left blocks loop -->
<{foreach 
item=block from=$xoops_lblocks}>
<
div class="blockTitle"><{$block.title}></div>
<
div class="blockContent"><{$block.content}></div>
<{/foreach}>
<!-- 
End left blocks loop -->


foreach leftblock design a title and content

Design with css:
text color, font, size, backround, border, padding, margin
etc

You can also do it with html, using tables
It's almost the same:

<!-- Start left blocks loop -->
<{foreach 
item=block from=$xoops_lblocks}>
<
table>
<
tr>
<
td class="blockTitle"><{$block.title}></td>
</
tr>
<
tr>
<
td class="blockContent"><{$block.content}></td>
</
tr>
</
table>
<{/foreach}>
<!-- 
End left blocks loop -->


You can be a lot more specifîc with html or add a class to the table. Check Doc XOOPS Site to learn more about Xoops.

http://xoopsdocs.net/
and
http://xoops-tips.com/

I like people more than machines or money. But that's me!
Lets do something good and great: Lets do open source!

Login

Who's Online

174 user(s) are online (103 user(s) are browsing Support Forums)


Members: 0


Guests: 174


more...

Donat-O-Meter

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

Latest GitHub Commits