Best practice forum (Archived)

uploading users

 
??
uploading users
?? 发表于 2011年10月14日 Friday 08:51
 

Hi,

I am in the process of uploading users and enrolling them on specific courses. I have created a seperate column for each course. I have 5 users that need to be enrolled on all of these 15 courses.

The only issue I have is the way it is display when you choose preview rows.

Is there a fix for this - or is it to do with custom template design? (see screenshot)

Thanks,

Haroon.


CogginsSimon
Re: uploading users
CogginsSimon 发表于 2011年10月16日 Sunday 17:07
小组 Totara

Hi,

It's a bit tricky to cope with such wide content when you have a fixed width theme. One way would be to use CSS to get scrollbars to appear on the table if it's wider than the page.

If you edit the admin/uploadusers.php file to add an extra DIV tag around the uupreview table by putting this before:

echo '<div class="autoscroll">';

and this after:

echo '</div>';

then you can add this to the CSS in theme/standard/styles_layout.css:

/* put table above in horizontally scrolling div for cases when it is too wide for the page */
#admin-uploaduser div.autoscroll {
 width: 700px;
 overflow-x: auto;
}

See the attached screenshot for what it will look like.

Simon


??
Re: uploading users
?? 发表于 2011年10月17日 Monday 01:59
 

Thanks Simon! That's brilliant.

I will see if I can get this put in.

Haroon.