Aardvark Post-IT (Requires Moodle 2.3.1 $version 2012062501.02)

Aardvark Post-IT (Requires Moodle 2.3.1 $version 2012062501.02)

Napisane przez: Mary Evans ()
Liczba odpowiedzi: 50
Obraz Core developers Obraz Documentation writers Obraz Peer reviewers Obraz Plugin developers Obraz Testers

At long last I have managed to get this theme working properly in Moodle 2.3.1 - The bad news is it will only work in a specific copy of Moodle 2.3.1 and that was released on Thursday. $version = 2012062501.02) $release = (Build 20120712) The good news is that it will work on all subsequent versions including Moodle 2.4 when that is eventually released.

I can tell you it has been a real struggle fixing one theng then another, but I am pleased to say all my sleepless nights paid off. 

I have done quite a lot of recoding, made CSS changes too. You will also find that the profile bar is slightly changed, this is because I was trying out something new. If you don't like it tell me, I can always change it to do something else, or go back to how it was originally. In fact if you have any bright ideas for what you want adding into the profilebar just let me know and perhaps I can build it into the next update?

Thanks to all who encouraged me, pestered me and helped me get this all done, especially Ruslan the Moodle developer who fixed Moodle so that the moving blocks function would work in a custom theme. See MDL-33890 for more insight.

You can download it from HERE

Thank you one and all...

Cheers

Mary

W odpowiedzi na Mary Evans

Re: Aardvark Post-IT (Requires Moodle 2.3.1 $version 2012062501.02)

Napisane przez: Gary Moncrieff ()

Thanks Mary

What you have changed almost mimics what I had done previously to this theme.

One thing however, if there are no blocks in the right colum, it seems to be reserving the space rather than expanding the centre column to fill the space.

W odpowiedzi na Gary Moncrieff

Re: Aardvark Post-IT (Requires Moodle 2.3.1 $version 2012062501.02)

Napisane przez: Mary Evans ()
Obraz Core developers Obraz Documentation writers Obraz Peer reviewers Obraz Plugin developers Obraz Testers

That was the last thing I did before uploading the new version.  The fix is in the bodyclass settings which you will find in the top of aardvark_postit/layout/default.php

W odpowiedzi na Mary Evans

Re: Aardvark Post-IT (Requires Moodle 2.3.1 $version 2012062501.02)

Napisane przez: Gary Moncrieff ()

Let me download again and check as I downloaded from the link above.

W odpowiedzi na Gary Moncrieff

Re: Aardvark Post-IT (Requires Moodle 2.3.1 $version 2012062501.02)

Napisane przez: Mary Evans ()
Obraz Core developers Obraz Documentation writers Obraz Peer reviewers Obraz Plugin developers Obraz Testers

You could try Purging all caches in Site Administration > Development > Purge all caches that will clear out any previous settings.

W odpowiedzi na Mary Evans

Re: Aardvark Post-IT (Requires Moodle 2.3.1 $version 2012062501.02)

Napisane przez: Gary Moncrieff ()

default.php file I have is exactly the same as in latest download package, purging all caches didnt help. Me and Moodle aren't getting on at all lol

W odpowiedzi na Gary Moncrieff

Re: Aardvark Post-IT (Requires Moodle 2.3.1 $version 2012062501.02)

Napisane przez: Gary Moncrieff ()

I'm not a coder but I think the problems with this code

$bodyclasses = array();
if (($haspbarpre || $haspbarpost) && $showsidepre && !$showsidepost) {
$bodyclasses[] = 'side-pre-only';
} else if (($haspbarpre || $haspbarpost) && $showsidepost && !$showsidepre) {
$bodyclasses[] = 'side-post-only';
} else if (($haspbarpre || $haspbarpost) && !$showsidepost && !$showsidepre) {
$bodyclasses[] = 'content-only';
}
if ($hascustommenu) {
$bodyclasses[] = 'has_custom_menu';
}

If I am reading it correct you are checking if profile bar has blocks in all conditions and for any page that doesnt have a block in the profile bar, the either column never gets hid even if there are no blocks.

W odpowiedzi na Gary Moncrieff

Re: Aardvark Post-IT (Requires Moodle 2.3.1 $version 2012062501.02)

Napisane przez: Mary Evans ()
Obraz Core developers Obraz Documentation writers Obraz Peer reviewers Obraz Plugin developers Obraz Testers

Hi,

It IS the code and this is what happened originally, which I fixed by removing the block-region class from the div container. Since the new code was added to Moodle core, the block-region class is a requirement otherwise you would not be able to move any blocks into the two new regions.

