walkden-high Posted May 23, 2009 Posted May 23, 2009 (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 May 23, 2009 by walkden-high Error in text (oops)
f21970 Posted May 23, 2009 Posted May 23, 2009 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. 1
walkden-high Posted May 23, 2009 Author Posted May 23, 2009 I think it would probably be in the mrbs.css style sheet but can't seem to find where I would change the setting so to speak. Thanks for your reply f21970
NotSoFast Posted May 23, 2009 Posted May 23, 2009 (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 Edited May 23, 2009 by NotSoFast Forgot the other image!
walkden-high Posted May 23, 2009 Author Posted May 23, 2009 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..
NotSoFast Posted May 23, 2009 Posted May 23, 2009 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 1
walkden-high Posted May 29, 2009 Author Posted May 29, 2009 I have made the changes to the language and functions files and it worked a treat Thanks for your help Simon
Fontayne56 Posted July 9, 2009 Posted July 9, 2009 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
NotSoFast Posted July 13, 2009 Posted July 13, 2009 functions.inc.php is where you set up the table to show the booking types config.inc.php is where you set up the booking types: read the install documentation for more info. Simon
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now