Posts made by Urs Hunkler

Moodle in English -> Wiki -> the "code" tag seems to be not activated

by Urs Hunkler -
Picture of Core developers
hello,

i'm working with the moodle wiki here on moodle.org and on my installation. paralell i work with some ewiki installations in another context.

ewiki supports the "code" tag to be able to integrate code snippets in wiki pages.

i noticed that the "code" tag is not interpreted in the moodle wiki. ewiki changes 'code' to 'pre class="markup code"', the moodle wiki lets it unchanged.

in the ewiki documentation the difference between 'pre' and 'code' is described as follows:

#  use the 'pre' ... '/pre' 'tags' for a paragraph of 
preformatted text, that still allowed to use WikiWords and 
simple markup

# with 'code' ... '/code' instead you would really see text as 
you typed it, with square brackets and other escapes not 
garbaging your text

could someone of the developer team please think about activating the 'code' handling as in ewiki?

ps. the 'pre' implementation seems to have a bug in the moodle wiki. empty lines in the 'pre' block make the interpreter close the block before reaching the '/pre' tag.

Average of ratings: Useful (1)
Picture of Core developers
dear developers,

with david's help i got the course page css working.

now i need to change the style of the glossary: the surrounding square and the tabs. changing the style of the two classes "generaltab..." and "forumpost..." change the style of all elemnts with this class. i can individually change the style of these elements with a Contextual Selector like "#act-glossary generaltab { background-color:yellow }". i just have to place a content div around the glossary part of the page.

which files do i have to change where by adding
and
.

thanks for your help
urs
Average of ratings: -
Picture of Core developers
hello david,

thanks for the link.

you discussed coloring the sideblocks. i want to color the whole column, which is the left and right cell of the outer table. therefore i need to patch the td-tags with id's to make them "stylable" with css.

you know, i try to do 1.5 css-styling future stuff now. wink

greetings
urs
Picture of Core developers
dear developers,

i've been trying to find the function, which builds the basic outer table of the course page. i need to mark the three columns ids because i want to color the backgrounds of the both outer columns differently with css.

are there simple basic rules, how and where the tables for all the pages are build?

any hints are welcome, thanks.
urs
Average of ratings: -