There has to be a way round this.

Mary

W odpowiedzi na Mary Evans

Re: Aardvark Post-IT (Requires Moodle 2.3.1 $version 2012062501.02)

Napisane przez: Gary Moncrieff ()

Maybe the only way around it is to add more if clauses?

W odpowiedzi na Gary Moncrieff

Re: Aardvark Post-IT (Requires Moodle 2.3.1 $version 2012062501.02)

Napisane przez: Gary Moncrieff ()

I have concluded in the end the best solution for me is to hard code stuff in these areas, since there isn't sticky fields anymore if I allow students to customise their my moodle page it deletes all the blocks I want to be permanent there.

Thanks again

W odpowiedzi na Mary Evans

Re: Aardvark Post-IT (Requires Moodle 2.3.1 $version 2012062501.02)

Napisane przez: Thelma Polanco-Perez ()

Mary,

Good Morning! I installed the latest $version = 2012071200 for Moodle 2.3.1 and I'm having the following issue: blocks in the right column disappear after two seconds when I click on 'turn editing on.' I have replicated the issue as admin in the main page after login and as an instructor in a course.

Here it's an attached pic.

Thanks for your help.

Thelma uśmiech

Załącznik ($a)
W odpowiedzi na Thelma Polanco-Perez

Re: Aardvark Post-IT (Requires Moodle 2.3.1 $version 2012062501.02)

Napisane przez: Mary Evans ()
Obraz Core developers Obraz Documentation writers Obraz Peer reviewers Obraz Plugin developers Obraz Testers

Have you checked to see if the Calendar and My Courses blocks are in the dropdown section in the header?

W odpowiedzi na Mary Evans

Re: Aardvark Post-IT (Requires Moodle 2.3.1 $version 2012062501.02)

Napisane przez: Thelma Polanco-Perez ()

Hi Mary,

Thanks for your reply.

Yes, I had checked. I don't have them in the dropdown.

Thelma

Załącznik ($a)
W odpowiedzi na Thelma Polanco-Perez

Re: Aardvark Post-IT (Requires Moodle 2.3.1 $version 2012062501.02)

Napisane przez: Mary Evans ()
Obraz Core developers Obraz Documentation writers Obraz Peer reviewers Obraz Plugin developers Obraz Testers

There is all kinds of things going on in Moodle we dont seem to have control over.  Since they introduce this drag-n-drop using AJAX the blocks are behaving strangely.

I need to get help from the HQ developers as it is beyond a joke.

So sorry for the inconvenience.
 All I can suggest is that you use another theme for the time being.

Mary

W odpowiedzi na Mary Evans

Re: Aardvark Post-IT (Requires Moodle 2.3.1 $version 2012062501.02)

Napisane przez: Thelma Polanco-Perez ()

Mary,

You're great! I really love your theme and will wait for your feedback.
Were you able to replicate the issue? I can send you the credentials to our test server.

Thanks,
Thelma uśmiech

W odpowiedzi na Mary Evans

Re: Aardvark Post-IT (Requires Moodle 2.3.1 $version 2012062501.02)

Napisane przez: Thelma Polanco-Perez ()

Hi Mary,

Any news from the HQ developers? We're planning to go live this Fall.

Thanks for all your help.

Thelma uśmiech

W odpowiedzi na Thelma Polanco-Perez

Re: Aardvark Post-IT (Requires Moodle 2.3.1 $version 2012062501.02)

Napisane przez: Mary Evans ()
Obraz Core developers Obraz Documentation writers Obraz Peer reviewers Obraz Plugin developers Obraz Testers

No chance!

The only thing you can do if you still want to use Aardvark Post-IT is use the one I uploaded the other day that has no blocks in the profile bar just icons and two postit note to add your own messages via the setting page.

You can download it from the Moodle Themes directory.

Sorry for the inconvenience.

Mary

W odpowiedzi na Mary Evans

Re: Aardvark Post-IT (Requires Moodle 2.3.1 $version 2012062501.02)

Napisane przez: Thelma Polanco-Perez ()

Are you talking about the Moodle 2.3 DRAG-N-DROP (Build: 20120714) (2012071202) or the 2.2 Post-IT (2012051100) version?

Thelma

W odpowiedzi na Thelma Polanco-Perez

Re: Aardvark Post-IT (Requires Moodle 2.3.1 $version 2012062501.02)

Napisane przez: Mary Evans ()
Obraz Core developers Obraz Documentation writers Obraz Peer reviewers Obraz Plugin developers Obraz Testers
W odpowiedzi na Mary Evans

