PEAK XOOPS - How to delete space line in events list? in englishin japanese

How to delete space line in events list?

  • You cannot open a new topic into this forum
  • Guests cannot post into this forum
Previous post - Next post | Parent - Children.1 | Posted on 2004/4/12 12:40
niten  企霹始   Posts: 2
How to delete space line in events list?
The default events list like this:

Coming events
09:00
For GOWin

15th Apr
For GOWin

20th Apr
For GOWin


I want to modify it become without space line as follow,where I need to modify?hope to see your replay, thanks.

Coming events
09:00
For GOWin
15th Apr
For GOWin
20th Apr
For GOWin
Votes:0 Average:0.00
Previous post - Next post | Parent - Children.1 .2 | Posted on 2004/4/15 16:12
GIJOE  黎扦烦菱   Posts: 4110
hi niten

There are two ways to do that.

a)
edit style.css in your theme, and add this line
dl {margin:0px;}

b)
edit pical_coming_schedule.html in your custom template like this
<{if $block.num_rows == 0}>
  <{$block.lang_PICAL_MB_NOEVENT}>
<{/if}>

<{foreach item=event from=$block.events}>

    <dl style='margin:0px;'>
      <dt>
        <{if $event.distance == 0}>
Votes:0 Average:0.00
Previous post - Next post | Parent - Children.1 | Posted on 2004/4/15 21:13
dreamgear  办霹始   Posts: 11
It would be better to wrap the whole block template in a div like this:

<div class="piCal_comingschedule">
.
.
.
</div>

and then in your theme's style.css put:

.piCal_comingschedule dl {
margin: 0px;
}

This gives you maximum flexibility. Just adding these classes to the templates once would let everyone have their own styles without ever touching the templates again.

Votes:0 Average:0.00
Previous post - Next post | Parent - No child | Posted on 2004/4/16 5:38
GIJOE  黎扦烦菱   Posts: 4110
hi dreamgear.

Thank you for your suggestion.
I agree with you.

I should set "class" into piCal's HTML.

I know its HTML is not so good.
I'm sorry I don't have time for rebuilding piCal's HTML or CSS ...
Votes:0 Average:0.00
Previous post - Next post | Parent - Children.1 | Posted on 2004/4/16 20:22
niten  企霹始   Posts: 2
Thanks! It's workable
Votes:0 Average:0.00
Previous post - Next post | Parent - No child | Posted on 2004/6/1 15:43
zer0fill  办霹始   Posts: 14
if you didn't see it already, I made a hack to remove the empty whitespace and group events that occur at the same time.

link
Votes:0 Average:0.00

  Advanced search


Login
Username or e-mail:

Password:

Remember Me

Lost Password?

Register now!