1
kloy1334
Customised theme
  • 2004/4/14 3:32

  • kloy1334

  • Just popping in

  • Posts: 27

  • Since: 2004/3/20


I have designed a theme for my Xanga-competing journal site and am in desperate need of knowing why it isn't working. It appears to come up as a blank page.

I have attached the files in a zip below:

http://www.wiredblog.com/uploads/wiredblog3.zip

2
philou
Re: Customised theme
  • 2004/4/14 4:41

  • philou

  • Quite a regular

  • Posts: 384

  • Since: 2002/5/6 8


hi

in your theme.html you have on line 46 an
<{foreach item=block from=$xoops_lblocks}>


in the loop for the blocks you don't have content as
<div class="blockTitle"><{$block.title}>div>
<
div class="blockContent"><{$block.content}>div>


you have the same problem with left / right blocks and center blocks.
Take a look in the file theme.html in the default theme and also in theme_blockleft.html (for example) to see what I mean


3
kloy1334
Re: Customised theme
  • 2004/4/14 4:54

  • kloy1334

  • Just popping in

  • Posts: 27

  • Since: 2004/3/20


As they say in German, danke! [Yes, I know you're from France but I don't know any french :(]

I shall try tomorrow on my main computer.

4
incama
Re: Customised theme
  • 2004/4/14 5:01

  • incama

  • Friend of XOOPS

  • Posts: 513

  • Since: 2003/10/24


I'm missing the <{$block.title}> <{$block.content}> statements, they aren't defined in you theme,

Here is your theme now,,,,

this is the code:

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<{$xoops_langcode}>" lang="<{$xoops_langcode}>">
<
head>
<
meta http-equiv="content-type" content="text/html; charset=<{$xoops_charset}>" />
<
meta http-equiv="content-language" content="<{$xoops_langcode}>" />
<
meta name="robots" content="<{$xoops_meta_robots}>" />
<
meta name="keywords" content="<{$xoops_meta_keywords}>" />
<
meta name="description" content="<{$xoops_meta_description}>" />
<
meta name="rating" content="<{$xoops_meta_rating}>" />
<
meta name="author" content="<{$xoops_meta_author}>" />
<
meta name="copyright" content="<{$xoops_meta_copyright}>" />
<
meta name="generator" content="Microsoft FrontPage 5.0" />
<
title><{$xoops_sitename}> - <{$xoops_pagetitle}>title>
<
link rel="stylesheet" type="text/css" media="all" href="<{$xoops_url}>/xoops.css" />
<
link rel="stylesheet" type="text/css" media="all" href="<{$xoops_themecss}>" />

<
font face="Arial" size="2"><{$xoops_module_header}>
<
script type="text/javascript">

script>
<
body bgcolor="#C0C0C0">

<
div align="center">
  <
center>
  <
table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="75%" bgcolor="#FFFFFF" height="553">
    <
tr>
      <
td width="100%" colspan="2" height="50">
      <
font size="2">
      <
img border="0" src="<{$xoops_imageurl}>logo.gif" align="left" hspace="3" vspace="3" width="180" height="50">font>td>
    tr>
    <
tr>
        <
td width="100%" colspan="2" background="<{$xoops_imageurl}>top.jpg" height="20"> <p align="right"><{foreach 
            
item=block from=$xoops_crblocks}><font face="Arial" size="2"><{$block.title}> 
            <
br>
            <{
$block.content}>font> <{/foreach}> 
            
        td>
    tr>
    <
tr>
        <
td width="25%" bgcolor="#E1E7F2" height="473" align="left" valign="top" bordercolorlight="#FFFFFF"
          <
font size="2"
          
          font> <font face="Arial" size="2"> <{foreach item=block from=$xoops_lblocks}> 
          
          <
br>
          <{
$block.title}> <{$block.content}><{/foreach}> 
          
        td>
        <
td width="57%" height="473" valign="top" align="left"
          
          <
font face="Arial" size="2"><{foreach item=block from=$xoops_ccblocks}> 
          <{
$block.title}> <br>
          <{
$block.content}><{/foreach}> font>td>
    tr>
    <
tr>
      <
td width="100%" colspan="2" background="<{$xoops_imageurl}>top.jpg" height="20">
      <
font face="Arial" style="font-size: 8pt" color="#FFFFFF">Copyright © 2004 
      Wired
<b>Blogb>. All rights reserved.font>td>
    tr>
  table>
  center>
div>


Also added <{$xoops_imageurl}> so that XOOPS knows where your images are

5
incama
Re: Customised theme
  • 2004/4/14 5:02

  • incama

  • Friend of XOOPS

  • Posts: 513

  • Since: 2003/10/24


Damn Philou,,,you are a fast guy

6
kloy1334
Re: Customised theme
  • 2004/4/14 8:27

  • kloy1334

  • Just popping in

  • Posts: 27

  • Since: 2004/3/20


Still blank...

7
kloy1334
Re: Customised theme
  • 2004/4/14 8:31

  • kloy1334

  • Just popping in

  • Posts: 27

  • Since: 2004/3/20


Nevermind, just had to remove the "centre" tag.

8
kloy1334
Re: Customised theme
  • 2004/4/14 8:48

  • kloy1334

  • Just popping in

  • Posts: 27

  • Since: 2004/3/20


Why doesn't my "center-center" blocks display? i.e. News.

9
kloy1334
Re: Customised theme
  • 2004/4/14 21:02

  • kloy1334

  • Just popping in

  • Posts: 27

  • Since: 2004/3/20


Again...

Why doesn't my "center-center" blocks display? i.e. News.

I have uploaded the new files to the link on top.

Login

Who's Online

302 user(s) are online (181 user(s) are browsing Support Forums)


Members: 0


Guests: 302


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