Re: Aardvark Post-IT (Requires Moodle 2.3.1 $version 2012062501.02)

Napisane przez: Thelma Polanco-Perez ()

Mary,

I installed it and the blocks are working fine. This is good but I'll keep my eyes open for the developers update.

I just have a question, with this Posit it version I lost the header for the authentication page. I have attached an image in how it looks. It's basically just the two links without header or footer. Any ideas.


Thanks,
Thelma uśmiech

Załącznik ($a)
W odpowiedzi na Thelma Polanco-Perez

Re: Aardvark Post-IT (Requires Moodle 2.3.1 $version 2012062501.02)

Napisane przez: Mary Evans ()
Obraz Core developers Obraz Documentation writers Obraz Peer reviewers Obraz Plugin developers Obraz Testers

Hi,

How would I get to that page?  Can you give me a map starting with.... 

Site Administration >

Thanks

Mary

W odpowiedzi na Mary Evans

Re: Aardvark Post-IT (Requires Moodle 2.3.1 $version 2012062501.02)

Napisane przez: Thelma Polanco-Perez ()

Hi Mary,

Go to: http://mdltest2test.fuller.edu/ and click on the Login link.  You will hit the page.

Thanks,
Thelma

W odpowiedzi na Thelma Polanco-Perez

Re: Aardvark Post-IT (Requires Moodle 2.3.1 $version 2012062501.02)

Napisane przez: Mary Evans ()
Obraz Core developers Obraz Documentation writers Obraz Peer reviewers Obraz Plugin developers Obraz Testers

Sorry, the website mdltest2test.fuller.edu cannot be found

W odpowiedzi na Mary Evans

Re: Aardvark Post-IT (Requires Moodle 2.3.1 $version 2012062501.02)

Napisane przez: Thelma Polanco-Perez ()

Hi Mary,

Can you please try again? Access to mdltest2test.fuller.edu has been granted.

Thanks,
Thelma

W odpowiedzi na Thelma Polanco-Perez

Re: Aardvark Post-IT (Requires Moodle 2.3.1 $version 2012062501.02)

Napisane przez: Mary Evans ()
Obraz Core developers Obraz Documentation writers Obraz Peer reviewers Obraz Plugin developers Obraz Testers

Hi,

Is the URL correct as it just times-out...server is not responding.

W odpowiedzi na Mary Evans

Re: Aardvark Post-IT (Requires Moodle 2.3.1 $version 2012062501.02)

Napisane przez: Miriam Laidlaw ()
Obraz Plugin developers

I am getting this exact same response when I try to visit the site. Problem loading page: The connection has timed out.

W odpowiedzi na Mary Evans

Re: Aardvark Post-IT (Requires Moodle 2.3.1 $version 2012062501.02)

Napisane przez: Thelma Polanco-Perez ()

Hi Mary,

Let's try it one more time. Let me give you a different server:
http://moodleupgrade.fuller.edu/login/index.php


Thanks,
Thelma uśmiech

W odpowiedzi na Thelma Polanco-Perez

Re: Aardvark Post-IT (Requires Moodle 2.3.1 $version 2012062501.02)

Napisane przez: Mary Evans ()
Obraz Core developers Obraz Documentation writers Obraz Peer reviewers Obraz Plugin developers Obraz Testers

That is because it has a simple login page. Everyone seemed to want a blank page with just the login. If you want the header too, you need to change aardverk_postit/config.php in the login section under $THEME->layouts...

All you need to do is rename login.php to default.php.

    'login' => array(
        'file' => 'login.php',
        'file' => 'default.php',
        'regions' => array(),
        'options' => array('langmenu'=>true),
    ),

 

 

W odpowiedzi na Mary Evans

Re: Aardvark Post-IT (Requires Moodle 2.3.1 $version 2012062501.02)

Napisane przez: Thelma Polanco-Perez ()

It worked! Beautiful!

We're live on 2.3.1 now. I'm still working in fixing some other issues but everything is looking good. Thanks a lot for your great support.

Thelma uśmiech

W odpowiedzi na Thelma Polanco-Perez

Re: Aardvark Post-IT (Requires Moodle 2.3.1 $version 2012062501.02)

Napisane przez: Mary Evans ()
Obraz Core developers Obraz Documentation writers Obraz Peer reviewers Obraz Plugin developers Obraz Testers

Hi Thelma,

All I can say is WOW!  It looks fantastic!

Cheers

Let's hope they fix the moving blocks issue soon.

Thanks
for using the theme, and for making it look so nice on your site.

Mary

W odpowiedzi na Mary Evans

Re: Aardvark Post-IT (Requires Moodle 2.3.1 $version 2012062501.02)

