Hacking v 1.4 beta

Hacking v 1.4 beta

by g k -
Number of replies: 4

I just upgraded to v 1.4 but I would like to customize it more. For example, how would get rid of this window in the center of the page?

window

Average of ratings: -
In reply to g k

Re: Hacking v 1.4 beta

by Timothy Takemoto -

Dear K G

Is that a screen capture of a course in weekly format?

In courses/format/weeks/format.php there is the following

/// Print Section 0 with general activities

    $section = 0;
    $thissection = $sections[$section];

I think that you can comment out this part until

        echo "<tr><td colspan=3><img src=\"../pix/spacer.gif\" width=1 height=1></td></tr>";
    }

 Then you can get rid of the whole top section if you want. You will loose your news forum too.

If you are using one of the other formats then their should be a bit which echos section 0.

No guarantees.

Good luck,

Tim

takemoto

In reply to g k

Re: Hacking v 1.4 beta

by Marc Dastous -

This is the New Topic Section found in 1.4. 

To hide it:

1) Administration-->Configuration-->Site Settings

2) Change the Include a topic section: to NO

That will hide it.

Marc

In reply to Marc Dastous

Re: Hacking v 1.4 beta

by g k -

wow...MUCH easier than i thought ....lol

thank you