1
firebus
how can i edit theme_block* templates in my custom theme?
  • 2004/6/21 21:15

  • firebus

  • Just popping in

  • Posts: 9

  • Since: 2004/6/21


hi. sorry if this is not the right theme forum for this question.

i cloned the default theme to create my own.

i have "Update module template .html files from themes/your theme/templates directory?" enabled.

my theme is the default theme, *and* the only selectable theme.

i'm using XOOPS 2.0.6.

if i update themes/mytheme/theme.html, it works great

but if i update any of the theme_blocktemplate files, XOOPS completely ignores my changes, and uses the defaults instead!

what do i need to do to get my edits to the block display templates to show up?!?

thanks!

2
tjnemez
Re: how can i edit theme_block* templates in my custom theme?
  • 2004/6/21 21:26

  • tjnemez

  • Home away from home

  • Posts: 1594

  • Since: 2003/9/21


have you cloned your templates?

3
tl
Re: how can i edit theme_block* templates in my custom theme?
  • 2004/6/21 21:27

  • tl

  • Friend of XOOPS

  • Posts: 999

  • Since: 2002/6/23


make sure the main theme file is calling the correct block theme files

it should not
<td id="leftcolumn">
   
   <{foreach 
item=block from=$xoops_lblocks}>
   <{include 
file="default/theme_blockleft.html"}>
   <{/foreach}>
   


it should be
<td id="leftcolumn">
   
   <{foreach 
item=block from=$xoops_lblocks}>
    <{include 
file="[color=d84848]mytheme[/color]/theme_blockleft.html"}>
    <{/foreach}>
   

4
firebus
Re: how can i edit theme_block* templates in my custom theme?
  • 2004/6/25 22:13

  • firebus

  • Just popping in

  • Posts: 9

  • Since: 2004/6/21


thanks! that was it!

Login

Who's Online

395 user(s) are online (283 user(s) are browsing Support Forums)


Members: 0


Guests: 395


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