1
dukehen
Keeping modules looking the same...
  • 2004/1/1 18:25

  • dukehen

  • Just popping in

  • Posts: 91

  • Since: 2003/12/9


1 minor bug, 1 general question:

Minor bug: I noticed on my site that my "sections" and "downloads" modules don't display properly (i.e. differently than the other modules on my site). The main thing is that it appears the main module box is smaller, causing some unwanted whitespace on both sides of the "site".

For kicks, I added a dummy download file to the downloads section, and that removed the whitespace - but the left side block is simply too big - and looks stupid.

I have tried changing the width of the table in the blockleft page to a value instead of a percentage, to no avail.

I can't seem to find any file in the template section to edit, that would allow me to set one width for the left block section on all of my pages. I had noticed before that some of the pages had left blocks that were a bit different in size, but nothing major.

The one that would make sense to me is within theme.html. There I have the left block set to a value of 192, but it appears to be overriden somewhere else.

I will continue to look at the downloads template files, but don't know where to look for the "sections" module...

2
JackJ
Re: Keeping modules looking the same...
  • 2004/1/1 18:38

  • JackJ

  • Community Support Member

  • Posts: 747

  • Since: 2003/8/31


Hello dukehen

If you find out which classes your templates for the modules are calling and look in style.css for things like

div.leftcolumn {font-size:11px; width: 160px;}
td.leftcolumn {border-right: #cccccc solid 1px; background-color: #f0f0f0; color: #000000;}

3
dukehen
Re: Keeping modules looking the same...
  • 2004/1/1 18:41

  • dukehen

  • Just popping in

  • Posts: 91

  • Since: 2003/12/9


Yes, thanks.

I have been looking at the CSS style and noticed these settings (as well as noticed similar discussion through some searching).

My prob with the "sections" module is that I can't figure out what template file is used. Sort of sucky.

Secondly, for the from the other modules I have been looking at...so far I was under the impression that the size was set by theme.html.

The search continues!!

4
JackJ
Re: Keeping modules looking the same...
  • 2004/1/1 18:53

  • JackJ

  • Community Support Member

  • Posts: 747

  • Since: 2003/8/31


Yes your right, the basic sections module does not generate any template files than I can see anyway.

The class calls to the style.css over-ride the theme.html is my understanding, I could be wrong of course..

5
DonXoop
Re: Keeping modules looking the same...

Pull up the source of a generated page and find the section of concern and there you will see any styles being used. Sometimes you have to add styles to your CSS file if it doesn't have the one being called.

6
Herko
Re: Keeping modules looking the same...
  • 2004/1/1 19:36

  • Herko

  • XOOPS is my life!

  • Posts: 4238

  • Since: 2002/2/4 1


The default sections module will be deprecated in the next version (2.1). This module is not yet 'smartyfied', has no Smarty (or any other kind of) templates. There will be, of course, a script to upgrade your current sections module to the new one (wf-sections, but it will probably be renamed to xoopssections or something).

Herko

7
dukehen
Re: Keeping modules looking the same...
  • 2004/1/1 19:53

  • dukehen

  • Just popping in

  • Posts: 91

  • Since: 2003/12/9


Good to hear, can't wait for 2.1!

Anyway, I believe that I have locked down where the issue is.

Right before <-- Start Left Blocks Loop -->, there is a that is unrestricted. If I reiterate the width setting of the table above (which happens to be 192), then it accomplishes the task.

This is found within theme.html.

So, I will make the change and see how that works!

Thanks again!

8
dukehen
Re: Keeping modules looking the same...
  • 2004/1/1 21:05

  • dukehen

  • Just popping in

  • Posts: 91

  • Since: 2003/12/9


Ended up sort of working, but doesn't control the display across the site.

Will keep looking around...

Login

Who's Online

377 user(s) are online (272 user(s) are browsing Support Forums)


Members: 0


Guests: 377


more...

Donat-O-Meter

Stats
Goal: AU$15.00
Due Date: Sep 30
Gross Amount: AU$0.00
Net Balance: AU$0.00
Left to go: AU$15.00
Make donations with PayPal!

Latest GitHub Commits