Jump to content

Recommended Posts

Posted (edited)

Hi

 

I have set up mrbs recently on a server 2003 test bed, my test link is here http://84.19.35.82:1234

 

I was wondering whether any knows how to span the types array across the screen in to 10 rather rows of 5 so i will have my departments in to 2 rows spanned across the screen.

 

Does any one know how to change the name as well, I want to get rid of the word meeting at the top left and just have room booking system.

 

Can any one help

 

Thanks in advance

Edited by walkden-high
Error in text (oops)
Posted
We run the same system, but have integrated it into our Moodle. I can't remember exactly which files, but you alter the php to customise the system to how you want it to look. Have a look at the php, it's fairly understandable and have a tweak until you get the result you want.
  • Thanks 1
Posted (edited)

Is the attached what you're after in terms of the types?

 

If so, all you need to do is edit the

tags a little so the first row ends and the second row starts after 10 cells rather than 5.
























Department


Admin


Art


Careers


Citizenship&RE


Diploma


Drama


English


Geography


History


ICT
&BS


ICT
-Support


Maths


Media


MFL


Music


PE&Dance


SEN


SLT


Technology

 

As for the text in the top left corner, it is set up in the "lang" file as a variable:

 

$vocab["mrbs"] = " Dog Booking System";

 

You can change it to whatever you want. (I don't know why the word "dog" popped into my head - random). See the other attachement for a picture.

 

Let me know if you need any clarification.

 

Simon

mrbs.jpg

dog booking system.jpg

Edited by NotSoFast
Forgot the other image!
Posted

Yeah what you have shown me looks like what I would have to do are the

tags in the mrbs.css style sheet I don't recall seeing anything like that.

 

I have already changed type in the lang file to department and I can't believe I didn't see where I would of changed mrbs to $vocab["mrbs"] = " Dog Booking System"; bloody hell.

 

Thanks for your help notsofast you are a star..

Posted

The

tags are created by a function called show_colour_key() in the functions.inc.php file. I only have a few entry types set up so I can't test this quickly, but I imagine you simply change the 5 to a 10.

 

# Display the entry-type color key. This has up to 2 rows, up to 5 columns.

function show_colour_key()

{

global $typel;

echo "

\n";

$nct = 0;

for ($ct = "A"; $ct <= "Z"; $ct++)

{

if (!empty($typel[$ct]))

{

if (++$nct >
5
)

{

$nct = 0;

echo "
";

}

tdcell($ct);

echo "$typel[$ct]\n";

}

}

echo "
\n";

}

 

Hope it works,

 

Simon

  • Thanks 1
  • 1 month later...
Posted
Is the attached what you're after in terms of the types?

 

If so, all you need to do is edit the

tags a little so the first row ends and the second row starts after 10 cells rather than 5.

Department

.......... ect

 

 

Simon

 

Which file is this in, as i'm trying to setup my departments

 

Many Thanks

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...