Subject:*
<
Name/Email:*
<
Message Icon:*
<
Select*
<
Message:*
<



Click the Preview to see the content in action.
Options:*
<
Confirmation Code*
<
9 - 1 = ?  
Input the result from the expression
Maximum attempts you can try: 10
*
<
     

Re: The incredible disappearing content trick
by Wheeler on 2005/3/8 2:46:06

russtik,
thanks for all that great info. I have built a 'tables only' theme with the content column first in the code. What do you think? This seems to work okay, it is designed on simplicity, so browsers won't crunch too many numbers rendering tables.

le="color: #000000"><?php <table class="wrapper"> <tr> <td></td> <td class="content" rowspan="2"> <table id="spacer"><tr><td></td></tr></table> centre column </td> <td></td> </tr> <tr> <td class="spine"> left column </td> <td class="spine"> right column </td> </tr> </table>


One more question, what are the pros and cons when using tables vs div's? I have not been able to get this information. Thanks again.
Re: The incredible disappearing content trick
by russtik on 2005/3/3 12:05:39

Hi yeah I've sorted the problem now...

As Rowdie pointed out the content of modules gets outputted at the location of <{$xoops_contents}>, I'd assumed it would displayed within $xoops_ccblocks which was the reason why I saw nothing when I navigated away from my home page (made up of blocks). I've since made a new template with my custom styling and the <{$xoops_contents}> tag which gets included when modules contents needs to be displayed. See this thread.

As for the tableless layout, it's been a lot of trial and error. For me this has consumed quite a bit of time in development. The site I'm working on is a 100% width, 3 column with a liquid centre(English UK spelling Wheeler ) column. I've tried numerous methods to get the specifications I was looking for but in the end adopted the BlueRobot 'Flanking Menus' layout which has proved to be stable cross browser/cross platform. It also has the added bonus of rendering the centre column before the left & right in the markup, which gives you extra SEO cred'. Here's the layout:

http://bluerobot.com/web/layouts/layout3.html

I'll post a link to the site I'm working on once it's finished

@fireguy: If you're thinking of going down the tableless/css layout route then you'd do well to choose XOOPS for your CMS. It's already xhtml and the smarty template system is great for getting control over the markup.
Re: The incredible disappearing content trick
by Wheeler on 2005/2/25 4:14:45

Hey thanks for the link!
Re: The incredible disappearing content trick
by rowdie on 2005/2/25 4:00:53

The problem is that $xoops_ccblocks is not the center contents.

You need to use <{$xoops_contents}> to display the center contents.

There are quite a few tableless css themes around. StudioC for one only designs tableless themes. Here's a direct link to his site.
Re: The incredible disappearing content trick
by Wheeler on 2005/2/25 3:17:40

Can you please post a link to your site using the theme with 'no tables'?

I am designing a new theme with tables and want to replicate it with NO tables. I could use an example.

You have spelled "centre" the Canadian way!
<div class="centre">
Quote:

russtik wrote:

<div class="centre">
<!-- Start center-center blocks loop -->
<{foreach item=block from=$xoops_ccblocks}>
<{include file="default/theme_blockcenter_c.html"}>
<{/foreach}>
<!-- End center-center blocks loop -->
</div>

Search trough your css for "centre", maybe it is "center".

ps. Very Funny Post Title

Who's Online

267 user(s) are online (203 user(s) are browsing Support Forums)


Members: 0


Guests: 267


more...

Donat-O-Meter

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

Latest GitHub Commits