Best practice forum (Archived)

uploading users

 
? ?
uploading users
by ? ? - Friday, 14 October 2011, 8:51 AM
 

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.


Simon Coggins
Re: uploading users
by Simon Coggins - Sunday, 16 October 2011, 5:07 PM
Group 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
by ? ? - Monday, 17 October 2011, 1:59 AM
 

Thanks Simon! That's brilliant.

I will see if I can get this put in.

Haroon.