1
k_toni
theme_blockleft.html not compiled?!?!
  • 2004/3/23 11:22

  • k_toni

  • Just popping in

  • Posts: 14

  • Since: 2004/3/22


Hi there,

I came up with my own layout and I tried to pack the left theme-block in a table. What I did was the following:
<table cellpadding="0" cellspacing="0" width="150px">
    <
tr bgcolor="Black">
        <
td bgcolor="Black">
            <
img src="<{$xoops_imageurl}>icon1.gif"
            <{
$block.title}>        
        </
td>
    </
tr>
    <
tr bgcolor="Black" style="background-color:black">
        <
td>
            <{
$block.content}>
        </
td>
    </
tr>
</
table>


and there is no menu on the left side. Even if I try to switch back to the old one:
<div class="blockTitle"><{$block.title}></div>
<
div class="blockContent"><{$block.content}></div>

the left block is not compiled and not visible. With any other theme everything works fine...!?!?!

Do you have an idea what could be wrong?

Sincerely
Charly

2
Herko
Re: theme_blockleft.html not compiled?!?!
  • 2004/3/23 11:59

  • Herko

  • XOOPS is my life!

  • Posts: 4238

  • Since: 2002/2/4 1


Hey Charly,

If it doesn't compile the original left block, the problem probably is in the way you call upon your left blocks in the theme.html file. I'd check that with the default theme or any other theme, and check the synatx for errors.

Herko

3
tjnemez
Re: theme_blockleft.html not compiled?!?!
  • 2004/3/23 15:28

  • tjnemez

  • Home away from home

  • Posts: 1594

  • Since: 2003/9/21


hey charly,

what is url to your site? have you resolved this issue?

4
studioC
Re: theme_blockleft.html not compiled?!?!
  • 2004/3/23 15:28

  • studioC

  • Friend of XOOPS

  • Posts: 922

  • Since: 2003/12/7


hello charly,
as i see it's your first post...

have a look into the theme.html of that theme. Search for
<{foreach item=block from=$xoops_lblocks}>
// here may come ..
<{include file="../theme_blockleft.html"}>
// or the blockfunctions itself ..
<{/foreach}>

Perhaps your beginning theme.html does not have a left block originally? Please post if there were problems.

michael

5
T-Tech
Re: theme_blockleft.html not compiled?!?!
  • 2004/3/23 16:18

  • T-Tech

  • Just popping in

  • Posts: 62

  • Since: 2004/3/3 1


Try going to your templates_c folder and removing the generated theme-name-leftblock.html (Or whatever you have it named) Then refreshing your page.

When creating themes I have the same trouble, I have to remove the generated theme files once I update or change them in order to see the changes.

6
k_toni
Re: theme_blockleft.html not compiled?!?!
  • 2004/3/23 16:38

  • k_toni

  • Just popping in

  • Posts: 14

  • Since: 2004/3/22


Thank you very much for your tip. Stupid me.. :(. I just copied the entries from the original theme site which has been:

<!-- Start left blocks loop -->
<{foreach 
item=block from=$xoops_lblocks}>
<{include 
file="default/theme_blockleft.html"}>
<{/foreach}>
<!-- 
End left blocks loop -->


*gg*. Of course it could not work with naming the directory to look for "default". So your tip was just right. Thank you very much.

Sincerely
Charly

Login

Who's Online

214 user(s) are online (147 user(s) are browsing Support Forums)


Members: 0


Guests: 214


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