Napisane przez: Thelma Polanco-Perez ()

Hi Mary,

Thanks for your comment it made my day!

Your theme is awesome and hope the HQ can fix the blocks issue soon.

Have a great weekend!

Thelma uśmiech

W odpowiedzi na Mary Evans

Re: Aardvark Post-IT (Requires Moodle 2.3.1 $version 2012062501.02)

Napisane przez: Thelma Polanco-Perez ()

Hi Mary,

I've been trying to find a way to customize this code but I think I am taking the wrong direction and I need your help...

Here is the scenario:
Is there a way to modify the font size and color for JUST the My Courses tree branch (depth_2) as well as the expand/collapsed items (depth_3) in our case Quarter categories (Winter 2013, Fall 2012, etc) under the Navigation block instance (left column) without changing the properties for My home, My Profile, etc.?  <see image below>


I installed the 'My Courses' block but it was impossible to make the categories and enrolled courses display in the right way. We opted for disable it and are considering a new solution through the Navigation block.

The Logic behind:
Students and Faculty login to our Moodle. It may easier for them to find their courses; otherwise, they are always requesting support in how to find their classes.

Thanks,

Thelma uśmiech

Załącznik ($a)
W odpowiedzi na Thelma Polanco-Perez

Re: Aardvark Post-IT (Requires Moodle 2.3.1 $version 2012062501.02)

Napisane przez: Mary Evans ()
Obraz Core developers Obraz Documentation writers Obraz Peer reviewers Obraz Plugin developers Obraz Testers

Not easily there isn't. If the links were a standard set it would be possible to code it using the link as a selector, but they are not standard, as each person has different set of links, so this make it impossible.

W odpowiedzi na Thelma Polanco-Perez

Re: Aardvark Post-IT (Requires Moodle 2.3.1 $version 2012062501.02)

Napisane przez: Miriam Laidlaw ()
Obraz Plugin developers

Hi Thelma,

Having this same issue with Aerie. It appears to be a Moodle core problem with any themes that have custom block areas, and nothing we can fix at the moment. We're all waiting so that we can continue using the themes we like (like Aardvark PostIT).

W odpowiedzi na Miriam Laidlaw

Re: Aardvark Post-IT (Requires Moodle 2.3.1 $version 2012062501.02)

Napisane przez: Thelma Polanco-Perez ()

Hi Miriam,

Thanks for your comment! It makes me feel I'm not the only one with this issue. Yes, we will need to wait for the Moodle developers feedback.

Thelma uśmiech

W odpowiedzi na Mary Evans

Re: Aardvark Post-IT (Requires Moodle 2.3.1 $version 2012062501.02)

Napisane przez: Richard van Iwaarden ()
Obraz Particularly helpful Moodlers

Hi Mary,

Is there any chance we can get a 'my courses' in the topbar menu? I tried to make this myself but couldn't get it right.

Would be great if you could include this.

W odpowiedzi na Richard van Iwaarden

Re: Aardvark Post-IT (Requires Moodle 2.3.1 $version 2012062501.02)

Napisane przez: Mary Evans ()
Obraz Core developers Obraz Documentation writers Obraz Peer reviewers Obraz Plugin developers Obraz Testers

Hi,

This was easy enoght to do just following the tutorial, but adding it to the aardvark_postit theme rather than make a separate theme. The only things I needed to do was

  1. add $THEME->rendererfactory = 'theme_overridden_renderer_factory';
    to aardvark_postit/config.php
  2. add the renderers.php from the tutorial to aardvark_postit/renderers.php
    making sure to change coursecategorymenu to aardvark_postit
  3. add $string['courses'] = 'Courses'; to aardvark_postit/lang/en/theme_aardvark_postit.php

And that was all!

Easy-Peasy!

PS: I have added renderers.php so you ca have a go. Just follow the above simple 3 steps.

Mary

W odpowiedzi na Mary Evans

Re: Aardvark Post-IT (Requires Moodle 2.3.1 $version 2012062501.02)

Napisane przez: Richard van Iwaarden ()
Obraz Particularly helpful Moodlers

That works like a charm. Did I tell you already that you really rock? Well, you do!

Thanks!

[edit]

Although you still rock, I noticed that my students see all courses instead of the ones they are enrolled in. I thought they would just see the courses they are enrolled in? Did I misunderstood the use of 'my courses'?

[/edit]

W odpowiedzi na Richard van Iwaarden

Re: Aardvark Post-IT (Requires Moodle 2.3.1 $version 2012062501.02)

