Alternatives (Newbury College Theme Set) v4b2 RELEASED & FIXED!!!

Alternatives (Newbury College Theme Set) v4b2 RELEASED & FIXED!!!

by Shaun Daubney -
Number of replies: 13
FIXED IE6 & IE7 MENU PROBLEMS!

Back to basics, the new Version 4 (beta2) of the Alternatives Theme Set. Inspired by BBC Online and MTV.com

Default Cropcircles

Two updated versions have been added to the theme database, default and crop circles.

v4.b2

FIXES

  • Menu now works with IE6.
  • Menu stays still in IE7, doesn't flit all over the place.
  • IE6 PNG linked as seperate file.

v4.b1

NEW FEATURES

  • Totally new menu system based on the MTV.com navigation menu. It's larger, more clear and more professional.
  • New style for side blocks, forum blocks and general boxes inspired by BBC Online.
  • Default has crisp lines and is more pleasing to the eye.
  • General tidy up of style to give a cleaner, more professional look.

KNOWN BUGS

  • Hot Potatoes activities make the interface look funny. Not unreadable, just funny.
  • Bound to be some more, please post to the forums if you find any (with solutions if possible).

Average of ratings: -
In reply to Shaun Daubney

Re: Alternatives (Newbury College Theme Set) v4b2 RELEASED & FIXED!!!

by Shaun Daubney -
Have now tested this theme with...

MSIE6
MSIE7
Firefox 3 (Windows)
Firefox 3 (Mac)
Safari 3 (Mac)*
Safari (iPhone/iPod Touch)

All are working fine from initial testing. Anyone have MSIE8 that can test it on there?

* Safari 3 (Mac) shows some slight colour variation in background gradient, to be corrected in v4b3.
In reply to Shaun Daubney

Re: Alternatives (Newbury College Theme Set) v4b2 RELEASED & FIXED!!!

by Jesús Martín -
Great work...
I have problems with png files and Explorer 6.

Look at this page:

http://www.sallep.net/valladolid/

Thanks
In reply to Jesús Martín

Re: Alternatives (Newbury College Theme Set) v4b2 RELEASED & FIXED!!!

by Ciara Rogers -

Hi Jesús,

I had the same problem. The path in the header.html file is incorrect.

I think it's line 18, change:

 include($CFG->themedir.'/test/js/ie6png.php');

to

 include($CFG->themedir.'/default/js/ie6png.php');

This worked for me!

Ciara

In reply to Shaun Daubney

Re: Alternatives (Newbury College Theme Set) v4b2 RELEASED & FIXED!!!

by sam kennedy -

Hi Shaun, What amazing themes!! This should be a quick one...

We're playing secretly with your attack_of_the_brain on our live server here:
http://moodle.hrc.ac.uk/?&theme=HRCstandard but we want to set the overall width of the page to be dynamic (say 90%) so you still see a bit of the background at the sides but you can resize your screen if multitasking etc.

Granted it will be slightly less beautiful but can you tell me how to do it?

