1
aclysma
templates/themes refresh problems
  • 2005/5/14 7:41

  • aclysma

  • Just popping in

  • Posts: 7

  • Since: 2005/5/10


I'm having a hard time trying to get what I edit in /themes/mytheme/whatever.html to take effect. From what I understand from reading forums, all I should need to do to get the site's look updating from the .html files in my template folder is to go into the preferences > general options and change the radio button regarding that option to yes.

I have done that, and when I edit theme.html, my changes take effect immediately.

My problem is, I am trying to get the left and right column blocks to be different (per block). I noticed a theme_blockleft.html and theme_blockright.html in the theme I'm basing mine off of (based off of in file structure only). If I remember correctly, I am basing my theme off the default XOOPS theme, but I could be wrong.

What can I do to get the pages generated by XOOPS to reflect the changes I made to theme_blockleft/right.html?

These .html files in the theme seem to be a lot like the templates. Is there a way to define theme_blockleft/right in the database?

I'm a pretty new XOOPS user, and I'm on dial-up so I can't search around on my own as much as I'd like to (home from college). And, it's 2am here :)

And by the way, I welcome suggestions as to the design of my theme - but understand its not a finished product :)

Thanks in advance
Philip

http://aclysma.com/xoops

2
jdseymour
Re: templates/themes refresh problems

Actually the site looks pretty good. What kind of changes are you attempting to make? Most changes can be done in style.css for visual elements.

3
aclysma
Re: templates/themes refresh problems
  • 2005/5/14 7:56

  • aclysma

  • Just popping in

  • Posts: 7

  • Since: 2005/5/10


Mostly I'm getting rid of tables. I despise using them for visual elements. Specifically here, I'm trying to add h1's around the title of blocks.

<div class="blockTitle"><{$block.title}></div>


to

<div class="blockTitle"><h1><{$block.title}></h1></div>


EDIT: also, I'll be able to get rid of the div - I can use the h1 instead.

I prefer my html to match precisely the logical structure of the document - I think it helps people with screen-readers and I know it makes it easier to parse later on. And besides, I started trying to make this change so now I have to finish it :)

After I get the h1 working right, then it will be easy to get the text indented off the border, and I'll be able to deal with this situation quickly in the future.

Thanks for the quick reply
Philip

4
aclysma
Re: templates/themes refresh problems
  • 2005/5/14 16:27

  • aclysma

  • Just popping in

  • Posts: 7

  • Since: 2005/5/10


Still don't have a solution. If anyone has a tip, please share :)

Thanks
Philip

5
aclysma
Re: templates/themes refresh problems
  • 2005/5/14 21:21

  • aclysma

  • Just popping in

  • Posts: 7

  • Since: 2005/5/10


I figured it out, I didn't update the include directives in the theme.html file.

Thanks
Philip

Login

Who's Online

121 user(s) are online (95 user(s) are browsing Support Forums)


Members: 0


Guests: 121


more...

Donat-O-Meter

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

Latest GitHub Commits