1
bigwolf
How to adjust the width of Recent Comments block?
  • 2004/1/2 14:46

  • bigwolf

  • Just popping in

  • Posts: 36

  • Since: 2002/4/20


I've activated Recent Comments block at the right side in XOOPS 2.0.5.1. Yet the Recent Comments looks too wide than other blocks. How can I fix the problem? Please help, thanks!

2
JackJ
Re: How to adjust the width of Recent Comments block?
  • 2004/1/2 15:11

  • JackJ

  • Community Support Member

  • Posts: 747

  • Since: 2003/8/31


Hello BigWolf

The Recent Comments block is designed to be a center block I believe.

If you go to admin/ blocks/recent comments and then click on "Edit" to the right of the block, there will be a link in the next dialogue box called "Template"

The code looks a bit like this:


<{foreach item=comment from=$block.comments}>
">






<{/foreach}>
<{$comment.title}> <{$comment.module}> <{$comment.poster}> <{$comment.time}>


If you know some HTML you could play around with this and perhaps fit the cells "TD" into "Rows" "TR" or take out bits you dont need etc

I don't know how good the result would be, you will need to play around with it and keep a copy of the orignal code somewhere.

I dont know which Template you are using--if it is the "Default", that needs to be "cloned" in System Admin and "Templates", and the "clone" (name it anything) made the default template in in General Settings. You cant edit the default template.

See the XOOPS Wiki and "Themes vs Templates" for more info. perhaps you know this already, just thought I would mention it..

3
bigwolf
Re: How to adjust the width of Recent Comments block?
  • 2004/1/3 0:58

  • bigwolf

  • Just popping in

  • Posts: 36

  • Since: 2002/4/20


Thanns for your reply, JackJ. I'll try to play around...

Login

Who's Online

138 user(s) are online (94 user(s) are browsing Support Forums)


Members: 0


Guests: 138


more...

Donat-O-Meter

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

Latest GitHub Commits