1
vamptrix
Re Very basic question (need the help :()
  • 2009/6/18 14:13

  • vamptrix

  • Theme Designer

  • Posts: 424

  • Since: 2008/5/3 1


Can anyone help me :( Don't understand why it doesn't work, I use the same code to show it as other themes do, tried everything I think I can...

Here is the theme.html content though, if somebody can help :p

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<!--

Design by Free CSS Templates
http
://www.freecsstemplates.org
Released for free under a Creative Commons Attribution 2.5 License

Title      
: Unembellished 
Version    
: 1.0
Released   
: 20090428
Description
: A two-column, fixed-width and lightweight template ideal for 1024x768 resolutions. Suitable for blogs and small websites.
Ported to XOOPS by Vampire Trix (www.acida.me)

-->
<
html xmlns="http://www.w3.org/1999/xhtml">
<
head>
<
meta http-equiv="content-type" content="text/html; charset=utf-8" />
<
title><{$xoops_sitename}> - <{$xoops_pagetitle}></title>
<
meta name="keywords" content="<{$xoops_meta_keywords}>" />
<
meta name="description" content="<{$xoops_meta_description}>" />
<
link href="<{$xoops_themecss}>" rel="stylesheet" type="text/css" />
</
head>
<
body>
<
div id="wrapper">
<!-- 
start header -->
<
div id="header">
    <
div id="logo">
        <
h1><a href="<{$xoops_url}>"><{$xoops_sitename}></a></h1>
        <
h2><{$xoops_pagetitle}></h2>
    </
div>
    <
div id="menu">
        <
ul>
            <
li class="current_page_item"><a href="<{$xoops_url}>">Homepage</a></li>
            <
li><a href="<{$xoops_url}>/modules/news/">News</a></li>
            <
li><a href="<{$xoops_url}>/modules/mastop_publish/">Content</a></li>
            <
li><a href="<{$xoops_url}>/modules/newbb/">Forum</a></li>
            <
li class="last"><a href="<{$xoops_url}>/modules/amcontact/">Contact</a></li>
        </
ul>
    </
div>
</
div>
<!-- 
end header -->

<!-- 
start page -->
<
div id="page">
    <!-- 
start content -->
    <
div id="content">
      <
div class="post">
    <{
$xoops_contents}></div>
    </
div>
    <!-- 
end content -->
    <!-- 
start sidebar -->
    <
div id="sidebar">
<{foreach 
item=block from=$xoBlocks.canvas_right}> <{includeq file="$theme_name/theme_blockright.html"}> <{/foreach}> 
</
div>
    <!-- 
end sidebar -->
    <
div style="clear: both;">&nbsp;</div>
</
div>
<!-- 
end page -->
</
div>
<!-- 
start footer -->
<
div id="footer">
    <
p id="legal"><{$xoops_footer}> - <a href="http://www.freecsstemplates.org/">Bestfriends</a> designed by <a href="http://www.freecsstemplates.org/">Free CSS Templates</a>    <br />
    <
a href="http://www.acida.me">Ported by Vampire Trix (Acida.Me)</a></p>
</
div>
<!-- 
end footer -->
</
body>
</
html>
I used to use this account, but no longer.

2
culex
Re: Re Very basic question (need the help :()
  • 2009/7/1 17:38

  • culex

  • Module Developer

  • Posts: 711

  • Since: 2004/9/23


Just quickly read through it, and I dont see any errors. What is it you cant make it do ?
Programming is like sex:
One mistake and you have to support it for the rest of your life.

3
iHackCode
Re: Re Very basic question (need the help :()

is $theme_name defined?
CBB / LatestNews / Publisher / XM-Spotlight

(ノ◕ヮ◕)ノ*:・゚✧

4
vamptrix
Re: Re Very basic question (need the help :()
  • 2009/7/1 20:59

  • vamptrix

  • Theme Designer

  • Posts: 424

  • Since: 2008/5/3 1


Currently, everything is working... http://www.acida.me to see it.. :)
But the side bars still need some layout ;)
I used to use this account, but no longer.

5
culex
Re: Re Very basic question (need the help :()
  • 2009/7/2 7:40

  • culex

  • Module Developer

  • Posts: 711

  • Since: 2004/9/23


Yes I see. This is looking very good vamptrix. Very nice job :) :)
Programming is like sex:
One mistake and you have to support it for the rest of your life.