Napisane przez: Mary Evans ()
Obraz Core developers Obraz Documentation writers Obraz Peer reviewers Obraz Plugin developers Obraz Testers

After I uploaded that file I realised I added the wrong one. There are two. The one you want is My Courses the one I gave you was All Courses!

I'll try and do the My Courses later...OK - then you can decide which to use. uśmiech

Rock on!

W odpowiedzi na Mary Evans

Re: Aardvark Post-IT (Requires Moodle 2.3.1 $version 2012062501.02)

Napisane przez: Richard van Iwaarden ()
Obraz Particularly helpful Moodlers

Take your time, school only starts next week uśmiech

W odpowiedzi na Richard van Iwaarden

Re: Aardvark Post-IT (Requires Moodle 2.3.1 $version 2012062501.02)

Napisane przez: Mary Evans ()
Obraz Core developers Obraz Documentation writers Obraz Peer reviewers Obraz Plugin developers Obraz Testers

Hi...I did it!

This gives you all Courses before login and My Courses after!  uśmiech

But you will need to add...

$string['mycourses'] = 'My Courses';

in lang/en/theme_aardvark_postit.php

W odpowiedzi na Mary Evans

Re: Aardvark Post-IT (Requires Moodle 2.3.1 $version 2012062501.02)

Napisane przez: Richard van Iwaarden ()
Obraz Particularly helpful Moodlers

Excellent! My Students will thank you forever uśmiech

Perhaps one extra feature would be to leave the categories intact in this menu, like you did with all courses.

Now the menu is flat, it could also be like this:

Science

Math
Chemestry

Languages

English
German
French

Expression

Art

Just a hint to make it a little better when students have like 40 courses or so, the menu get's prety big uśmiech

But nevertheless, you still rock!

W odpowiedzi na Richard van Iwaarden

Re: Aardvark Post-IT (Requires Moodle 2.3.1 $version 2012062501.02)

Napisane przez: Mary Evans ()
Obraz Core developers Obraz Documentation writers Obraz Peer reviewers Obraz Plugin developers Obraz Testers

O good...glad it works ok.

As for the changes..I will see what I can do...but no promices!

Mary

W odpowiedzi na Mary Evans

Re: Aardvark Post-IT (Requires Moodle 2.3.1 $version 2012062501.02)

Napisane przez: Gary Moncrieff ()

Mary

There seems to be a problem with this theme in two areas.

The login page doesnt show the site header/footer

If you enable tracking on an assignment, it all of a suddent becomes unaccessiable, what I mean by this is students cant click on it and it can't be edited anymore.

Thanks

Gary

W odpowiedzi na Gary Moncrieff

Re: Aardvark Post-IT (Requires Moodle 2.3.1 $version 2012062501.02)

Napisane przez: Gary Moncrieff ()

Ok it's 5.30am and I solved the login page bit I didnt like, but still having problems if I enable completion tracking.

W odpowiedzi na Gary Moncrieff

Re: Aardvark Post-IT (Requires Moodle 2.3.1 $version 2012062501.02)

Napisane przez: Mary Evans ()
Obraz Core developers Obraz Documentation writers Obraz Peer reviewers Obraz Plugin developers Obraz Testers

Hi Gary,

Sorry for the delay in getting back to you.

The login is easy to fix, which you have probably figured out...by just changing this line in aardvark_postit/config.php

    'login' => array(
        'file' => 'login.php',
        'file' => 'default.php',
        'regions' => array(),
        'options' => array('langmenu'=>true),
    ),

The completeion tracking problem is CSS related. To fix this you need delete the Completion Tracking CSS from aardvark_postit/style/core.css

See...http://moodle.org/mod/forum/discuss.php?d=207529

reports same problem...

Cheers

Mary

W odpowiedzi na Mary Evans

Re: Aardvark Post-IT (Requires Moodle 2.3.1 $version 2012062501.02)

Napisane przez: Gary Moncrieff ()

Thanks Mary, this is one of the best themes for Moodle, and easy to match to the theme I have for the new company site aswell, so hate not to use it over something like this.

Gary

W odpowiedzi na Gary Moncrieff

Re: Aardvark Post-IT (Requires Moodle 2.3.1 $version 2012062501.02)

Napisane przez: Mary Evans ()
Obraz Core developers Obraz Documentation writers Obraz Peer reviewers Obraz Plugin developers Obraz Testers

Is it  working OK now?

W odpowiedzi na Mary Evans

Re: Aardvark Post-IT (Requires Moodle 2.3.1 $version 2012062501.02)

Napisane przez: Gary Moncrieff ()

From my limiting testing since I changed it yes.