1
3lr0n
Last comments module
  • 2006/8/3 18:01

  • 3lr0n

  • Not too shy to talk

  • Posts: 167

  • Since: 2004/3/13


Hi.. can i modify the last comments block to dont show the comments for a certain module?

ta in advance
3lr0n
Spanish Overclocking Community xoops based site : http://www.overclocking.es

2
kurak_bu
Re: Last comments module
  • 2006/8/3 18:25

  • kurak_bu

  • Quite a regular

  • Posts: 342

  • Since: 2005/9/5 1


you need to go to directory:
/xoops-root/modules/system/templates
and open & edit one of the "system_comment..." files.

3
3lr0n
Re: Last comments module
  • 2006/8/3 18:49

  • 3lr0n

  • Not too shy to talk

  • Posts: 167

  • Since: 2004/3/13


<table width="100%" cellspacing="1" class="outer"><tr><td colspan="4">
<
img src="/themes/overclocking.es/images/comentarios.png">td>tr>
  <{foreach 
item=comment from=$block.comments}>
  <
tr class="<{cycle values="even,odd"}>">
    <
td align="center"><img src="<{$xoops_url}>/images/subject/<{$comment.icon}>" alt="" />td>
    <
td><{$comment.title}>td>

    <
td align="center"><{$comment.poster}>td>
    <
td align="right"><{$comment.time}>td>
  tr>
  <{/foreach}>
table>


This is my block template file..

what have to edit?
Spanish Overclocking Community xoops based site : http://www.overclocking.es

4
kurak_bu
Re: Last comments module
  • 2006/8/3 19:17

  • kurak_bu

  • Quite a regular

  • Posts: 342

  • Since: 2005/9/5 1


i think this:

is useless for you, you need to try, upload, then refresh module and again.

5
3lr0n
Re: Last comments module
  • 2006/8/4 15:40

  • 3lr0n

  • Not too shy to talk

  • Posts: 167

  • Since: 2004/3/13


Yep, but this is a variable i cant modify, i think may "attack" the code in php files, but dont know if there is a "official" way to do it
Spanish Overclocking Community xoops based site : http://www.overclocking.es

6
kurak_bu
Re: Last comments module
  • 2006/8/4 18:23

  • kurak_bu

  • Quite a regular

  • Posts: 342

  • Since: 2005/9/5 1


no...leave php files alone :) , you need to remove the code which show the module column. that's all.

7
3lr0n
Re: Last comments module
  • 2006/8/4 21:10

  • 3lr0n

  • Not too shy to talk

  • Posts: 167

  • Since: 2004/3/13


Hi.. i think i didnt express myself in the righ way

what i want to do is not to hide the column which show the name of the module where the comment is in, what i want is to change the behaviour of the latest comments block to dont show the comments from a certain module.

In this case, i want the block to display all the comments except the catads ones.

Regards.
3lr0n
Spanish Overclocking Community xoops based site : http://www.overclocking.es

8
3lr0n
Re: Last comments module
  • 2006/8/6 0:30

  • 3lr0n

  • Not too shy to talk

  • Posts: 167

  • Since: 2004/3/13


bump
Spanish Overclocking Community xoops based site : http://www.overclocking.es

Login

Who's Online

168 user(s) are online (110 user(s) are browsing Support Forums)


Members: 0


Guests: 168


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