The only reference i could find (and now can't for the life of me) was a Jason Hollowell post where he suggested changing header.html, footer.html and menubar.php table widths to 100%. That didn't work for me sad 

In reply to sam kennedy

Re: Alternatives (Newbury College Theme Set) v4b2 RELEASED & FIXED!!!

by Laura Koepke -

Sam - this worked for me:

Change the fixed pixel width to 100% in the header.html, menubar.php, and styles_variable.css.  Change the following:

  1. header.html - <table width="100%...> 2 places.
  2. menubar.php - <table ....style="width:100%;">
  3. styles_variable.css - <body { width:100%;}>

In the header.html, add to the <div id="page"> "style=margin-right: 20px; margin-left:20px;">.  This will put a 20px border around the left and right side of the page. Change the pixel size if you want to show more of the background but this amount gives around 90%

Average of ratings: Useful (1)
In reply to Laura Koepke

Re: Alternatives (Newbury College Theme Set) v4b2 RELEASED & FIXED!!!

by sam kennedy -
Works a treat. Thanks a million Laura!
In reply to Shaun Daubney

Re: Alternatives (Newbury College Theme Set) v4b2 RELEASED & FIXED!!!

by Joshua Westerway -

Hi,

I am using this theme on my Moodle, its excellent, just finished the modifications for the school colours etc. Fantastic work shaun!

Just a question, has anyone noticed that PDF resources when displayed in the same window show up ontop of the menu dropdowns? I have looked at changing the z-index of the menu and PDF resource but seeing as I do not know exactly what I am doing with CSS I cant get the fix to work.

Can someone help me here? Need to get the menu dropdowns to render ontop of the PDF resource window that shows up from courses.

??

Thanks,

-Josh

In reply to Shaun Daubney

Re: Alternatives (Newbury College Theme Set) v4b2 RELEASED & FIXED!!!

by sudeera hasanta -
very innovative theme!! Thanx Shaun. Just one question.
How did you add latest news item to the main body of the front page? (like a forum post)

thanx
In reply to Shaun Daubney

Re: Alternatives (Newbury College Theme Set) v4b2 RELEASED & FIXED!!!

by S R -
Beautiful theme! It improves Moodle readability and usability by 100%. It should become Moodle's default theme in my opinion.

A few bugs:

In Opera, the site takes too long to fully render and you get to see the page with no styles for about 1 to 2 seconds. A quick solution I did was to hide all the html content while it completely loads and use jquery to show once it's fully loaded.

So, first we create a style in header.html, like so:
<style type="text/css">
body { visibility:hidden; }
</style>

Then, move the jquery line out of the IE only conditional in header.html:

From this:

<!--[if lt IE 7]>
<script type="text/javascript" src="<?php echo $CFG->httpsthemewww .'/'. current_theme() ?>/js/jquery/jquery.js"></script>
<script type="text/javascript" src="<?php echo $CFG->httpsthemewww .'/'. current_theme() ?>/js/jquery/jquery.dropdown.js"></script>
<![endif]-->

To This:

<script type="text/javascript" src="<?php echo $CFG->httpsthemewww .'/'. current_theme() ?>/js/jquery/jquery.js"></script>
<!--[if lt IE 7]>
<script type="text/javascript" src="<?php echo $CFG->httpsthemewww .'/'. current_theme() ?>/js/jquery/jquery.dropdown.js"></script>
<![endif]-->

Last, add this line right before the closing </head> tag in header.html:

<script language="javascript" type="text/javascript">
$(document).ready(function(){
$("body").css("visibility","visible");
});
</script>
</head>

Also, in Opera, the menu bar has a glitch where the link "Web Outlook" doesn't get the right stylesheet. Here is the tweak to the menubar.php to solve this:

Around line 84 (right after the closed php code) comment out the </li>

So, it was like this:

<li id="n-right"><span class="dir">Themes</span>
<ul>
<?php
$text ='<li><a href="'.$CFG->wwwroot.'/?&theme=default">Default</a></li>';
$text .='<li><a href="'.$CFG->wwwroot.'/?&theme=cropcircles">They Came From Outta-Town</a></li>';

echo $text;
?>
</li>
</ul>

And we change it to this:

<li id="n-right"><span class="dir">Themes</span>
<ul>
<?php
$text ='<li><a href="'.$CFG->wwwroot.'/?&theme=default">Default</a></li>';
$text .='<li><a href="'.$CFG->wwwroot.'/?&theme=cropcircles">They Came From Outta-Town</a></li>';

echo $text;
?>
<!--</li>-->
</ul>
In reply to Shaun Daubney

Re: Alternatives (Newbury College Theme Set) v4b2 RELEASED & FIXED!!!

by Damien McHugh -

HI Shaun,

Thanks for your themes. They look great.

I'm using Alternatives College Red in Moodle 1.9.3 and I've edited the menubar links in menubar.php but when i click on 'my courses' i'm thrown out and have to log in again.

I'm a bit of a newbie to this so it could be something simple i'm missing. Have you any ideas why this is?

Damien

In reply to Damien McHugh

Re: Alternatives (Newbury College Theme Set) v4b2 RELEASED & FIXED!!!

by Damien McHugh -
Fixed it. Deleted some code by accident (told you i was a newbie!)blush