Themes

Moodle 1.9 - Aardvark 1.5 - Aquarium - RELEASED

 
Picture of Shaun Daubney
Moodle 1.9 - Aardvark 1.5 - Aquarium - RELEASED
Plugin developers

Just in case you fancy it, the Aardvark has had a makeover and put on a cool blue summer dress. I have uploaded my latest makeover of the Aardvark (codename Aquarium) to the themes database.

Click Here

(Edited by Mary Evans - original submission Friday, 30 July 2010, 04:29 PM)


 
Average of ratings: Useful (5)
It's only an avatar...
Re: Aardvark 1.5 - Aquarium - RELEASED
Core developersDocumentation writersParticularly helpful MoodlersPlugin developersTesters
Hi Shaun, I shall be casting a critical eye over this latest release! I do hope you have taken out the font tags from the footer! LOL

I can't tell from the header view on this release if you have the login form in the header as was in the earlier versions of Aardvark, a feature which lots of people have asked for. In fact they quite like the look of the old Aardvark and would like to keep the style of it but have the new added features like the YUI menu and the 3D sidebar 'wings' added.

I like the new look from the screenshot...will look forward to taking it for a test drive soon.

Cheers
Mary
 
Average of ratings: -
Picture of Shaun Daubney
Re: Aardvark 1.5 - Aquarium - RELEASED
Plugin developers
The login boxes aren't in this release but yes I've had lots of emails asking for them to come back. Show of hands if you want them and if I see 10 or more hands I will put the login boxes in this release...

Go...

 
Average of ratings: -
Picture of John Szkudlapski
Re: Aardvark 1.5 - Aquarium - RELEASED
 
Shaun

I'd like to see the login boxes . Having said that I have got used to not having them.

Maybe (if it's not too much of a job)- a header file with the boxes and a header file without then people can just rename the desired one in the theme folder (if that makes sense?)
 
Average of ratings: -
Picture of Manjinder Bhandal
Re: Aardvark 1.5 - Aquarium - RELEASED
 

Hi Shaun

I would definately like them to return... and also as Mary says the 3D Side bar wings... How come there is such an obvious box surrounding the login area - is that part of the design?

Manj

 
Average of ratings: -
It's only an avatar...
Re: Aardvark 1.5 - Aquarium - RELEASED
Core developersDocumentation writersParticularly helpful MoodlersPlugin developersTesters
+1 from me too!
 
Average of ratings: -
Picture of Manjinder Bhandal
Re: Aardvark 1.5 - Aquarium - RELEASED
 

Mary... I still havent gotten round to making those changes you suggested but I am going to set aside a day early next week to do them and will keep you posted... thanks again for all your help... might need your help with this theme now... Shaun you are a legend!

Manj

 
Average of ratings: -
Picture of Chris Delaney
Re: Aardvark 1.5 - Aquarium - RELEASED
 
Another vote for the login box to return!

Great looking theme Shaun.
 
Average of ratings: -
Picture of Enid Newberg
Re: Aardvark 1.5 - Aquarium - RELEASED
 
This is a wonderful theme. I have what may be a dumb question though. I tested and tweaked the theme on a localhost webserver on my pc with Moodle 1.9.9 and it worked perfectly. I installed a new moodle site with moodle 1.9.9 on the web and the theme won't read - it shows a notation "Moodle 1.4". Anyone have any ideas? Thank you.
 
Average of ratings: -
It's only an avatar...
Re: Aardvark 1.5 - Aquarium - RELEASED
Core developersDocumentation writersParticularly helpful MoodlersPlugin developersTesters
It seems to be a common problem with CPanel installs.

You will need delete your theme and reinstall it again but this time using cPanel. You may find this Moodle Doc useful, it explains how to do this.



Mary

 
Average of ratings: -
Picture of Enid Newberg
Re: Aardvark 1.5 - Aquarium - RELEASED
 
Thank you - this was it! I zipped it, uploaded through cPanel, unzipped through cPanel and it now works perfectly.
 
Average of ratings: -
Picture of Shaun Daubney
Re: Aardvark 1.5 - Aquarium - RELEASED
Plugin developers

The baying crowd have spoken, so if you redownload the package from the themes database you will now have a copy that reintroduces the login boxes.

I've tested it with FF3 and IE7/8 so fingers crossed it all works well.

What is your next wish masters? hehehe ;D


 
Average of ratings: Useful (1)
It's only an avatar...
Re: Aardvark 1.5 - Aquarium - RELEASED
Core developersDocumentation writersParticularly helpful MoodlersPlugin developersTesters
Hi Shaun,

Brilliant decision!

You ROCK!!!

cheerleader.gif

Mary

PS: I have a few comments which I will keep to a PM as they are mainly about coding issues and boring! smile
 
Average of ratings: -
Picture of Manjinder Bhandal
Re: Aardvark 1.5 - Aquarium - RELEASED
 

Shaun... Thanks for the welcome return of the login boxes!

Can I ask - how you include the stars and 'New' in the YUI menu? I see the icons in the images folders but not sure how to display them.

Thanks

Manj

 
Average of ratings: -
Picture of Chris Delaney
Re: Aardvark 1.5 - Aquarium - RELEASED
 
Manj,

You need to add a bit of code to insert an image, do this in the aardvark_menu.php file > insert where you want it, in the example below the image is displayed before the text.

For example you have something like this

<li class="yuimenuitem"><a class="yuimenuitemlabel" href="http://www.pdhpe.org/user/view.php?id=0&course=1"><img width="16" vspace="0" hspace="0" height="16" border="0" src="" alt="Profile" title="Profile" /> My Profile</a></li>

Blue is my URL link, when clicked this is where the user is sent.
Red specifies the properties of my image to be inserted.
Pink is the actual location of my image to be displayed.
Grey is the Text displayed in the menu that users will click

I just uploaded the images I wanted in my menubar to the Front Page Site files, probably not the best place but it worked....... this was just an easy work around.

Visit www.pdhpe.org to see how the menu bar looks, I'm too lazy to take a screen shot.

Hope this helps
 
Average of ratings: -
Picture of Richard Oelmann
Re: Aardvark 1.5 - Aquarium - RELEASED
Core developersParticularly helpful MoodlersPlugin developersTesters
Love this idea - especially for my primary school children! Adding the graphic icons to the menus would just add something small, but important, to the look and feel of the menus.
Now just got to find/create suitable icons for the menus!!! smile

Richard
 
Average of ratings: -
Picture of Pamela Gutierrez Zamora
Re: Aardvark 1.5 - Aquarium - RELEASED
 
Hi!

I´m using your theme (v.1.4)... thank for that! smile

I only have one question: How can I put a similar menu on mi vle? (that one that appears at the end of the page in this site you post: http://www.pdhpe.org/).

Hope you can help me!

Pamela
 
Average of ratings: -
It's only an avatar...
Re: Aardvark 1.5 - Aquarium - RELEASED
Core developersDocumentation writersParticularly helpful MoodlersPlugin developersTesters
Check out Moodle-Bar HERE

Download it and follow instructions (which are inside the ZIP file) on how to install into your Moodle VLE.

Mary
 
Average of ratings: -
Picture of Pamela Gutierrez Zamora
Re: Aardvark 1.5 - Aquarium - RELEASED
 
Thank you a lot! smile

Pamela
 
Average of ratings: -
Picture of Troy Smith
Re: Aardvark 1.5 - Aquarium - RELEASED
 
Shaun,

How did you fix the problem with the calender popup? I've been playing with this for hours and see you have it sort in 1.5

Troy.
 
Average of ratings: -
It's only an avatar...
Re: Aardvark 1.5 - Aquarium - RELEASED
Core developersDocumentation writersParticularly helpful MoodlersPlugin developersTesters
I don't think there is a real fix for the calendar pop-up as it is governed by JavaScript. I noticed you stated in another thread that it works OK in Chameleon theme, which uses lots js scripts in it. Perhaps if you search the js scripts in that theme you might find some code you can use.

Sorry I can't be much more help!

Mary
 
Average of ratings: -
Picture of Jeff Kitterman
Re: Aardvark 1.5 - Aquarium - RELEASED
 
"What is your next wish masters? hehehe ;D"

Is there a way to make the date in the menu bar link to a monthly view of calendar with global events hidden by default? Ican make the link a month view by adding ?view=month, but haven't been able to manipulate the default settings of the filters. Is this possible using the url?

Many thanks,

Jeff
 
Average of ratings: -
Picture of Jeff Kitterman
Solved: Re: Aardvark 1.5 - Aquarium - RELEASED
 
I had a closer look at the calendar mod, and I found that I didn't really understand the term global events. I assumed that it meant all course events, but this isn't the case (as I am sure that most of you know). Rather, global events are events created by admin that display on all course calendars. Thus, the link <a href="<?php echo $CFG->wwwroot; ?>/calendar/view.php?view=month"> will behave exactly as I wish. Sorry for the bother.
Cheers,
Jeff
 
Average of ratings: -
Picture of Brandon Fixico
Re: Aardvark 1.5 - Aquarium - RELEASED
 
I'm a new moodler, and I'm stuck already.
I've just downloaded 1.5, unpacked it, and uploaded it to my themes directory. When I select it from theme selector my header and top nav menu disappear, and I can't figure out what the issue is.
Can someone please help?
Here's a link to my site.

I installed it the same way to a test directory with a fresh moodle install, and it worked fine. I tried to do the same here but...
 
Average of ratings: -
It's only an avatar...
Re: Aardvark 1.5 - Aquarium - RELEASED
Core developersDocumentation writersParticularly helpful MoodlersPlugin developersTesters
Hello Brendon,

Your site appears to be working OK with Aardvark Lite, which is similar to Aardvark Pro 1.2 but very different than 1.5.

You talk about a new install of Moodle in another directory, and you say you had success with Aardvark 1.5...is that correct?

If the theme does not work in your current site, I would be tempted to delete it from the theme directory and try it again, but this time with a fresh copy of the theme.

From your description of the problem, however, it sounds like a CSS issue, or rather the lack of CSS. Did you alter/add/delete any CSS in aardvark.css. If you did, you might well be better validating that file to see if you have some errors in it. You can upload the css file to the W3C CSS Validator HERE

In your next reply here, if you could supply a screenshot, of the problem you have encountered, that would be helpful too.

Mary
 
Average of ratings: -
Picture of Chris Delaney
Re: Aardvark 1.5 - Aquarium - RELEASED
 

 

Our IT guys (who are off site) changed the authentication method on our Moodle site recently and now the Aardvark profile block no longer works. It returns an error message - you've tried to login too many times etc etc.

Anyway, it seems that we've moved to a CAS Server (SSO) authentication system. As an admin of the Moodle site I can see the various CAS config settings.  Hostname, Port, Host URL etc etc

I can also see (Under Admin > Users > Manage Authentication) an 'Alternate Login URL'

My question - how do I configure the profile block to work with these new settings. I had a look in profileblock.php - but that's like reading Japanese!

Alternatively, how could I edit the profile block to look like the original (which is nowhere near as pretty) which just had the word 'Login' - which would send users to the Login Page for our server.

 
Average of ratings: -
It's only an avatar...
Re: Aardvark 1.5 - Aquarium - RELEASED
Core developersDocumentation writersParticularly helpful MoodlersPlugin developersTesters

Can you upload the profileblock.php to your next post and I'll see what I can do with it...if anything?

There is a problem with the original that I am certain...so it might be that this is wrong anyway.

Cheers

Mary

 
Average of ratings: -
Picture of Chris Delaney
Re: Aardvark 1.5 - Aquarium - RELEASED
 

Thanks Mary,

Attached. I'll message through the other details specific to our authentication settings.

 
Average of ratings: -
It's only an avatar...
Re: Aardvark 1.5 - Aquarium - RELEASED
Core developersDocumentation writersParticularly helpful MoodlersPlugin developersTesters

Hi Chris,

There s a section in Site Administration > Users > Authentication > Manage Authentication

In the bank of options there is a section which has settings for CAS which is I think the one you need to activate by clicking on the 'Closed Eye' which turns it in an 'Open Eye' icon.

Then click on the settings which you will see on the right. Hopefully you will be able to fill this form in with all the info you have.

Hope this fixes the login problem for you?

Cheers

Mary

 
Average of ratings: -
Picture of Chris Delaney
Re: Aardvark 1.5 - Aquarium - RELEASED
 

Thanks Mary.

Yes, we have all of that set up. The problem is the Profile block in the Aardvark theme doesn't seem to talk to the server (that's why I posted in this forum).

If a user enters the details into the Profile Block - click 'login' it won't let them in. However, if they leave the profile block blank, click 'login' button - they are directed to our server login page, they enter details and all good.

That's why I think the profileblock isn't communicating with the CAS server.

Cheers

 

 
Average of ratings: -
It's only an avatar...
Re: Aardvark 1.5 - Aquarium - RELEASED
Core developersDocumentation writersParticularly helpful MoodlersPlugin developersTesters

In that case Chris, try just changing the location of the login in your profileblock, in this section...

if (!isloggedin() or isguestuser()) {
echo '<div class="profilelogin" id="profilelogin">';
echo '<ul><form class="loginform" id="login" method="post" action="https://yourserverURL/login/index.php">';

That should work, because you are just sending the data out to that server to check. On the other hand it might not work in which case the login bit of the profleblock is redundent so you might as well just drop that section of the profile block and make the login part of the menu like I did in Aardvark-Lite, you can still have the User pic though.

Mary

 
Average of ratings: -
Don
IE 8
Testers
Shaun, The original(beta) aardvark blows up in IE8 and needs to run in compatibility mode. Has that been fixed?

I'd show you my site but I may have the theme changed before you get there. See screen cap.



 
Average of ratings: -
Picture of Richard Oelmann
Re: IE 8
Core developersParticularly helpful MoodlersPlugin developersTesters
Hi Don,
Aardvark - all the latest versions - have been tested in IE8, perhaps swapping themes to one of the latest non-beta versions would be best.
The biggest problem that seems to crop up with users like myself is with the yui menus - which is what appears to be the main problem in the screenshot you've given.
My similar problem, a while back, was as a result of not having updated the moodle package itself for a while (I know, I know!!! blush) and so not having the necessary yui libraries included.

Richard
 
Average of ratings: -
Picture of Chris Delaney
Re: IE 8
 
I'm also having similar problems using Aardvark 1.4 - I'm running Moodle 1.9.9, so it's surely not out of date.

Works fine in FF and Chrome, but not in IE8.

Also, occasionally have a login issue, students login, appear in the 'Online Users' block but are not actually logged in.... that is they can't access their courses. This only happens in IE8.

This has been happening for a while, IT staff at school of course blame Moodle and the Aardvark theme, even though it works on some PC's and not on others. I personally think it could be some sort of security, trusted site thing.... not sure though.
 
Average of ratings: -
Picture of Richard Oelmann
Re: IE 8
Core developersParticularly helpful MoodlersPlugin developersTesters
Hi Chris and Don,
Guess it's not down to my original thought late last night then. So a bit stumped why the theme would work in some situations in IE8 (as reported by people having tested it on these forums) but not in others.
Am I correct in remembering that the YUI menus rely on some javascript files being pulled in? Are these all in place and is javascript blocked by the security settings in the IE8 installation you're using?
The logging on problem would not appear to be theme/moodle related though if it works on some pcs but not on others??? Do you have success when your students try the trusted sites solution you've put on your website for them?

Richard
 
Average of ratings: -
It's only an avatar...
Re: IE 8
Core developersDocumentation writersParticularly helpful MoodlersPlugin developersTesters
Hi,

I can't find a download for this particular version of Aardvark, or else I would have liked to try and find a 'fix' for this.

I do have a copy of the Alpha version, so is there any chance you could upload a copy of the header.html, aardvark_menu.php, and any or all of the css files related to your version of the theme so that I can mimic it on my WAMP server?

Cheers

Mary
 
Average of ratings: -
Picture of Chris Delaney
Re: IE 8
 
Mary,

Still trying to work out this weird IE8 issue.

I've zipped up the files I thought you might need, let me know if anything else required. If you have a chance to hunt around that would be awesome.

Cheers
 
Average of ratings: -
It's only an avatar...
Re: IE 8
Core developersDocumentation writersParticularly helpful MoodlersPlugin developersTesters
Missed this post earlier...thanks for zip...will let you know how I get on.

M
 
Average of ratings: -
Picture of Gerrard Shaw
Re: IE 8
 
Theme's looking good as ever Shaun, top work smile
 
Average of ratings: -
It's only an avatar...
Re: IE 8
Core developersDocumentation writersParticularly helpful MoodlersPlugin developersTesters
Chris have you solved this problem? Because in my original version of Aar'k1.4 the menu works OK (the original menu that is) but your menu doesn't which make me suspect it's something in the coding...missed something off...not closed a div li ul whatever.

I've been too busy with other Moodle stuff which has taken up a lot of my time...sometimes going round in circles.

Anyway...with luck I'll have another bash at your menu and see if I can spot the problem.

M
 
Average of ratings: -
It's only an avatar...
Re: IE 8
Core developersDocumentation writersParticularly helpful MoodlersPlugin developersTesters
Chris,
I sent you a message with the code where you had the problem in the menu. You have 2 too many </li> tags in the first set of menu items after Cyber Safety (I think it was).

I tested it afterwards in IE8 and it worked!

However you may well have found the solution yourself...but was a challenge, which I enjoyed, trying to find it! smile

Mary
 
Average of ratings: Useful (1)
Picture of Chris Delaney
Re: IE 8
 
Mary,

You are a gem.

Thanks so much!!
 
Average of ratings: -
It's only an avatar...
Re: IE 8
Core developersDocumentation writersParticularly helpful MoodlersPlugin developersTesters
Don,

I've narrowed this problem down to the user pic in the header. If you take out that particular include from the header.html I think you will find the menu rights itself. If not let me know.

Thanks Mary
 
Average of ratings: -
Picture of Frank Dixon
Re: Aardvark 1.5 - Aquarium - RELEASED
 
like the new look, love the new features. Tried to copy the login box code and css into 1.4 but kept getting errors. Anybody already done this and can tell me how?
 
Average of ratings: -
It's only an avatar...
Re: Aardvark 1.5 - Aquarium - RELEASED
Core developersDocumentation writersParticularly helpful MoodlersPlugin developersTesters
Yes! I have, but it might cost you to find out how! smile
 
Average of ratings: -
Picture of Frank Dixon
Re: Aardvark 1.5 - Aquarium - RELEASED
 
lol...Always scary what people consider adequate "payment" on the internet. And I don't mean money either :D
 
Average of ratings: -
It's only an avatar...
Re: Aardvark 1.5 - Aquarium - RELEASED
Core developersDocumentation writersParticularly helpful MoodlersPlugin developersTesters
smile
Actually there are some clues in this theme which I created using the aardvark theme.

Mary

 
Average of ratings: -
Picture of Frank Dixon
Re: Aardvark 1.5 - Aquarium - RELEASED
 
Thanks Mary. I'll snoop around when I get a chance.
 
Average of ratings: -
Picture of Chris Delaney
Re: Aardvark 1.5 - Aquarium - RELEASED
 
Hey Shaun,

Just noticed - is there a top border missing from the menu?

Not sure how to explain so attached screenshot.

Cheers

 
Average of ratings: -
It's only an avatar...
Re: Aardvark 1.5 - Aquarium - RELEASED
Core developersDocumentation writersParticularly helpful MoodlersPlugin developersTesters
Hi Chris,

Which level is that border problem at, I don't see it in my version!

Mary
 
Average of ratings: -
Picture of Chris Delaney
Re: Aardvark 1.5 - Aquarium - RELEASED
 
Mary,

The first sub menu item. Seems that the screen shot supplied by Sean and in fact his Demo Newbury site also has a similar problem.

Chris
 
Average of ratings: -
It's only an avatar...
Re: Aardvark 1.5 - Aquarium - RELEASED
Core developersDocumentation writersParticularly helpful MoodlersPlugin developersTesters
I've got it...but is it worth the time and effort to even try to fix this Chris! I'm getting lost in all these threads. I'll try and answer the one of yours about the IE8 menu issue.

Mary



 
Average of ratings: -
Picture of Paulo Matos
Re: Aardvark 1.5 - Aquarium - RELEASED
 

fix for this:

ul ul ul.first-of-type {
border-top: 1px solid #A0D1DB;
}
 
Average of ratings: -
It's only an avatar...
Re: Aardvark 1.5 - Aquarium - RELEASED
Core developersDocumentation writersParticularly helpful MoodlersPlugin developersTesters

Thank you! cheerleader.gif

 
Average of ratings: -
Foto Paloma
Re: Aardvark 1.5 - Aquarium - RELEASED
 

Hi there!!

 

I downloaded and installed this amazing theme some years ago now, but I'm updating the look of my 1.9 moodle (not yet sure about upgrading...) and would like to know if it would be possible to add a slideshow to the header of this theme in the manner of the Edumoodle theme (which, by the way, I can't download). I'm no expert but I thought maybe adding a snippet and the slideshow module...

 

Can anybody give me a hand here?  smile

 

Thanks!

 

Paloma

 
Average of ratings: -
It's only an avatar...
Re: Aardvark 1.5 - Aquarium - RELEASED
 
Average of ratings: Useful (1)
Foto Paloma
Re: Aardvark 1.5 - Aquarium - RELEASED
 

Thank you, Mary!

 

As helpful as usual! YesYesYes

 

I've downloaded it and installed it and it works!! I'll give it a try and decide wheter I keep the Aardvark Aquarium with a slideshow from Slideful or this one. If I can provide some useful tip I'll come back and say. smile

 
Average of ratings: -
Foto Paloma
Re: Aardvark 1.5 - Aquarium - RELEASED
 

I am customising this theme using the SLIDESHOW MODULE from the EDUMOODLE theme (thanks again, Mary, for the link to download it!).

 

I'm working on the menu, changing some colours and "exploring" its amazing possibilities. smile I managed to get the slideshow module working copying it in the AARDVARK theme, and adding the code from the EDUMOODLE header into the AARDVARK THEME. This is the result, I think it can get to look pretty good:

 

However, I've noticed that when I view it On SAFARI'S IPHONE or IPAD, the site goes to one side instead of being centered:

I've noticed this is only related to the SLIDESHOW MODULE, since when I delete the code, the page is centered just fine. However, in the EDUMOODLE THEME, the page displays just fine on the IPHONE/IPAD:

 

I've been trying to send a copy of my header.html, in case anybody here can figure a fix for this, but the system does not let me...

 

Anybody can give me a hand?

 

Thank you so much for these wonderful themes and amazing help. big grin

 

 

 

 
Average of ratings: -
Foto Paloma
Re: Aardvark 1.5 - Aquarium - RELEASED
 

Well, in case this can be helpful for anyone else: I've just solved it!! (I'm ever so proud of myself, I don't know anything about css, just learning it from you lot here) smile

 

I solved it by adding this code to the style.css in the theme's folder:

 

<metaname="viewport"content="width=1040; user-scalable=no;"/>

 
Average of ratings: -
Picture of boy brown
Απάντηση: Aardvark 1.5 - Aquarium - RELEASED
 
I have a problem.
When i turn edditing on, in the main menu a image doesn't allow me to select a resource.

 
Average of ratings: -
It's only an avatar...
Re: Απάντηση: Aardvark 1.5 - Aquarium - RELEASED
Core developersDocumentation writersParticularly helpful MoodlersPlugin developersTesters
You can adjust the CSS to fix this problem...I'll try and find another thread in this forum with the answer...

CLICK HERE to read that other forum discussion...

Here's the solution which you need to add at the end of aardvark.css

.sideblock .commands {

background: url(images/sideblocks/commandsB.png) !important;
border: 1px dotted #ddd;
padding: 0;

}



 
Average of ratings: Useful (3)
Picture of boy brown
Απάντηση: Re: Απάντηση: Aardvark 1.5 - Aquarium - RELEASED
 
Thanks a lot.
Problem SOLVED
 
Average of ratings: -
Picture of unformatted :)
Re: Απάντηση: Re: Απάντηση: Aardvark 1.5 - Aquarium - RELEASED
 
Its possible to change color to green?
A nature/eco style?
thanks
 
Average of ratings: -
It's only an avatar...
Re: Απάντηση: Re: Απάντηση: Aardvark 1.5 - Aquarium - RELEASED
Core developersDocumentation writersParticularly helpful MoodlersPlugin developersTesters
Would you like a green, eco friendly aardvark theme? I think that sounds really cool! I might try it.
 
Average of ratings: -
Picture of unformatted :)
Re: Απάντηση: Re: Απάντηση: Aardvark 1.5 - Aquarium - RELEASED
 
I would love it! grande sorriso
I'm finishing an environmental education learning site. some courses that will be available: Find out about the nature, Biodiversity, Global Warming, Natural Heritage, Protected Areas and Ecotourism.

I do not now how to change this theme to the nature theme. Can you help me please?

 
Average of ratings: -
It's only an avatar...
Re: Απάντηση: Re: Απάντηση: Aardvark 1.5 - Aquarium - RELEASED
Core developersDocumentation writersParticularly helpful MoodlersPlugin developersTesters
I will certainly help you. I'll work on it this coming weekend and post a link to a mock-up of the site. OK?

Mary
 
Average of ratings: -
Picture of unformatted :)
Re: Απάντηση: Re: Απάντηση: Aardvark 1.5 - Aquarium - RELEASED
 
Thanks a lot!

I'm using your other theme: http://moodle.org/mod/data/view.php?d=26&rid=2027&filter=1

But I loke some improvments of this new Aardvark (login much better, modules, etc). Maybe a mix of the best of both?

Let me now your paypal mail so I can donate for your work.
 
Average of ratings: -
Picture of unformatted :)
Re: Απάντηση: Re: Απάντηση: Aardvark 1.5 - Aquarium - RELEASED
 
Hi Mary!

Any update about this eco nature theme variation?

thanks
 
Average of ratings: -
It's only an avatar...
Re: Απάντηση: Re: Απάντηση: Aardvark 1.5 - Aquarium - RELEASED
Core developersDocumentation writersParticularly helpful MoodlersPlugin developersTesters
Did you not get my message? I am sure I sent you one regarding this.
Well if not then the theme I ended up creating is called Isometric, you can see an example of it HERE

It's not the same as Aardvark but it works in a similar way, as it has the same YUI menu which Patrick Malley first brought out Base YUI theme earlier this year. It has similar side wings like Aardvarks, but that's about where the similarity ends. But the colour scheme is more echo friendly.

There is another version of the Isometric theme which I've called R2D2 which you can see HERE
This theme is a little different again than its sister theme, in that the menu (YUI) brings in categories and courses dynamically as they are created. Categories ar in the top level of the menu with sub-categories and courses in the drop-down menu.
This theme also incorporates the Moodle bar in the footer.

Enjoy...

Mary
 
Average of ratings: -
Picture of Levi Smith
Re: Απάντηση: Re: Απάντηση: Aardvark 1.5 - Aquarium - RELEASED
 
I would really like a black/red/white colored theme, but don't know how to change. Mary, when you go to change this one to green, could you post some instructions or something?
 
Average of ratings: -
It's only an avatar...
Re: Απάντηση: Re: Απάντηση: Aardvark 1.5 - Aquarium - RELEASED
Core developersDocumentation writersParticularly helpful MoodlersPlugin developersTesters
Hi Levi,
You might find this Moodle Doc useful.
 
Average of ratings: -
Picture of Steve Smith
Re: Aardvark 1.5 - Aquarium - RELEASED
 
Hi ...i know this is a very Noob question ...but....
How do I control the top menu ( the menu next to the home icon)?
How do I change the titles and have them link to other pages I may have?
I'm very new to Moodle and I'm not a web site guy...so...I don't know PHP
....great theme by the way....
 
Average of ratings: -
Picture of Chris Delaney
Re: Aardvark 1.5 - Aquarium - RELEASED
 
Steve,

Everyone asks this same question at some stage, don't feel Noobish....

When your download the theme you will see a file called aardvark_menu.php > open this in a text editor (eg notepad, wordpad).

You'll see some text that looks like this.....

<li class="yuimenuitem"><a class="yuimenuitemlabel" href="www.your_link_goes_here.com">Menu name here</a></li>

Pretty simple, don't need any knowledge of PHP. My only advice, be careful removing or adding any bits of code eg <div> <li> etc etc

Best to test on a local server before going live.

Hope this helps

 
Average of ratings: -
Picture of Steve Smith
Re: Aardvark 1.5 - Aquarium - RELEASED
 
Wow ...that did help. Thanks! I changed a menu name and had a sub menu go to my course list page. also i removed one of the menus by cutting out a set of code (I did keep the original aardvark_menu.php file just in case i messed up) ...is there a better way of turning off one of the menus other than cutting out code from the PHP file?

Thanks for your help Chris!! ....Steve
 
Average of ratings: -
Picture of Richard Oelmann
Re: Aardvark 1.5 - Aquarium - RELEASED
Core developersParticularly helpful MoodlersPlugin developersTesters
Hi Steve,
If you want to keep the code in place, for example you want to refer back to it in future - or you have a menu that you only want to have on the page at certain times (e.g. a Christmas activities menu on a school site) there are a couple of ways of doing it.
You could cut the code out but rather than deleting it, paste it to a file that you store somewhere, that way you can always copy and paste it back in.
Or, you could just comment out the lines relating to that menu (put '//' at the start of each line to be commented out - without the ' s). That way they stay in place but the php will skip over them. That's all the lines from the <li class="yuimenubaritem"> bit down to the </li> above the next one for a whole menu block, or just the line that has that one menu item in it for a single menu item.

Richard
 
Average of ratings: -
It's only an avatar...
Re: Aardvark 1.5 - Aquarium - RELEASED
Core developersDocumentation writersParticularly helpful MoodlersPlugin developersTesters
Richard putting // in the menu file wont work as it isn't a PHP document, it's actually HTML, so your comment out in this scenario would be <!-- anything inside this tag is not read by the server -->

At least that is the way I understand it works.
Mary
 
Average of ratings: -
Picture of Richard Oelmann
Re: Aardvark 1.5 - Aquarium - RELEASED
Core developersParticularly helpful MoodlersPlugin developersTesters
Ooops - thanks for that correction Mary!
Been working on a project at home learning some more php and had that in my brain - had just finished commenting a load of the code I'd written so I would understand it next time i come back to it! smile.

Apologies for any confusion caused to anyone!

Richard
 
Average of ratings: -
It's only an avatar...
Re: Aardvark 1.5 - Aquarium - RELEASED
Core developersDocumentation writersParticularly helpful MoodlersPlugin developersTesters
Hi Richard,

That's OK...normally it would have worked, but in this instance, not so!
Actually, I am still confused that the menu include file is given a .php extension. Why not .html? I notice that the Moodle Bar, which is a great addition to any theme, is an .html file.

Just a few thoughts on a Saturday morning!

Mary
 
Average of ratings: -
Picture of Richard Oelmann
Re: Aardvark 1.5 - Aquarium - RELEASED
Core developersParticularly helpful MoodlersPlugin developersTesters
Hi Mary,
Glad I wasn't going completely bonkers then - the file is named as a php file even though it is almost all, as you said, html smile.
 
Average of ratings: -
It's only an avatar...
Re: Aardvark 1.5 - Aquarium - RELEASED
Core developersDocumentation writersParticularly helpful MoodlersPlugin developersTesters
Hi Richard,

I've discovered something equally strange about this new release.
If you look in the header file of Aquarium you will find closing html tags for </body>and</html>...very odd!

I wonder if I'm the only one to have found them? Indeed, are they causing problems with this theme?

Mary
 
Average of ratings: -
Picture of Richard Oelmann
Re: Aardvark 1.5 - Aquarium - RELEASED
Core developersParticularly helpful MoodlersPlugin developersTesters
Strange thoughtful
Would say I'd have a play with it, but don't have LAMP server on my netbook on holiday big grin and the internet here blocks ftp! so either will have a play with it when I get home - or will (knowing you and how hard you work on everyone's issues on here) read about how you've solved the problem already by then!!

Richard
 
Average of ratings: -
It's only an avatar...
Re: Aardvark 1.5 - Aquarium - RELEASED
Core developersDocumentation writersParticularly helpful MoodlersPlugin developersTesters
You enjoy the peace and tranquillity of holiday mood...hope the weather stays nice!

I don't think it's a problem...but can't think why the tags are there really...but I shall not fret...I've other things, more important to do! LOL

Ciao for now

Mary




 
Average of ratings: -
Picture of Chris Delaney
Re: Aardvark 1.5 - Aquarium - RELEASED
 
Hi Mary,

I know you're always fixing people's Moodle issues.... if you had any spare time (yeah right!) - I'd appreciate your help with this moodle bar issue.

Thanks

Chris
 
Average of ratings: -
Picture of Katerina Nemcova
Re: Aardvark 1.5 - Aquarium - RELEASED
 
Hi,
Sorry for the stupid question but how do you add web pages (created in Moodle) to the top menu? I created a page in Resources and then linked it to a particular menu in aardvark_menu.php, but when going to that page, in breadcrumbs it shows as e.g. Home - Resources - About Us. Is there any other way of doing this please as I noticed that others have 'Home - About us'?
Many thanks

 
Average of ratings: -
Picture of Richard Oelmann
Re: Aardvark 1.5 - Aquarium - RELEASED
Core developersParticularly helpful MoodlersPlugin developersTesters
Hi Katerina,
Not sure how to remove the 'Resources' bit of the breadcrumb - it sounds as if you have already sussed how to add the items to the menu.
I don't know about other sites, but I know that on my school site the pages linked from the top menu are actually courses themselves rather than pages created in the courses. That way they just reference the Home - 'Course Name' in the breadcrumb. i use Topic courses and set the number of topics to just 1 or 2 depending on what I want to display on the page. My school site is a relatively small one compared to many but this works for me.

Hope that may be helpful?
Richard
 
Average of ratings: -
It's only an avatar...
Re: Aardvark 1.5 - Aquarium - RELEASED
Core developersDocumentation writersParticularly helpful MoodlersPlugin developersTesters
Hi Katerina,

Questions are never stupid, how else can you learn if you don't ask?

There is nothing stopping you creating a separate 'about' web page and calling it about.html and then upload it to your 'site files' (Site Administration>Frontpage>Site Files) and link to it from the menu. This way it will be separate from courses/resources and will not show up in the breadcrumb navigation bar, but still be part of your theme.

If you want some help with this just say so. Creating a simple page template is pretty easy.

Hope this helps?

Mary
 
Average of ratings: -
Picture of Katerina Nemcova
Re: Aardvark 1.5 - Aquarium - RELEASED
 
Hi,
Thanks for you great help! I guess what you suggest Mary would work the best for me (though I have about 20 pages to link) as I would prefer to keep this separate from both resources and courses - could you please give me some advice on how to create the page template?
Many thanks
Katerina
 
Average of ratings: -
It's only an avatar...
Re: Aardvark 1.5 - Aquarium - RELEASED
Core developersDocumentation writersParticularly helpful MoodlersPlugin developersTesters
Hi Katerina,

To get you started I've attached a basic page.

If you upload this page to your site files you will be able to link to it from your menu.

It's pretty basic but it will give you an idea how it works at least.

Mary










 
Average of ratings: -
Picture of boy brown
Απάντηση: Aardvark 1.5 - Aquarium - RELEASED
 
I want the login form at the top, to have it levelly. Just like facebook. Is it easy or demands a lot of css knowledge.
Thank you in advance
 
Average of ratings: -
Picture of Stephen Poynter
Re: Aardvark 1.5 - Aquarium - RELEASED
 
Is it possible to modify this theme to resize with the browser window instead of just being a fixed size? By the way, great work on the theme smile
 
Average of ratings: -
It's only an avatar...
Re: Aardvark 1.5 - Aquarium - RELEASED
Core developersDocumentation writersParticularly helpful MoodlersPlugin developersTesters
Yes it is. Easiest way is to change the #page max-width setting in aardvark.css and use this setting in its place.

#page {
margin-left: auto;
margin-right: auto;
width: 100%;
}

That should fix it.

Mary



 
Average of ratings: Useful (1)
Picture of Stephen Poynter
Re: Aardvark 1.5 - Aquarium - RELEASED
 
Thanks for the help smile
 
Average of ratings: -
Jazz in Jativa (Spain)
Re: Aardvark 1.5 - Aquarium - RELEASED
 
Hi all,

Shaun, as always, great work.

Is it possible to set this theme to be fixed width on the moodle frontpage only and to be flexible to fit the browser on every other course page?

That would be really cool.

Cheers,

Ed
 
Average of ratings: -
Picture of David Challoner
Re: Aardvark 1.5 - Aquarium - RELEASED
 

I have managed to get the whole lot working on a copy of my VLE site, however when it is ported to the school site the yuimenu breaks down part way through.

At http://www.fnffc.org.uk/VLE the theme looks perfect in IE8 on my machine, however when I view the school site at http://www.nks.kent.sch.uk/vle the menu has gone wrong.  However it looks fine in Safari on my machine.  It has been reported that the theme looks fine in IE8 at school but not on some home machines.  Does anyone have any ideas what is going on here?

 
Average of ratings: -
It's only an avatar...
Re: Aardvark 1.5 - Aquarium - RELEASED
Core developersDocumentation writersParticularly helpful MoodlersPlugin developersTesters
Is this what you mean? see screen-shot below cause -> IE8, but OK in IE8 Compatibility mode.

I would hazard a guess and say that you have, more than likely, missed off a </li> tag in the menu at or just before the point where it breaks.

Intelligent browsers like Firefox and others ignore these little errors, IE8 is not so forgiving, but on the other hand is a great browser for showing up inconsistancy with drop-down menus!

If I have time, which I doubt, I'll have a quick gander at it and see if I can spot the deliberate mistake! LOL


Mary


EDIT: If you view source page in IE8(normal mode) @ lines 331 - 382 I think you will see some errors.

 
Average of ratings: -
Picture of David Challoner
Re: Aardvark 1.5 - Aquarium - RELEASED
 
Ahh got it, had too many </li>'s by the looks of it.
 
Average of ratings: -
It's only an avatar...
Re: Aardvark 1.5 - Aquarium - RELEASED
Core developersDocumentation writersParticularly helpful MoodlersPlugin developersTesters
lies, lies it's all lies! smile

Yup! You got it!

Mary
 
Average of ratings: -
Picture of David Challoner
Re: Aardvark 1.5 - Aquarium - RELEASED
 
Thanks Mary, works fine now!
 
Average of ratings: -
It's only an avatar...
Re: Aardvark 1.5 - Aquarium - RELEASED
Core developersDocumentation writersParticularly helpful MoodlersPlugin developersTesters
cheerleader.gif
 
Average of ratings: -
Picture of Colin Wheelhouse
Re: Aardvark 1.5 - Aquarium - RELEASED
Plugin developers
Mary,
I have similar issue to that below. I have cretaed a theme based on Aquarium 1.5 and Aardvark Pro. I have customised the menu files to direct users to the specific site pages and all displays fine. The issue is that I have a hosted Moodle and my hosting company are providing an online reporting to parents module. When accessing certain pages within this block the header appears as seen below in IE8 and IE6 but is fine in Firefox. I presume there must be an error in my rudimentary efforts of re-writing the menu.php file but I would have thought that it woud display incorrectly on all pages if that were the case. Any help is greatfully received.

Cheers

Wheelie

 
Average of ratings: -
It's only an avatar...
Re: Aardvark 1.5 - Aquarium - RELEASED
Core developersDocumentation writersParticularly helpful MoodlersPlugin developersTesters
Hi Wheelie,

Can you upload a copy of your menu for me to check thru?

Cheers

M
 
Average of ratings: -
Picture of Colin Wheelhouse
Re: Aardvark 1.5 - Aquarium - RELEASED
Plugin developers

Mary,

Please find attached the file as requested. I am looking into your suggestion re my other post but I think that is what I initially set it as.

Cheers

Wheelie.

 
Average of ratings: -
It's only an avatar...
Re: Aardvark 1.5 - Aquarium - RELEASED
Core developersDocumentation writersParticularly helpful MoodlersPlugin developersTesters
Hi Wheelie,

The only thing I found was a missing </li> at the very end of the list here...

Staff Zone</a></li>

M

 
Average of ratings: -
Picture of Colin Wheelhouse
Re: Aardvark 1.5 - Aquarium - RELEASED
Plugin developers
Thanks Mary. I'll take a look tomorrow. I haven't had much joy with the hyperlink issue but who wants things to be easy? Cheers Wheelie
 
Average of ratings: -
Picture of Calvin J Sid
Re: Aardvark 1.5 - Aquarium - RELEASED
 
Hi Wheelie, I have has the same problem with my menu breaking up. Did the missing tag sort out the problem?
 
Average of ratings: -
It's only an avatar...
Re: Aardvark 1.5 - Aquarium - RELEASED
Core developersDocumentation writersParticularly helpful MoodlersPlugin developersTesters
Calvin, if you have a menu problem...share it as it may be a different problem than others.

How the menu works is pretty robust, but if you leave out a tiny element when populating the menu it can break easily, especially in I8E.

Mary

 
Average of ratings: -
Picture of Calvin J Sid
Re: Aardvark 1.5 - Aquarium - RELEASED
 
Thanks for speedy response Mary. I managed to sort the problem out. I took the PHP file and opened it up in Dreamweaver. Dreamweaver highlighted all the small errors in coding the menu. Double etc.

All sorted now thanks. smile
 
Average of ratings: -
Picture of Chris Delaney
Re: Aardvark 1.5 - Aquarium - RELEASED
 
Anyone know where/how to change the text that appears in the Profile block once logged in...

I'd like to change the text 'My Courses' to read 'My Subjects'.

Looked in Aardvark.css and also the language editing but couldn't find anything.

Cheers
 
Average of ratings: -
It's only an avatar...
Re: Aardvark 1.5 - Aquarium - RELEASED
Core developersDocumentation writersParticularly helpful MoodlersPlugin developersTesters
There are two ways you can do this. One way would be to just type in the words you want in the space where it says get_string('mycourses') which you would do like so...

echo '<li><a href="'.$CFG->wwwroot.'/my">My Subjects</a></li>';

The other way, and perhaps the preferred way, would be to create your own customised word string php file. The name of the file is important if it is going to be theme specific, you would call it theme_aardvark_pro15.php if you are using this theme version, or whatever theme name you happen to want to customise in this way.

So in a file called theme_aardvark.php (which could be used for all the various aardvark themes on your Moodle site that uses your newly modified new profileblock) you would type this...

<?php // custom strings

$string['mysubjects'] = 'My Subjects';

?>

You would then add this to a folder named en_utf8_local inside the lang folder in your Moodledata folder, and if it's not there create it and its corresponding folders too.

Then in you profileblock.php which you are altering you would replace get_string('mycourses') with get_string('mysubjects') and that will work just as well, however the added advantage of this last method is that the customised string can be translated into any other other language by adding the theme_aardvark.php file to any language folder should you need to have that string phrase translated. If you have the time, or the inclination, you can customise your menu link titles in the same way too.

I know, I know...this is beyond you! But if you never try it yourself you will never learn...now get on with it!

smile

Mary

 
Average of ratings: -
Picture of Jeff Kitterman
Re: Aardvark 1.5 - Aquarium - Submenu bgcolor?
 
Great Theme! Thank you for sharing. I'm customizing the colors to fit my school's needs, and I can't seem to find where to change the css in order to change the submenu background color. Has anyone advice for me? Many thanks,
Jeff

 
Average of ratings: -
It's only an avatar...
Re: Aardvark 1.5 - Aquarium - Submenu bgcolor?
Core developersDocumentation writersParticularly helpful MoodlersPlugin developersTesters
There is only one css file in Aardvark Pro 1.5 (Aquarium) it's called aardvark.css
In you will find a section header Core: YUI Menu

This highlighted element is one you need to change which styles background-color
.yuimenu a {
text-decoration: none;
background-color: #dceff3;
font-size : 0.9em;
}

The next 3 highlighted elements add the border around the drop-down menus the colors of which you can change too if need be.

a.yuimenuitemlabel /* Sub item link */ {
padding: 4px 24px;
border-bottom:1px solid #a0d1db;
border-left:1px solid #a0d1db;
border-right:1px solid #a0d1db;
}


This colour too can be changed but NOT the image so be carfull what you do here.

.yuimenuitem-hassubmenu /* Add right arrow to sub item */ {
background: #dceff3 url(images/menu/menuitem_submenuindicator_selected.png) right center no-repeat;
}


Hope this answers your question?

Mary
 
Average of ratings: -
Picture of Jeff Kitterman
Re: Aardvark 1.5 - Aquarium - Submenu bgcolor?
 
Mary,
Thank you for taking the time to answer. Your response indeed answers my question. I've changed the color palette for the theme:


 
Average of ratings: -
Picture of Dan Jeffries
Re: Aardvark 1.5 - Aquarium - Submenu bgcolor?
 
HI all

Just wondering - how do you use the star and NEW icons included in the theme in the drop down menus? I can't seem to embed them.

Thanks!
 
Average of ratings: -
It's only an avatar...
Re: Aardvark 1.5 - Aquarium - Submenu bgcolor?
Core developersDocumentation writersParticularly helpful MoodlersPlugin developersTesters

You insert the images in the links in the menu.php file. The images are in the theme images folder but when you add them to the menu you need to put the absolute address for the url in the img tag like so...

<a href="http://anewweblink.com">Link Title&nbsp;<img src="<?php echo $CFG->wwwroot.'/theme/aardvark/'; ?>/images/menu/new.png"  /></a>

Mary

 
Average of ratings: -
Picture of Dan Jeffries
Re: Aardvark 1.5 - Aquarium - Submenu bgcolor?
 
I've tried that, but I don't think I'm putting the link in the right place.

This is my original menu code:

<li class="yuimenuitem"><a class="yuimenuitemlabel" href="#" target="_blank">Mentor Me</a>

and i"ve pasted this code after it:

<a href="http://wwww.atm-online.co.uk/moodle1011/theme/aardvark_pro/images/menu/new.gif">Link Title&nbsp;<img src="<?php echo $CFG->wwwroot.'/theme/aardvark_pro/'; ?>/images/menu/new.gif" /></a></li>

and what I get is this:
Photobucket

What I want is for the Mentor Me menu item to have NEW next to it smile
 
Average of ratings: -
It's only an avatar...
Re: Aardvark 1.5 - Aquarium - Submenu bgcolor?
Core developersDocumentation writersParticularly helpful MoodlersPlugin developersTesters
smile
The php code I gave you was wrong, I took a calculated guess and put down the wrong one. But how you applied it was also wrong...and as 2 wrongs don't make a right...this is how it should be done...

<li class="yuimenuitem"><a class="yuimenuitemlabel" href="http://moodle.org/user/view.php?id=141003&course=5" target="_blank">Mentor Me<img src="<?php echo $CFG->themewww .'/'. current_theme() ?>/images/menu/new.gif" alt="New" /></a></li>

Mary


 
Average of ratings: -
Picture of Dan Jeffries
Re: Aardvark 1.5 - Aquarium - Submenu bgcolor?
 
Nice one Mary - you're a star! I put a space between Mentor Me and the < so the icon isn't sat right next to the text.

Thanks again!
 
Average of ratings: -
It's only an avatar...
Re: Aardvark 1.5 - Aquarium - Submenu bgcolor?
Core developersDocumentation writersParticularly helpful MoodlersPlugin developersTesters
In case you didn't know you can add a star too in the same way! (I seem to remember there is a star in the folder too).

<li class="yuimenuitem">
<a class="yuimenuitemlabel" href="http://moodle.org/user/view.php?id=141003&course=5" target="_blank">

<img src="<?php echo $CFG->themewww .'/'. current_theme() ?>/images/menu/star.gif" alt="Star" />

&nbsp;Mentor Me&nbsp;

<img src="<?php echo $CFG->themewww .'/'. current_theme() ?>/images/menu/star.gif" alt="Star" />
</a></li>

So in the menu you would get a star either side of the menu link label. * Mentor Me *

Mary
 
Average of ratings: -
Picture of Katerina Nemcova
Re: Aardvark 1.5 - Aquarium - RELEASED
 
Hi,
I seem to be having a compatibility problem with internet explorer 6 - I needed to demo my site to someone today (they run only IE6) and the top menu was all over the place (similar to the issue Wheelie had earlier on), and the menu also showed up in a different colour (its original desipte having changed it to dark blue). I wonder whether I did somthing wrong but I've tested my site with Firefox, IE7/8 and Safari - all works fine, but not in IE6. Has anyone else been having the same issue and know how to fix this? Any help would be greatly appreciated!
Many thanks.
 
Average of ratings: -
It's only an avatar...
Re: Aardvark 1.5 - Aquarium - RELEASED
Core developersDocumentation writersParticularly helpful MoodlersPlugin developersTesters
Hi Katerina,

There is a big problem with IE6 not just for this theme, but many others websites globally, and not just Moodle either. IE6 has security issues which are well documented. However we are aware that some companies have no alternative but to run IE6 because of their business software. But this should not stop them installing a different browser like Firefox which works well with Moodle and the preferred browser. IE6 and Firefox can work on the same machine.

But with regards this theme's menu, that won't work in IE6 because of it's design, and because of the issues connected with IE6 which are historical.

There are themes which will work in IE6, but it's doubtable if you could get a horizontal, dropdown menu to work in IE6 as efficiently as this menu does in Firefox.

The colour issue is because IE6 doesn't recognise PNG format and most of the images, background, menu & sideblock are all PNG format, and so it renders the depth of colour differently. But these can be changed to GIF or JPG format so that isn't an issue. But the menu is.

Have you tried using the Standard theme in IE6? Have you tired any other themes with menus?

It is a problem that isn't easy to get round, and many designers have abandoned IE6 as it is not in their interest to redesign for it.

Mary




 
Average of ratings: -
Picture of Katerina Nemcova
Re: Aardvark 1.5 - Aquarium - RELEASED
 
Hi Mary,
That's what a feared -anyway, many thanks for your speedy reply (as always). You are a star!
Thanks
Katerina
 
Average of ratings: -
Picture of Bonita Thomas
Re: Aardvark 1.5 - Aquarium - RELEASED
 

Hello all, I'm new to the whole Moodle Themes but to have a question. Are the theme templates restricted or can I customize them? Meaning, if I want to change the colors and delete the picture field - can I?  

 
Average of ratings: -
It's only an avatar...
Re: Aardvark 1.5 - Aquarium - RELEASED
Core developersDocumentation writersParticularly helpful MoodlersPlugin developersTesters
You are at liberty to do whatever you want to a theme.
 
Average of ratings: Useful (1)
Picture of Bonita Thomas
Re: Aardvark 1.5 - Aquarium - RELEASED
 
Fantastic - thanks Mary!
 
Average of ratings: -
It's only an avatar...
Re: Aardvark 1.5 - Aquarium - RELEASED
Core developersDocumentation writersParticularly helpful MoodlersPlugin developersTesters
Further to what I wrote above, CLICK HERE to read the small print!
 
Average of ratings: -
Jazz in Jativa (Spain)
Calendar view -sidecalendar h2 issue
 
Hi Shaun and all,

As always, great work Shaun!

I noticed an issue with the header missing from the sidecalendar view when viewing a specific month as below:

image 1
We should see the following:

image 2

You can fix this by adding code to the aardvark.css file around line 530ish as follows:

/*colors for class sidecalendar*/

.sidecalendar h2 {
font-size: 15px;
font-weight:bold;
color: #505050; /*changes the colour of text in sidecalendar h2 headers*/
padding-top: 12px;
padding-bottom: 2px;
padding-left: 3px;
}


I hope this helps.

Thanks again Shaun!

Regards,

Eddie
 
Average of ratings: -
Picture of unformatted :)
Re: Aardvark 1.5 - Aquarium - RELEASED
 
Hi!

After install the theme, the header of the blocs is one line down, activites text is strange...and lots of things is outside the place. I'm using 1.9.8+ (Build: 20100519) and portuguese language.
Any clue please?
 
Average of ratings: -
It's only an avatar...
Re: Aardvark 1.5 - Aquarium - RELEASED
Core developersDocumentation writersParticularly helpful MoodlersPlugin developersTesters
Does the menu work?
 
Average of ratings: -
Picture of Martín Martínez
Re: Aardvark 1.5 - Aquarium - RELEASED
 

Hi Shaun,

I Download the theme and unzip the file, then I upload it to my site in the theme folder of my site, but when I select it in the Theme Selector, it only display the links bu none of the images.

Do I need to do something els to install it in my site?

Thanks a lot in advance for your response.

Martin.

 
Average of ratings: -
It's only an avatar...
Re: Aardvark 1.5 - Aquarium - RELEASED
Core developersDocumentation writersParticularly helpful MoodlersPlugin developersTesters
You will first need to delete Aardvark 1.5 from your theme's folder and then follow the instructions which you will find here Themes FAQ and read 1.1 How to install a theme using CPanel.

Hope this helps?

Mary
 
Average of ratings: Useful (1)
Picture of Martín Martínez
Re: Aardvark 1.5 - Aquarium - RELEASED
 

Thanks a lot Mary, the themes are operating well right now.

Martin

 
Average of ratings: -
Picture of Dan Jeffries
Re: Aardvark 1.5 - Aquarium - RELEASED
 
Hi everyone

Have noticed a bug with the Ajax Marking Block.

For some very annoying reason, it's breaking the menu design. We have put the Ajax Marking Block into the /my page for tutors to access, however it happens wherever I put it.

We really don't want to lose the Marking Block, as it's essential to us and definitely the best of the bunch.

Any ideas?

Dan

 
Average of ratings: -
It's only an avatar...
Re: Aardvark 1.5 - Aquarium - RELEASED
Core developersDocumentation writersParticularly helpful MoodlersPlugin developersTesters
Hi Dan,

At a guess I'd say it's a conflict with the YUI JavaSkript files needed for the AJAX Marking Block and also the Aardvark Menu. This note on the AJAX Marking Block' Moodle Plug-in information page, reinforces this guess, as it mentions Moodle's Core YUI JavaScript library. (moodle/lib/yui/...) the same file used in the menu.

Note: the latest 1.9 version (2008100901) and beyond
requires the latest Moodle build
and may fail on earlier
ones. This is because the core YUI javascript libraries have
been updated, changing the way the code has to work.


Short of disabling the menu on that page, which you might be able to do, unless you change the way the menu works. There is a simpler CSS menu you could use, but that doesn't have sub-directories.

Mary





 
Average of ratings: -
Picture of Dan Jeffries
Re: Aardvark 1.5 - Aquarium - RELEASED
 
Thanks Mary.

We definitely have the latest Moodle build, and I don't think I want to revert to a more basic menu.

Hmm. OK - I guess our tutors are just going to have to lump it :/

dan
 
Average of ratings: -
It's only an avatar...
Re: Aardvark 1.5 - Aquarium - RELEASED
Core developersDocumentation writersParticularly helpful MoodlersPlugin developersTesters
Hi Dan,

Can you explain what exactly happens to the menu when AJAX Block is on that page?
There may well be a fix which is worth pursuing. For instance it could just be a CSS issue, which is easy in relation to altering JavaScripts.

Mary
 
Average of ratings: -
Picture of Lael ...
Re: Aardvark 1.5 - Aquarium - RELEASED
 

Hi Mary,

I'm experiencing the same problems with Moodle 1.9.11 using the gecko theme -a  variant of aardvark.

Basically - if the ajax marking block is added to a course / page the menu loses all styling / images, and css also seems to get lost.

Normal Menu:

 

Broken Menu:

 

Any ideas on what may be happening / how to fix it?

Thanks a ton!

Lael

 
Average of ratings: -
It's only an avatar...
Re: Aardvark 1.5 - Aquarium - RELEASED
Core developersDocumentation writersParticularly helpful MoodlersPlugin developersTesters

When did you download this Gecko theme?

 
Average of ratings: -
Picture of Lael ...
Re: Aardvark 1.5 - Aquarium - RELEASED
 

Ninth of Feb, 2011

Is there a more recent copy?

 
Average of ratings: -
Picture of Lael ...
Re: Aardvark 1.5 - Aquarium - RELEASED
 
Average of ratings: -
It's only an avatar...
Re: Aardvark 1.5 - Aquarium - RELEASED
Core developersDocumentation writersParticularly helpful MoodlersPlugin developersTesters
I know which theme it is I just wanted to find out WHEN you downloaded it, as it has been updated. You may well be using a verion where there the name of a file is wrong. Trying to diagnose problems is not easy, especially when one cannot recreate the problem! If the menu is all over the place, then it could be the menu file itself. It could be the browser you are using. It could be a whole manner of little things. Also adding a comment to a theme which is NOT the theme you are using, is not helpful either. Can you give me more details about the problem you are experiencing with Gekko? Thanks Mary
 
Average of ratings: -
Picture of Lael ...
Re: Aardvark 1.5 - Aquarium - RELEASED
 

Hi Mary,

Thanks for being willing to help out. Is there another place I should look for an updated copy? the download page seems to have a version from Nov 2010, so I was operating under the assumption that i had the latest copy.

The menu it self seems to work fine. Its just the appearance of the menu that gets lost. The page loads, looks fine, until the ajax block loads, when the menu changes to the broken version you saw above. But - the menu still functions fine, its just the appearance that changes. Both the images that would normally load, and the background colours don't, except in the drop-down menu.

Where would you start in troubleshooting to figure out where the problem is starting? I've checked the styles of the ajax marking block using the web developer toolbar, and as far as I can tell the names being used don't conflict with the style names used in the menu.

I posted here because it seemed like the core structure of the theme was very similar to aardvark, but thats only a perception.

Thanks a ton for your help!

 

Lael

Edit: I just did a quick check and aardvark aquarium shows the same behaviour with the ajax marking block:

 
Average of ratings: -
It's only an avatar...
Re: Aardvark 1.5 - Aquarium - RELEASED
Core developersDocumentation writersParticularly helpful MoodlersPlugin developersTesters

This is interesting!

Will get back to this later after I've done so testing

Thanks

Mary

 
Average of ratings: -
It's only an avatar...
Re: Aardvark 1.5 - Aquarium - RELEASED
Core developersDocumentation writersParticularly helpful MoodlersPlugin developersTesters

OK, I tested Aardvark 1.5 had AJAX enabled and disabled and nothing happened to the menu. So I am guessing you are using some Mod AJAX plugin.

So can you tell me exactly what it is you are ding and how you go about it?  If this is a problem I need to understand what's going on before I can fix it.

Thanks

Mary

 
Average of ratings: -
Picture of Lael ...
Re: Aardvark 1.5 - Aquarium - RELEASED
 

Interesting. so you had ajax enabled, and disabled for course editing, and had the ajax marking block installed and added to the page / not added to the page and nothing happened at all? The conflict is between the Ajax marking block and the menu system I think.

There may also be a conflict between the course menu block and the Ajax marking block, as there was some weird display of the ajax marking block menus in the course menu block. Although the menu breaks with just the ajax marking block on the page (no course menu block)

So, to replicate - I think you would need to have the ajax marking block installed, and then add it to a course page. Once you do that - that is when the menu breaks for me.

Does that explain what is going on? Able to replicate?

Thanks for your help,

Lael

 
Average of ratings: -
It's only an avatar...
Re: Aardvark 1.5 - Aquarium - RELEASED
Core developersDocumentation writersParticularly helpful MoodlersPlugin developersTesters

Hi Lael,

I tested this again last night, this time with the block plug-in. And still nothing happened, but then my version of Aardvark 1.5 has been amended because of a problem with the profileblock, but this has nothing to do with the menu.

The only similarities with the menu and the Marking Block plugin is the YUI CSS Library from which both elements use.

This is not a theme problem but more a conflict of Moodle system files, so the best thing to do is report this back to Matt Gibson who made the plugin. There are instructions in the plug-in telling you how you can do this.

Another contributing factors to this problem could be the version of Moodle you are using, and also the version of the Marking Block plug-in you are using. As with any software product, using the most up-to-date version helps.

Something else to try, is enabling Debugging. If the profileblock in your Aardvark theme is wrong, you will get an ERROR message.

EDIT: I'm going to try this with Gekko and see if there is any difference.

HTH

Mary

 
Average of ratings: -
It's only an avatar...
Re: Aardvark 1.5 - Aquarium - RELEASED
Core developersDocumentation writersParticularly helpful MoodlersPlugin developersTesters

SUCCESS!!!

Well I found out what's happening to the menu.

I swapped themes to Gekko and set up a new course with an assignment and went to mark it and that's when the menu lost it's styling.

Strangely enough, Afterburner, which uses the same menu, did not have such a drastic effect as Gekko, although the menu did shrink in height and very tiny font, but it looked ok although that too have lost it's background like Gekko, but because the styling it took on from the YUI library is transparent it picked up the default background of the body background which is white, which in Gekkos case is 'black'.

This is going to need a real big overall of the menu CSS, which I am not prepared to do as I am OTT with jobs to do at the moment.

You really need to contact Colin who made this theme see if he can do the necessary adjustments.

Alternatively you could do it yourself using by amending gekko.css using CSS FAQ and Firebug as references.

Sorry I can't be more help,

Mary

 
Average of ratings: -
Picture of Lael ...
Re: Aardvark 1.5 - Aquarium - RELEASED
 

HI Mary,

Thank you! Thanks so much for taking the time to to look at it.

OK - so let me check I understand. You are saying that because the menu and the ajax marking block are using the YUI libraries - the styling from the ajax marking block is being applied to the menu (now transparent) which then shows the background for the theme? So to fix the problem - you are saying to modify the CSS in the menu for gecko? Is that just changing the class selectors to be different names?

Thanks for your help!

Lael

ps - OTT?

 
Average of ratings: -
It's only an avatar...
Re: Aardvark 1.5 - Aquarium - RELEASED
Core developersDocumentation writersParticularly helpful MoodlersPlugin developersTesters

OTT = Over The Top (I was refering to work - too much to do all at once)

The solution to this is not that easy as the YUI CSS is a pain to make it work as you want it to. I dont really have the time to spend finding a solution for you, but if you use Firebug with Firefox you will be able to find which selectors you need to style.

Most of the styles seem to be coming from standard theme.

Sorry can't be more positive.
Mary

 
Average of ratings: -
Picture of Lael ...
Re: Aardvark 1.5 - Aquarium - RELEASED
 

HI Mary,

Thanks so much for your help! I'll take a look and see what I can work out. I'm a little confused though - I know the menu CSS is styled, and not just transparent because I edited the selectors when I was modifying the colours of the theme. I guess I'm wondering if the same selectors could be used on the ajax marking block or something, and redefined to be blank/transparent which would explain the change in theming after the ajax marking block loads.

Would you be ok with sending me a copy of your aardvark version theme so I can compare whats going on and figure out what is different?

Lael

 
Average of ratings: -
It's only an avatar...
Re: Aardvark 1.5 - Aquarium - RELEASED
Core developersDocumentation writersParticularly helpful MoodlersPlugin developersTesters

Sure...send me your email in a private message and I'll zip and send asap.

You can use the same selectors but I don't think it make any difference. Nothing I tried seemed to work. Its so frustrating.

Mary

 
Average of ratings: -
It's only an avatar...
Re: Aardvark 1.5 - Aquarium - RELEASED
Core developersDocumentation writersParticularly helpful MoodlersPlugin developersTesters

Hi Leal,

I've just been taking a look at the problem in Gekko. Try adding

.yuimenubar ul {
background-color: green;
}
This does change the background...which make me wonder perhaps this is a theme problem and not the plugin after all!
Cjeers
Mary
 
Average of ratings: -
Picture of Lael ...
Re: Aardvark 1.5 - Aquarium - RELEASED
 

 

Hi Mary,

Interesting... I'll take a look at the CSS again. I pm'd you my email.

I think it may be a combination. I'm definitely getting a conflict between the ajax marking block and the course menu where the items in the ajax marking block overwrite what is in the course menu block (unless the ajax marking block is in the top left of the page, and then from memory they both work fine). I have no idea why, but I'm guessing there is some form of conflict with the ajax. I'm interested to see what happens with the aardvark theme you are using. I'm guessing it won't make a difference, but be interesting to see the impact on the nav bar at least.

Thanks again,

Lael

 
Average of ratings: -
Picture of mark woof
Re: Aardvark 1.5 - Aquarium - RELEASED
 

Hi, I'm having the same problem, but we're running moodle from windows server 2003, is there any way to getting it working without using cpanel?

Thanks for any help

Mark

 
Average of ratings: -
Picture of Paullo Abreu
Re: Aardvark 1.5 - Aquarium - RELEASED
 
Dear Shaun (or Mary)!
Thank you very much for the wonderful theme. I have customized most of it, but I was wondering if it is possible to add a link to the logo so that when users click on it, they go to the company portal.
How can I do this?
I'm not really into coding, so it seems a little confusing. I don't know whether to change the css file or the header html file.
Thanks for the help
 
Average of ratings: -
It's only an avatar...
Re: Aardvark 1.5 - Aquarium - RELEASED
Core developersDocumentation writersParticularly helpful MoodlersPlugin developersTesters
Hello Paullo,

You would normally add the Logo image in the header.html, however, the logo image in this theme is added in the css.

If your logo is the same dimensions as the one in the theme, all you would have to do is using a Text Editor like Notepad, delete this line in aardvark.css file.

#logo {
background: url(images/header/logo.png) no-repeat left top;
width: 100%;
height: 100px;
float: left;
left: 0px;
}

And then using a Text Editor or Notepad again, add the line, which is highlighted below, to your header.html file, making sure you do not disturb the other code already there, which I have shown in a light grey.

<div id="logo">

<a href="http://your-company-portal-URL-goes-here" title="Company Portal" ><img scr="<?php echo $CFG->themewww .'/'. current_theme() ?>/images/header/logo.jpg" height="???" width="???" /></a>

<div id="profileblock">
<?php
{
include('profileblock.php');?>
}
</div>
</div>

(Add the height and width values in place of ??? )

You may also find Themes FAQ and CSS FAQ useful Moodle Docs too.

Mary
 
Average of ratings: -
Picture of Dan Jeffries
Re: Aardvark 1.5 - Aquarium - RELEASED
 
Hi

I think this is a theme question, so here goes.

The latest version of Moodle has a small icon in the Gradebook (next to the student name) that, when clicked on, takes the tutor or student straight to their Activity Report.

However, when I click on it it wants to take me to the sitewideuser report - which brings up an error as its not installed.

I've used the sitewideuser report before, but I don't want students to see this - I want them to see their activity report.

Is this an error in the coding? If so, where can I change it?

Thanks!

Dan
 
Average of ratings: -
It's only an avatar...
Re: Aardvark 1.5 - Aquarium - RELEASED
Core developersDocumentation writersParticularly helpful MoodlersPlugin developersTesters
This is not a theme issue, unless it only occurs when using this theme, otherwise it a Moodle issue.

What version of Moodle are you running?

Also worth checking are Moodle Tracker issues, as this may well be a bug which has been reported already and waiting to be fixed, or could well have been fixed and in a new version of Moodle.

Mary
 
Average of ratings: -
Picture of Dan Jeffries
Re: Aardvark 1.5 - Aquarium - RELEASED
 
I'll try different themes out, just to make sure.

We're running 1.9.9+

I'll also check the tracker too smile

dan
 
Average of ratings: -
Picture of Lael ...
Re: Aardvark 1.5 - Aquarium - RELEASED
 

For anyone else trying this, for me it worked wonderfully, but pushed down the profile block.

Corrected by changing the css positioning for the profile block as follows, changes in green:

#profileblock {

position: relative;
float: right;
text-align: right;
max-width: 500px;
right: 0px;
top: -103px;
}

Lael

 
Average of ratings: -
Picture of Donald Hurst
Re: Aardvark 1.5 - Aquarium - RELEASED
 

I'm having trouble with ie8 and a secure connection. When we go to the login page, which is our default, there is a popup about wanting to see only secure data. If you click yes you get the following:

 

If you select no (show both secure and unsecure) we get this:

 

Any ideas? We would obviously prefer NOT to get the popup at all and just display everything but I can't find where the nonsecure data is being loaded.

 
Average of ratings: -
It's only an avatar...
Re: Aardvark 1.5 - Aquarium - RELEASED
Core developersDocumentation writersParticularly helpful MoodlersPlugin developersTesters

Donald, you might like to try using this profileblock.php inplace of your current one that has flaws in the code.

I hope the link works, if not just scroll down the page to Paolo's comment (below) in responce to the one I had made where I uploaded the file originally.

Mary

 
Average of ratings: -
Picture of Donald Hurst
Re: Aardvark 1.5 - Aquarium - RELEASED
 

Mary, I'm afraid that didn't solve my problem. My main concern is the top menu not displaying properly when you display only the "secure" data. My guess is this section is being loaded http rather than https. Where would I find that code?

Don

 
Average of ratings: -
It's only an avatar...
Re: Aardvark 1.5 - Aquarium - RELEASED
Core developersDocumentation writersParticularly helpful MoodlersPlugin developersTesters

I don't think it has anything to do with secure or none-secure page loads, I would say it's almost certainly IE8 Compatibility Mode which is triggering the pop-up.

Try changing the settings which switch Compatibility Mode OFF (the icon should look like a broken WHITE page, NOT a greyed-out one).

Mary

 

 
Average of ratings: -
Picture of David Challoner
Re: Aardvark 1.5 - Aquarium - RELEASED
 

Shaun,

Are you going to be able to produce a 2.0 version of the Aardvark theme?  Given moodle.org has now upgraded it would be great to be ready for the upgrade floating out and for one I'd like to put some time at half term into ensuring the school theme works on 2.0 ready for the tech team to upgrade the VLE.

Dave Challoner

 
Average of ratings: -
Picture of Paulo Bagorro
Re: Aardvark 1.5 - Aquarium - RELEASED
 

Very nice theme.

In my moodle i have this problem

undefined property: object::$lastname in C:\wamp\www\moodle\theme\aardvark_pro\profileblock.php on line 4.

I use this code if (!isloggedin() or isguestuser()) {...................

}

and i have the same error

Can someone help me on this!

Thanks

 
Average of ratings: -
Picture of Paulo Bagorro
Re: Aardvark 1.5 - Aquarium - RELEASED
 

Please, help me on this!

 
Average of ratings: -
It's only an avatar...
Re: Aardvark 1.5 - Aquarium - RELEASED
Core developersDocumentation writersParticularly helpful MoodlersPlugin developersTesters

Try this...see attached profileblock.php

There are no guarantees it will work...but if it doesn't get back to me.

If it does produce some errors can you post them here. Thanks.

Mary

 

 
Average of ratings: Useful (1)
It's only an avatar...
Re: Aardvark 1.5 - Aquarium - RELEASED
Core developersDocumentation writersParticularly helpful MoodlersPlugin developersTesters

I'm in the process of doing just this. If you want a copy to take for a test drive I'll upload a copy to my site with a link from here. Just let me know will you?

It's in it's rough stages, as not all areas have been looked at yet, but it does look the same, although I'm having problems with the menu, and the user picture, but I think I've got that sorted.  To get over the menu problem I have added the menu from a previous version of Aardvark, which is CSS based, but works in all modern browsers.

Cheers

Mary

 
Average of ratings: -
Picture of Paulo Bagorro
Re: Aardvark 1.5 - Aquarium - RELEASED
 

Thanks Mary

That solutions works like a charm!

Thanks again

 
Average of ratings: -
It's only an avatar...
Re: Aardvark 1.5 - Aquarium - RELEASED
Core developersDocumentation writersParticularly helpful MoodlersPlugin developersTesters

You're most welcome Paulo. Glad that it works OK! smile

Mary

 
Average of ratings: -
Picture of David Challoner
Re: Aardvark 1.5 - Aquarium - RELEASED
 

More than willing to give it a spin Mary, just let me know who to get it!

 
Average of ratings: -
Picture of ciaran oco
Re: Aardvark 1.5 - Aquarium - RELEASED
 

HI, I love the theme but would like to be able to have pages that are linked on the menu\submenus but which are not part of Moodle i.e. do not require a login to view them yet the pages would maintain the theme  of the menu system and site. Perhaps I am looking for a template for such a page that would make the right calls to display the menu above it etc


Apologies if the answer is in this discussion somewhere but I can't see it.

many thanks

Ciaran

 
Average of ratings: -
It's only an avatar...
Re: Aardvark 1.5 - Aquarium - RELEASED
Core developersDocumentation writersParticularly helpful MoodlersPlugin developersTesters

The Aardvark menu allows anyone to see the menu items without being logged in. However, if you want standard webpages linked to the menu but also have these pages share the theme's stylesheet, you can do this but would require someone to maintain them manually.   You could link Moodle with a CMS like Joomla, or Drupal and achieve what you are asking, it just needs a nice theme to work with.

Aardvark lends itself to change and I am sure if you ask Shaun he would design a theme for you which does what you want.

Mary

 
Average of ratings: -
Picture of ciaran oco
Re: Aardvark 1.5 - Aquarium - RELEASED
 

Thanks Mary - I shall look in to the Joomla  route. Does an Aardvark theme exist for it too?

 

 

 
Average of ratings: -
Picture of ciaran oco
Re: Aardvark 1.5 - Aquarium - RELEASED
 

I figured our the manual route to preserving the theme on a non moodle page as follows. Might be useful for someone....

  1. I took the course\view.php and took out all the course page info and replaced it by embedded html. I have attached a sample of this.
  2. I also turned on autologin for guests (user policies - permissions) and enabled guest access (user - authentication ) so that I wouldn't be prompted to login just to access a website page.
  3. I created my website page content in the theme template page I managed to put together and uploaded this to the site files area.
  4. When the file was uploaded I got its URL properties and used them as the link in one of the main menu items.

Voila!, it worked so I can now have a website that uses the aardvark theme on some pages and Moodle linked to from other menus. Great.

Only problem is that the breadcrumb navigator continues to display but I'd need some sort of global variable situation to handle that..... too much of a stretch for me.

I hope the above is useful for someone though.

Picture of ciaran oco
Re: Aardvark 1.5 - Aquarium - RELEASED - Top menu hover color
 

I can't seem to find how to change the hover color for the topmenu. I would liek to change it to white (see iamge) when the hover happens but no joy finding where its controlled. I have tried the 'a' link color settings.

Help appreciated. Tx

Ciaran

 

 
Average of ratings: -
Picture of Chris Delaney
Re: Aardvark 1.5 - Aquarium - RELEASED - Top menu hover color
 

The hover colour is actually an image...... controlled through aardvark.css file.

2 options

  1. Look in theme folder > images > menu - look for a file "hovergrad.jpg". You will need to change this file, probably easiest to leave the same name, size dimensions etc or
  2. Create your own image with colour as needed, then open the aardvark.css file and search for 'hovergrad.jpg' and rename this to whatever file name you created.

Probably number 1 is best option......

Good luck

 

 
Average of ratings: -
Picture of ciaran oco
Re: Aardvark 1.5 - Aquarium - RELEASED - Top menu hover color
 

Apologies Chris,

I probably wasn't clear enough in my post. Its actually the hover color of the text I am trying to change. I have managed to change the hover background via the jpg but can't find where to change the text color so that when the hover background appears the hover and selected text displays as white.

 
Average of ratings: -
It's only an avatar...
Re: Aardvark 1.5 - Aquarium - RELEASED - Top menu hover color
Core developersDocumentation writersParticularly helpful MoodlersPlugin developersTesters

Hi Ciaran,

The code you need isn't listed in the CSS for this theme.

You will need to add this line...

li.yuimenubaritem-selected a:hover { color: #003366}

That chould fix it.

Cheers

Mary

 
Average of ratings: -
Picture of ciaran oco
Re: Aardvark 1.5 - Aquarium - RELEASED - Top menu hover color
 

Thanks loads Mary,

How did I miss that it wasn't there in the first place? smile

Works great now.

Ciaran

 
Average of ratings: -
It's only an avatar...
Re: Aardvark 1.5 - Aquarium - RELEASED - Top menu hover color
Core developersDocumentation writersParticularly helpful MoodlersPlugin developersTesters

It had me puzzled for a little while, until I realised what was missing!

I think it's the YUI system...too wordy for me!

Anyway...glad your theme is working OK now!

Cheers

Mary

 
Average of ratings: -
Picture of Παναγιώτης Χημικός
Απάντηση: Aardvark 1.5 - Aquarium - RELEASED
 

Hello;

nice theme.

I tried to use it but i have this problem:

on the top of every page i see the messege:

"http://www.w3.org/1999/xhtml" dir="ltr" lang="el" xml:lang="el"> class="course course-1 dir-ltr lang-el_utf8" id="site-index">

Could i do something about that?

 
Average of ratings: -
Its Me
Re: Aardvark 1.5 - Aquarium - RELEASED
 

Hi all,

I have spent a long time developing this theme to work in all browsers and do some other cool stuff, if you get stuck with IE6 or IE7 (you will. smile), drop me a line and I may be able to help.

Great work Shaun.

Nathan


 
Average of ratings: -
It's only an avatar...
Re: Aardvark 1.5 - Aquarium - RELEASED
Core developersDocumentation writersParticularly helpful MoodlersPlugin developersTesters

Hi Nathan,

Looks pretty good. Have you tried customising it for Moodle 2.0.

Now there's a challenge! smile

I learnt CSS while using IE6 and was not aware of it's strange behaviour until I started to use Firefox.  LOL

I would love to know how to get pages to print in IE7...am having a prob with a theme, which strangely enough is built on standard theme. But why it wont print is beyond me.

Any thoughts?  Any hacks?

Cheers

Mary

 
Average of ratings: -
Its Me
Re: Aardvark 1.5 - Aquarium - RELEASED
 

Hey, LOL at your CSS code working in 6 and mine not! I had so many problems reversing what I was doing for IE6 and IE7, I should have just asked on the forum!

I will look into page printing next week , do you have any more info?

Nathan

 
Average of ratings: -
It's only an avatar...
Re: Aardvark 1.5 - Aquarium - RELEASED
Core developersDocumentation writersParticularly helpful MoodlersPlugin developersTesters

No more info other than it's a simple design which has a header and footer, and content. As the header and footer don't get printed anyway, there is no problem in other browsers only IE7. I thought it was a Moodle problem, but it turns out to be IE7. Some pages it will print others not. I'm beginning to wonder if its to do with the DOC type, as IE can be a bit strange anyway.  I was just wondering if you could test Standard theme in IE7 tell me what happens...if anything?

Would be very grateful. Cheers

Mary

 
Average of ratings: -
Picture of Agostinho Coelho
Re: Aardvark 1.5 - Aquarium - RELEASED
 

Hi!

First of all congratulations for the fantastic template. It's simply great.
But I came up with a question. Is it possible to change the image of the core fins.jpg by any other? Whenever I try to do it, in css file, it just turn into white!

Regards,

Agostinho

 
Average of ratings: -
It's only an avatar...
Re: Aardvark 1.5 - Aquarium - RELEASED
Core developersDocumentation writersParticularly helpful MoodlersPlugin developersTesters

Hi,

If you have added the image to your images folder, and changed the name of fins.png to the name of that image, then it should work.

What exactly have you done. What changes have you made to the CSS. Perhaps it is just a small error, which is stopping the CSS being read properly by the browser.

Mary

 
Average of ratings: -
Picture of Agostinho Coelho
Re: Aardvark 1.5 - Aquarium - RELEASED
 

Hi,

I just change the name of previous file by the new one, in aardvark.css

body {
background: #c0deed url('images/core/fundo.jpg') no-repeat center;

as i said before, i didn't seem to work, so i've also change in standart template css layout... and it works!

Thanks anyway!

Agostinho

 
Average of ratings: -
It's only an avatar...
Re: Aardvark 1.5 - Aquarium - RELEASED
Core developersDocumentation writersParticularly helpful MoodlersPlugin developersTesters

That's fine, if it works now, but next time you change your theme  you will have to take out the code from your standard theme css.

 
Average of ratings: -
Picture of André Costa
Re: Aardvark 1.5 - Aquarium - RELEASED
 

Hi.

Great theme.

Has someone experienced the same issue below using  weekly - CSS tableless format?

Thanks.

 
Average of ratings: -
Picture of Troy Shimkus
Re: Aardvark 1.5 - Aquarium - RELEASED
 

This is a great theme, thanks! I"m wondering about the menu creation... Do I need to manually go into the code to set the links in the menus, or is there some way to have these links generated automatically? I saw some references to some JS regarding the menu links, but can't track down the specifics.

My current process is to get the link from a course list, then copy and paste that link into the menu.php file, which is all well and good, but if theres an automatic way of updating these links that would be awesome too.

I'm currently implementing the theme and have been searching through this forum without finding the specifics on this...I apologize if the answer is already in here somewhere.

 

Thanks!

 
Average of ratings: -
It's only an avatar...
Re: Aardvark 1.5 - Aquarium - RELEASED
Core developersDocumentation writersParticularly helpful MoodlersPlugin developersTesters

This is the only drawback to this menu system. It all has to be done manually.

There is a menu which lists all the categories and courses in quite a nice format, which you could, at a pinch, copy over to use in the Aardvark theme. You can see this dynamic type of menu in action HERE. All the menu items are based on the top level categories for the site. subcategories are shown in the dropdown menu, with courses linked from these.

Mary

 
Average of ratings: -
Picture of Troy Shimkus
Re: Aardvark 1.5 - Aquarium - RELEASED
 

Thanks so much...just wanted to make sure I wasn't missing something...

And sorry I put this reply under the wrong parent.

 
Average of ratings: -
It's only an avatar...
Re: Aardvark 1.5 - Aquarium - RELEASED
Core developersDocumentation writersParticularly helpful MoodlersPlugin developersTesters

This is a CSS issue which can be fixed easily enough. Use Firefox and Firebug to pinpoint the problem areas so that you can add some new CSS to your css file in this theme's folder.

If you get stuck let me know and I'll try and fix the problem for you.

Cheers

Mary

 
Average of ratings: -
Picture of Mike Watschke
Re: Aardvark 1.5 - Aquarium - RELEASED
 

Hello experts!  Does anyone know why all of a sudden the theme looks awry?  Site was operational for about 3 days...today, I see "Skip to main content," "Skip to Courses Taken" etc., and many of my style icons have borders around them.  I'm guessing this has been seen and corrected before.  Thanks much!!!  Mike


 
Average of ratings: -
Picture of Troy Shimkus
Re: Aardvark 1.5 - Aquarium - RELEASED
 

I had a similar issue while putting the site together, and I would guess it is related to a file path not being correct, or a file not being found (could also be realted to file permissions). I used the Firebug plugin with Firefox, select the HTML tab, then went throuht he document head to find the missing file.

Hope that helps...if you include a link we can look at the site from our setups to see if the problem is consistent as well.

 
Average of ratings: -
It's only an avatar...
Re: Aardvark 1.5 - Aquarium - RELEASED
Core developersDocumentation writersParticularly helpful MoodlersPlugin developersTesters

In moodle 1.9 this is usually caused by broken code, whitespaces in config.php, partly unfinished upgrading.

That's all I know about it as I have had the same problems in Moodle 2.0 but that was caused by a CSS issue.

Try enabeling debugging Site Administration>Server>Debugging Set the top box to Developer mode and have error messages sent to header.html. Any errors will show up at the top of the page usually. But there are other setting in that page you may like to try.

If you find something major then copy the Error message and paste it into Notepad and save it as a txt file then upload it to a comment here and we will try to help solve the problem.

Thanks

Mary

 
Average of ratings: -
Foto Paloma
Re: Aardvark 1.5 - Aquarium - RELEASED
 

Hi,

I'm sorry if this is a very silly question but... does this theme work with Moodle 2.0? I uploaded the theme (great work!) and customised it about two months ago, and I'm very happy with it. Now I see Moodle 2.0 is ready for upgrade, and I'm not sure whether this theme will support it...

Thanks a lot in advance!

Paloma

 
Average of ratings: -
Picture of Richard Oelmann
Re: Aardvark 1.5 - Aquarium - RELEASED
Core developersParticularly helpful MoodlersPlugin developersTesters

Hi Paloma,

No this theme will not work in Moodle 2. The way themes work in 2.0 is very different to 1.9

However, Mary has already done some work on an Aardvark like theme for Moodle 2 and Shaun is currently working on a full port across to Moodle 2.

There are also some excellent themes being made available for Moodle2 and depending on what customisation you did, should be even more flexible to allow that customisation to be added to other themes.

 

Richard

 
Average of ratings: Useful (1)
It's only an avatar...
Re: Aardvark 1.5 - Aquarium - RELEASED
Core developersDocumentation writersParticularly helpful MoodlersPlugin developersTesters

Hi Paloma,

Like Richard has said, I have uploaded a modified Aardvark theme for Moodle 2, but it is not anything like this version. I'm still working on the one I made, and Shaun is working on a new look for Aardvark for Moodle 2, which I think will be something really super!  There are so many new features to use it is such an exciting time, and so much to learn, which does take time.

It's not that easy to style this theme in Moodle 2.0 but it is a challenge to try! smile

Mary

 
Average of ratings: Useful (1)
Foto Paloma
Re: Aardvark 1.5 - Aquarium - RELEASED
 

Thank you very much, Richard and Mary,

 

I think I'm going to stick to the Moodle 1.9.10 I have for a little longer, and wait maybe for the summer holidays to be ready to dedicate some time to it. I really love this theme, it's a wonderful job you people are doing with themes, you really rock!

First time I saw a Moodle page, I remembered squinting my eyes, some designs can be so off-putting... But the way theme design is evolving is truly doing a lot of good to Moodle, in my opinion.

So thank you again!!

 

smile

 
Average of ratings: -
Picture of ciaran oco
Re: Aardvark 1.5 - Aquarium - RELEASED
 

I have an odd one so am hoping for some suggestions to debug.

I have customised the aardvark 1.5 theme and implemented it on a Moodle version 1.9.10 (Oct 15th build). On a windows server the build and theme work well but on a unix platform the whole css is not activated it seems - the menu is scrunched to top left corner there is no background display etc . This also happens with the default theme on unix so is not specific to my custom work. Does anyone know is there any capitalisation issue I am not aware of that that might be causing the CSS to not load or load incorrectly. Any assistance appreciated? I can provide urls to the 2 sites if anyone is a wizard with browser debuggers...

Many thanks

Ciaran

 
Average of ratings: -
It's only an avatar...
Re: Aardvark 1.5 - Aquarium - RELEASED
Core developersDocumentation writersParticularly helpful MoodlersPlugin developersTesters

Hi Ciaran,

A link to the site is alwasy useful in diagnosing the problem. Of course I can't guatantee a fix for the problem, but might be able to find a work around.

Cheers

Mary

 
Average of ratings: -
Picture of ciaran oco
Re: Aardvark 1.5 - Aquarium - RELEASED
 

Many thanks Mary,

The link for the UNIX server site is http://www.epictireland.org/lp/

while the windows version of it is  http://elearning.elsol.ie/epictireland1910

...both version are on Moodle 1.9.10.

Ciaran

 

 

 

 
Average of ratings: -
Picture of ciaran oco
Re: Aardvark 1.5 - Aquarium - RELEASED
 

Mary,

By the way - if you log in as guest you can view the aardvark.css using this URL

http://www.epictireland.org/lp/theme/epict5/aardvark.css

 

BTW I didn't build the unix version but received the build files which i applied to my windows server and all worked well. However I have noticed on a screen grab I received that a version of Moodle 1.4 is displaying next to the preview. Of course if this were the actual version number on the unix server this is the cause of the problem. I think I shall follow this route with my contact tomorrow...

Ciaran

 
Average of ratings: -
Picture of ciaran oco
Re: Aardvark 1.5 - Aquarium - RELEASED
 

BTW again - this discussion (link below0 reads very similar to what is going on especially regards Moodle 1.4 displaying in brackets next to theme preview. Are there specifci permission that need to be set on Unix that are defaulted in Windows?

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

 
Average of ratings: -
It's only an avatar...
Re: Aardvark 1.5 - Aquarium - RELEASED
Core developersDocumentation writersParticularly helpful MoodlersPlugin developersTesters

Ah! I thought as much...if it's the same problem, then the problem is at the server, but why I am not sure. If you have access to cPanel follow the instructions given in Themes FAQ (Section 1.1 & 1.2 * ) which should fix the problem.

Added in EDIT: *

Hopefully

Mary

 
Average of ratings: -
Picture of ciaran oco
Re: Aardvark 1.5 - Aquarium - RELEASED
 

Thanks loads Mary - I'm confident that should do the job. Fingers crossed too of course!

Will let you know later.

Ciaran

 
Average of ratings: -
Picture of ciaran oco
Re: Aardvark 1.5 - Aquarium - RELEASED
 

Mary,

That worked. Thankyou again for your great support.

If there is a vote for super support Moodler of the year let me know... I'll vote for you! wink

Ciaran

 
Average of ratings: -
It's only an avatar...
Re: Aardvark 1.5 - Aquarium - RELEASED
Core developersDocumentation writersParticularly helpful MoodlersPlugin developersTesters

COOL!!!

Thanks M

 
Average of ratings: -
Picture of Catherine Birch
Re: Aardvark 1.5 - Aquarium - RELEASED
 

This is a great theme for looks, functionality and support. Thankyou Shaun and Mary.

I am at a site where we really want to use this theme now. In fact, it was a factor in finally upgrading from 1.9.1 (And thank goodness for that). But some users are still on IE6.

Workstation upgrades are in progress but the schedule is uncertain.  There are 1000 users. Could anyone advise on whether moodle can detect the browser version and choose the theme accordingly? The moodle site is on an intranet. Everyone is using Internet Explorer 6,7, or 8.

 
Average of ratings: -
It's only an avatar...
Re: Aardvark 1.5 - Aquarium - RELEASED
Core developersDocumentation writersParticularly helpful MoodlersPlugin developersTesters

Hi Catherine,

It is possible for Moodle to detect browser version and change theme accordingly, or at least I think it would be possible. It's the HOW bit I am not sure of.

It might be better if you start a new discussion thread in this forum, then those who have more experience could answer you better.

Your Question could be something like...

Can Moodle detect IE6 and redirect user to appropriate theme?

Then in the body of the comment you can add your full question much the same as you have added here.

Hope this helps?

Mary

 
Average of ratings: -
Picture of Catherine Birch
Re: Aardvark 1.5 - Aquarium - RELEASED
 

Thankyou for your pointer Mary. Actually I think I've found out how to do it. To pay back some help I've had on these forums, I might start that comment and answer it and point to it from here. After the holidays and when it's working. smile

 
Average of ratings: -
It's only an avatar...
Re: Aardvark 1.5 - Aquarium - RELEASED
Core developersDocumentation writersParticularly helpful MoodlersPlugin developersTesters

Better still!!! Look forward to finding out myself!

Mary

 
Average of ratings: -
Picture of Catherine Birch
Re: Aardvark 1.5 - Aquarium - RELEASED
 

Finally got around to documenting this:

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

 
Average of ratings: -
Picture of sergio balaguer
Re: Aardvark 1.5 accented words
 
Hello, wonderful theme. I am setting the menu. I have a problem with accented words, I get a strange character. How do I fix that? I use the Spanish language Many thanks.
 
Average of ratings: -
Picture of Michael Lewis
Re: Aardvark 1.5 - Aquarium - RELEASED
 

I have investigated the YUI menus, using Aardvark as a starting point. I have been asked to implement dropdown menus 'on click' instead of rollover, but I have not had success. When I add an anchor link, the dropdown stops working. The menubar items need to fallback to a link elsewhere (e.g. a category page) if Javascript is turned off.

Does anyone have better insight into how the YUI menu system works who could provide some suggestions?

 
Average of ratings: -
It's only an avatar...
Re: Aardvark 1.5 - Aquarium - RELEASED
Core developersDocumentation writersParticularly helpful MoodlersPlugin developersTesters

Hi Mike,

I'm not too sure about how YUI works but there are lots of examples and help HERE which you should find useful.

You will find all the YUI scripts (js & styles) used by Moodle themes in Moodle core @path  moodle/lib/yui/

Hope this helps?

Mary

 

 
Average of ratings: -
Picture of Dan Trockman
Re: Aardvark 1.5 - Aquarium - RELEASED
 

I have just made a new install of 1.9.10+ and am using a slightly modified Aardvark 1.5

Only modification was to comment-out the dropdown menus.

Users are having an issue where changes in font size are visible in the htmlarea editor but not realized on their courses. Changes to size, etc still look the same.

Ideas?

http://moodle.blakeschool.org/moodle

 
Average of ratings: -
It's only an avatar...
Re: Aardvark 1.5 - Aquarium - RELEASED
Core developersDocumentation writersParticularly helpful MoodlersPlugin developersTesters

Aardvark 1.5 uses a fixed font size of 14px which you will find in the body tag in aardvark.css file. If you change this to 100% then I think your users will be able to resize their work which they submit using the Text Editor.

If this does not solve the problem, please let me know.

Thanks

Mary

 
Average of ratings: -
Picture of Gisele Brugger
Re: Aardvark 1.5 - Aquarium - RELEASED
 

Hello Mary,

I upgraded to last version moodle  1.9.10 (http://download.moodle.org/download.php/stable19/moodle-1.9.10.zip)

But no image that is in the folder moodledata appears.
After several tests I found that it is only with the theme Aardvark Pro 1.5.
With the default theme moodle images are displayed. Any suggestions?

see : http://www.amigodoprofessor.org.br

in this page have 2 imagens : http://www.amigodoprofessor.org.br/mod/resource/view.php?id=46 but dont'  display.

 
Average of ratings: -
Picture of Gisele Brugger
Re: Aardvark 1.5 - Aquarium - RELEASED
 

problem solved.

I started a new installation.

That there were some files to be transferred via FTP with sizes were incorrect.
Problems with windows servers with IIS  evil

 

Thank you

 
Average of ratings: -
It's only an avatar...
Re: Aardvark 1.5 - Aquarium - RELEASED
Core developersDocumentation writersParticularly helpful MoodlersPlugin developersTesters

Gisele,

There is a problem with the profileblock.php which has never been corrected. I have attached the corrected profileblock in a zip folder for you to download from this comment page.

Hope this helps?

Mary

 
Average of ratings: -
Picture of Dan Trockman
Re: Aardvark 1.5 - Aquarium - RELEASED
 

Mary, this did not fix things. Interestingly  enough, I cannot change font size in any theme.

This is a very fresh install, worked before the upgrade to 1.9.10+.

Users can change all other aspects of the font and can change size with h1,2,3 etc.

Any diagnostic files to post?

 
Average of ratings: -
It's only an avatar...
Re: Aardvark 1.5 - Aquarium - RELEASED
Core developersDocumentation writersParticularly helpful MoodlersPlugin developersTesters

Which browser do you use?

 
Average of ratings: -
Picture of Dan Trockman
Re: Aardvark 1.5 - Aquarium - RELEASED
 

I can replicate in FF, Safari, and Chrome. Very frustrating. Must be somthing buggy in basic style sheet.  I made the font size change to 100% in aardvark css but them realized this occured regardless of theme.

Can a cache or permissions issues do this? All www-data chown.

http://moodle.blakeschool.org/moodle  (LAMP server, all new, upgraded from 1.9.7)

 
Average of ratings: -
Picture of Dan Trockman
Re: Aardvark 1.5 - Aquarium - RELEASED
 

It was filter settings. Might have been Tidy or HTML filtering. Turned both off and all is good on the site.  Need to assess which it was. Thanks for your suggestions.

 
Average of ratings: -
It's only an avatar...
Re: Aardvark 1.5 - Aquarium - RELEASED
Core developersDocumentation writersParticularly helpful MoodlersPlugin developersTesters

Sorry I didn't get back to you earlier with this. The filters were the only thing it could be if you had the same prob in all themes.

Glad you have this sorted now!

Mary

 
Average of ratings: -
It's only an avatar...
Re: Aardvark 1.5 - Aquarium - RELEASED
Core developersDocumentation writersParticularly helpful MoodlersPlugin developersTesters

Dan,

I downloaded and updated my Aardvark_Pro 1.5 to test the problems you are having with this theme. As far as I could see there is nothing wrong with the Text Editor or the fact the theme uses a fixed font in the body tag.

Changing text sizes was straight forward and all changes showed in the page.

I am wondering if the commenting out of the menu is having an effect on your theme.Could you explain how you did this, as there may be some conflict with the YUI scripts.

Mary

 
Average of ratings: -
Picture of Dan Trockman
Re: Aardvark 1.5 - Aquarium - RELEASED
 

I think you are absolutely right. Last week, changing the location of the comment tag allowed me to see bulleted lists again.

What is the correct location of the comment tags to eliminate drop-down lists but leave the home button and the row that contains the date?

I only made modifications in aardvark_menu.php and tried to carefully count div tags to prevent this.

Thanks for your help with this Mary.

 
Average of ratings: -
Picture of Vernon Williams
CSS problem - Help!
 

Hi everyone,

Can anyone help me with this little issue:

I have changed some of the CSS to put a background on the content pages and Course pages.  The front page looks fine, but on other pages I am left with two white margins either side.  The front page can be found here, and the problem here.

Many thanks for all help received.

Vern.

 
Average of ratings: -
Picture of Richard Oelmann
Re: CSS problem - Help!
Core developersParticularly helpful MoodlersPlugin developersTesters

Hi Vernon,

The issue is that you have applied the css to the content background, but the course pages also have section blocks - by which I mean the narrow blocks in which the topic numbers and icons appear rather than the side blocks for the calendar etc.

Using firefox and firebug these appear to have an id of right side and left side,  you could add the same background css to these blocks to give them the same background colour, or alternatively apply the css to the entire middle-column rather than just the content section.

 

Hope that helps,

Richard

 
Average of ratings: -
Picture of Vernon Williams
Re: CSS problem - Help!
 

Thanks Richard,

Had completely forgotten about the numbering system in Topics.

Vernon

 
Average of ratings: -
Picture of Vernon Williams
Latest News
 

For the life of me I cannot find where to change the color of postings in latest news on the front page.

All help gratefully received as always!

Vernon

 
Average of ratings: -
It's only an avatar...
Re: Latest News
Core developersDocumentation writersParticularly helpful MoodlersPlugin developersTesters

CSS FAQ is a good starting point for customising your theme. Also try Firebug which is an Add-On for  FireFox browser.

HTH

Mary

 
Average of ratings: -
Picture of Vernon Williams
Re: Latest News
 

HI Mary,

 

Thanks for the reply.

Yes - I have tried both of those.  Firebug shows that the CSS for the line in question has the tag 'info'.  I have even carried out a full search of the code for the whole site via Dreamweaver - no luck!

Vernon

 
Average of ratings: -
It's only an avatar...
Re: Latest News
Core developersDocumentation writersParticularly helpful MoodlersPlugin developersTesters

Hi Vernon,

Which part of postings are you wanting to change the colour of. Is it the Authors name or the actual post text you wnat to change?

Mary

 
Average of ratings: -
Picture of Vernon Williams
Re: Latest News
 

Hi Mary,

Thank you so much for getting back to me.

I need to change the actual post - you can see what I mean here.  As you will see the text colour and the background colour are one and the same!

Many thanks,

Vernon.

 
Average of ratings: -
It's only an avatar...
Re: Latest News
Core developersDocumentation writersParticularly helpful MoodlersPlugin developersTesters

Try this...just change colours to suit yourself...you could make them both black...

.sideblock .date {
color: blue;
font-style: italic;
}

.sideblock .content div.info {
color: red;
text-align: center;
}

 
Average of ratings: -
Picture of Luiso Ferrándiz Ruiz
Re: Aardvark 1.5 - Aquarium - RELEASED. Error 404 Profile
 

Dear Friends,

Thank you very much for your work with the aardvark in moodle. It absolutely great to use your template.

 

I have had a problem which I can´t solve. Maybe you could help me.

When I a user, except the administrator, wants to update his profile, and php error 404 shows up.

I have tried to change the permission in the folder and in the file but I doesn´t work.

Do you have any suggestion for me?

 
Average of ratings: -
It's only an avatar...
Re: Aardvark 1.5 - Aquarium - RELEASED. Error 404 Profile
Core developersDocumentation writersParticularly helpful MoodlersPlugin developersTesters

Hi,

There is a problem with Zeus servers in that it switches from http to https when editing a profile. Originally Moodle blocked ZEUS servers for this very reason, but I put in a request for it to be added in the list of accepted server types. However, this may not be your specific problem, as ZEUS servers are few and far between.

You could try enabeling Debugging. Site-Administration > Server > Debugging and then post any error messages in your next comment here.

Mary

 
Average of ratings: -
Picture of Luiso Ferrándiz Ruiz
Re: Aardvark 1.5 - Aquarium - RELEASED. Error 404 Profile
 

It is a Windows Server.

I get a error using the "Debugging"

PHP Notice: Undefined property: object::$firstname in C:\inetpub\vhosts\eurosafacademy.org\httpdocs\theme\euroacademy\profileblock.php on line 4 PHP Notice: Undefined property: object::$lastname in C:\inetpub\vhosts\eurosafacademy.org\httpdocs\theme\euroacademy\profileblock.php on line 4 PHP Notice: Undefined property: object::$firstname in C:\inetpub\vhosts\eurosafacademy.org\httpdocs\theme\euroacademy\profileblock.php on line 4 PHP Notice: Undefined property: object::$lastname in C:\inetpub\vhosts\eurosafacademy.org\httpdocs\theme\euroacademy\profileblock.php on line 4 PHP Notice: Undefined index: loaded in C:\inetpub\vhosts\eurosafacademy.org\httpdocs\lib\accesslib.php on line 588 PHP Warning: in_array() [function.in-array]: Wrong datatype for second argument in C:\inetpub\vhosts\eurosafacademy.org\httpdocs\lib\accesslib.php on line 588 PHP Notice: Undefined index: loaded in C:\inetpub\vhosts\eurosafacademy.org\httpdocs\lib\accesslib.php on line 598 PHP Warning: in_array() [function.in-array]: Wrong datatype for second argument in C:\inetpub\vhosts\eurosafacademy.org\httpdocs\lib\accesslib.php on line 598

 
Average of ratings: -
It's only an avatar...
Re: Aardvark 1.5 - Aquarium - RELEASED. Error 404 Profile
Core developersDocumentation writersParticularly helpful MoodlersPlugin developersTesters

Here's is the fix for the profileblock.php

Download this file and replace your existing profileblock.php with this new one.

Should fix the problem

Mary

 
Average of ratings: -
Picture of Luiso Ferrándiz Ruiz
Re: Aardvark 1.5 - Aquarium - RELEASED. Error 404 Profile
 

Thanks a lot for the file, it works.

I still have the 404 error, and the "Debuging error" has change to the following:

PHP Notice: Undefined index: loaded in C:\inetpub\vhosts\eurosafacademy.org\httpdocs\lib\accesslib.php on line 588 PHP Warning: in_array() [function.in-array]: Wrong datatype for second argument in C:\inetpub\vhosts\eurosafacademy.org\httpdocs\lib\accesslib.php on line 588 PHP Notice: Undefined index: loaded in C:\inetpub\vhosts\eurosafacademy.org\httpdocs\lib\accesslib.php on line 598 PHP Warning: in_array() [function.in-array]: Wrong datatype for second argument in C:\inetpub\vhosts\eurosafacademy.org\httpdocs\lib\accesslib.php on line 598

 
Average of ratings: -
It's only an avatar...
Re: Aardvark 1.5 - Aquarium - RELEASED. Error 404 Profile
Core developersDocumentation writersParticularly helpful MoodlersPlugin developersTesters

HTTPDOCS is not part of moodle is it?  Although there is a problem in that directory. If I were you I would turn debugging off in Moodle and investigate the file which is causing the problem.

Glad the profileblock works!

Mary

 
Average of ratings: -
Picture of Luiso Ferrándiz Ruiz
Re: Aardvark 1.5 - Aquarium - RELEASED. Error 404 Profile
 

httpdocs is the root of moodle.

I have changed the folders permisions to 755 and the files permision to 644 (except  config.php to 640). Is it ok?

 
Average of ratings: -
It's only an avatar...
Re: Aardvark 1.5 - Aquarium - RELEASED. Error 404 Profile
Core developersDocumentation writersParticularly helpful MoodlersPlugin developersTesters

Hi Luiso,

This sounds about right, although I can't remember what config.php is suposded to be as my host server just did it automatically. There is a Security document which explains it.

If it has solved the problem...then that's OK.

Cheers

Mary

 
Average of ratings: -
Picture of Luiso Ferrándiz Ruiz
Re: Aardvark 1.5 - Aquarium - RELEASED. Error 404 Profile
 

Hi Mary,

Thanks for your help. It is solve.

I had a mistake in roles and in some permisions.

I changed also the profilebock.php line 65 and insert /my/index.php

And It works ok. Thank for your help.

Luiso

 
Average of ratings: -
Picture of Todd Almarez
Re: Aardvark 1.5 - Aquarium - RELEASED
 

We've recently switched the theme on our Moodle site to the aardvark_pro theme.  Great job on the theme!  Much better than some of the other traditional themes.

I've trying to allow student to view hidden categories.  One of the other forums describes how to do this.  Here is the modification described:

To allow a mix of visible and hidden categories and to control which hidden categories a user can see and access the following conditions must be met:

  1. Hide all Categories, including sub-categories that you want only selected users to see.
  2. Hide all courses in the hidden categories. Note: If you do not hide the courses, then the search function will list them even if the category is hidden.
  3. For each role that will be used within the hidden categories you need to assign the permissions moodle/category:visibility and moodle/course:viewhiddencourses. Note: If your courses use a default role of Student then you will need to give that role the above permissions. Also, do not assign the above permissions to guests, authenticated users or the default site role of a logged in user.
  4. Assign users to the appropriate role based on the category they have permission to access. Remember at whatever level you assign a user a role with the permission to see hidden courses and categories, they will have that same permission on all sub-categories unless it is otherwise over-ridden. Note: The combined permissions of moodle/course:update and moodle/course:create will have the same effect as moodle/category:visibility. Any user assigned to a role with those permissions will also see the hidden categories. To change this would require more extensive changes.

There are two files that must be modified to provide this level of control over hidden categories:

  1. In course/lib.php locate the function print_whole_category_list (line 1646) and change the following code:

    if ($category) {
    if ($category->visible or has_capability('moodle/course:update', get_context_instance(CONTEXT_SYSTEM))) {
    print_category_info($category, $depth, $files);
    } else {
    return; // Don't bother printing children of invisible categories
    }

    to:

    if ($category) {
    if ($category->visible or has_capability('moodle/course:update', get_context_instance(CONTEXT_SYSTEM))or has_capability('moodle/category:visibility', get_context_instance(CONTEXT_COURSECAT,$category->id))) {
    print_category_info($category, $depth, $files);
    } else {
    return; // Don't bother printing children of invisible categories
    }

  2. In course/category.php locate the following code (line 51):

    if (!$category->visible) {
    print_error('notavailable', 'error');

    and change to:

    if (!$category->visible and !has_capability('moodle/category:visibility', get_context_instance(CONTEXT_COURSECAT,$category->id))) {
    print_error('notavailable', 'error');

I've made these changes but still can't get it to work.  I've allowed STUDENTS at the site level the permissions of VIEW HIDDEN CATEGORIES and VIEW HIDDEN COURSES but still won't work. Our site is http://core.medtrials.com

Any suggestions?

 
Average of ratings: -
It's only an avatar...
Re: Aardvark 1.5 - Aquarium - RELEASED
Core developersDocumentation writersParticularly helpful MoodlersPlugin developersTesters

Hi Todd,

Have you tried changing the theme to Standard theme and see if your changes to the system files work?  Themes should not interfere with the running of the site, their job it to make Moodle look pretty, nothing more, nothing less.

The problem you are having is nothing to do with this theme, at least I think it isn't, unless you prove me wrong.

If, what you are trying to achive works in Standard theme, then I'll investigate a fix for Aardvark Pro 1.5, if not then you must be doing something wrong in setting up the hidden categories and courses.

Have you tried working with Debugging enabled?

Site Administration > Server > Debugging

...set this page to view error messages and set the top box to Developer Mode, this gives a better range of errors, some important, others not so.

When you have enabled  debugging, save the settings then logout and then log back in again, this allows you to see any errors with the theme prior to login, usually these can be fixed.  There are knows BUGs in this theme, but the forums are full of the fixes so worry not!

HTH

Mary

 
Average of ratings: Useful (1)
Picture of Todd Almarez
Re: Aardvark 1.5 - Aquarium - RELEASED
 

Thanks Mary! You were right.  I had to slightly modify the php code in the lib folder (category:visiblity instead to category:viewhiddencategories).  Now it works like a charm.

I am having one other issue, althought now I'm afraid it has nothing to do with the theme but maybe you could confirm as before.  We modified the aardvark_menu.php file a couple of times and each time loaded via ftp to view the changes.  We're finally satisifed with how they look but when you navigate to another page within the site, the menus including drop-downs revert back to a previous version of the aardvark_menu.php file. 

pic1 

pic2

I've double checked and there is only one aardvark_menu.php file loaded.  All front page resources show the correct drop-down menus and it appears that the resources within courses show the correct drop-down menus.  We even tried reloading the entire theme and it still did not fix (which makes me think it is probably not the theme, right?)

Your expertise is greatly appreciated.

Many thanks,

Todd

 

 

 
Average of ratings: -
It's only an avatar...
Re: Aardvark 1.5 - Aquarium - RELEASED
Core developersDocumentation writersParticularly helpful MoodlersPlugin developersTesters

Hi Todd, there could be all sorts of things going on here.

Could be the Cache in the Moodledata, I think you will find it in the moodeldata/lang/en/cache folder or something like that.

It could be you have 2 themes running side by side and triggered using course theme settings for a particular course.

If you could set me up with a username and password with some permissions so I can look at the pages which show the wrong menu.

You can always rename the menu to core-menu.php that way you would soon find out if the other menu was coming from some other theme.

HTH

Mary

 
Average of ratings: Useful (1)
Picture of Todd Almarez
Re: Aardvark 1.5 - Aquarium - RELEASED
 

Again Mary, you are my hero.  I modified the aardvark_menu.php file to core_menu.php, made the necessary change in the header.html file, and it worked perfectly!

Many thanks!

 
Average of ratings: -
It's only an avatar...
Re: Aardvark 1.5 - Aquarium - RELEASED
Core developersDocumentation writersParticularly helpful MoodlersPlugin developersTesters

 
Average of ratings: -
Picture of Jonathan Konrad
Login stay on the calling page
Moodle Course Creator Certificate holders

Great theme. I love using with my K-12 publich school. My question is this; can a user enter information in the login boxes at the top of the theme, then click login and stay on the calling page?

My school's Moodle "site" is actually a subdivision of a larger Moodle site. I can bend all the navigation to make everything appear as though it is our site except the login. Right now a child clicks login and they are booted out to the title page of the Moodle server. They then need to burrow back in to our school pages.

Any thoughts would be appreciated. Thank you.

 
Average of ratings: -
It's only an avatar...
Re: Login stay on the calling page
Core developersDocumentation writersParticularly helpful MoodlersPlugin developersTesters

Hi Jonathan, what you need to do is have a Login button or link for the children to click on which takes them directly to the page you want them to end up. Once Moodle knows this path it takes over and forces the user to Login befor they can see that page. Once logged in they will be allowed in the page that the link pointed to.

It works the same for when you use this forum and you get an email telling you that someone has left a comment. If you are like me and hit the replay in the email, when you arrive at the forum you are asked to login, once logged in you are directed to the forum post you want to replay to.  Simples...

Hope this helps?

Mary

 
Average of ratings: -
Picture of Jonathan Konrad
Re: Login stay on the calling page
Moodle Course Creator Certificate holders

Not quite what I meant. An early Aardvark theme had a different Profile block in the header. That one had a login button that would take the user to a login page, then when they logged in, return them to the calling course page.

This newer theme has a username and password block right in the header. This looks great, but when the student puts in their credentials and hits "login" it authenticates them and takes them to the Front page of the Moodle site.

For now I just copied over the older profile block. Seems to work but the whole process would be much cooler if the student could login and stay on that course page.

 
Average of ratings: -
It's only an avatar...
Re: Login stay on the calling page
Core developersDocumentation writersParticularly helpful MoodlersPlugin developersTesters

Hi Jonathan,

Could you upload a text copy of the profile block which works, so that I can see the code, as I may be able to change the original profile block to work as you want it to.

Mary

 
Average of ratings: -
Picture of Jonathan Konrad
Re: Login stay on the calling page
Moodle Course Creator Certificate holders

OK. Here is an earlier version of the profile block that works. If a student lands on a page with this theme and is not logged in, they click "login", are taken to the login screen and enter their details, click login and are returned to the calling page.

The profile block in this theme allows them to enter their username and password right on the page, but  when they click login, they are transported to the front page of the moodle site. Not what I want.

 
Average of ratings: -
It's only an avatar...
Re: Login stay on the calling page
Core developersDocumentation writersParticularly helpful MoodlersPlugin developersTesters

Both profileblocks work from the same login/index.php. So I am not quite sure how one works differently than the other. The only difference is one has a form, the other doesn't.

Is the theme which works correctly set as a Course theme by any chance, if it is then that may be a contributing factor to it working the way it does.

You know, you may well be better asking this question again, by starting a new discussion in a general way rather than it being theme specific. That way one of the developers may see it and give you a better explanation...and possibly a solution.

I'm no PHP expert, so I am probably not the best person to help you.

Mary

 
Average of ratings: -
Picture of Jonathan Konrad
Re: Login stay on the calling page
Moodle Course Creator Certificate holders

Thanks. I'll try a few things myself when I get the chance. For now the older php file is a bit better for my uses so I'm sticking with it.

 
Average of ratings: -
Manuel
Re: Aardvark 1.5 - Aquarium - RELEASED
 
Can somebody tell me how can I remove the black thin line surrounding the profile image in the header. I tried manipulating the CSS file with no success... Thanks, Manuel.
 
Average of ratings: -
It's only an avatar...
Re: Aardvark 1.5 - Aquarium - RELEASED
Core developersDocumentation writersParticularly helpful MoodlersPlugin developersTesters

Hi Manuel,

Sorry I seem to have missed your question here.

Add this line to the end of the aardvark.css file...

#profilepic { border: 0}

That should work,

Mary

 
Average of ratings: -
Not me
Re: Aardvark 1.5 - Aquarium - RELEASED
 

Hi

Any date on a Moodle 2.0 version?

 
Average of ratings: -
Emanuel Santana
Aardvark 1.5 - Aquarium - chooselang_jump
 

Hello,

 

I need some help. How to enable the "selection box Language" in the profileblok?

Thanks,

Emanuel Brasil

 
Average of ratings: -
It's only an avatar...
Re: Aardvark 1.5 - Aquarium - chooselang_jump
Core developersDocumentation writersParticularly helpful MoodlersPlugin developersTesters

Hi Emanuel,

First find and open header.html using Notepad and add the following line of code just underneath the page div...like this...

<div id="page">
<div class="headermenu"><?php echo $menu ?></div>

Save then Close

Next find and open aardvark.css using Notepad and add the following CSS rule just below the heading Core Header ...like this...

/***
***    Core: Header
***/

#header {
height: 100px; /* Delete */
height: 125px; /* Add  */
}

.logininfo, #header-home .headermenu font {
display: none;
font-size: 0.8em;
}

Save and Close

Go back you your browser and you should see the Language menu or the Jump to menu at the top of the page.

Mary

 
Average of ratings: -
Emanuel Santana
Re: Aardvark 1.5 - Aquarium - chooselang_jump
 

Many Thanks, Only had a problem of overlap in Google Chrome.

 
Average of ratings: -
It's only an avatar...
Re: Aardvark 1.5 - Aquarium - chooselang_jump
Core developersDocumentation writersParticularly helpful MoodlersPlugin developersTesters

Did you follow my instructions? Did you add the code to the CSS? Because your image of  language menu positioning shows the menu in the wrong place.  I styled it to sit on top of the login boxes.

 
Average of ratings: -
Emanuel Santana
Re: Aardvark 1.5 - Aquarium - chooselang_jump
 

I really put the div class = "headermenu"after the div profileblock.

 

Very thanks

 
Average of ratings: -
It's only an avatar...
Re: Aardvark 1.5 - Aquarium - chooselang_jump
Core developersDocumentation writersParticularly helpful MoodlersPlugin developersTesters

My mistake! I forgot to add this in my original comment!!!

.headermenu {
float: right;
position: relative;
right: 98px;
text-align: right;
top: 36px;
}

This should style it better.

You may wish to change the values for top and right to suit your browser settings.

HTH

Mary

 
Average of ratings: -
Emanuel Santana
Re: Aardvark 1.5 - Aquarium - chooselang_jump
 

Now great. Grateful
big grin

 
Average of ratings: -
It's only an avatar...
Re: Aardvark 1.5 - Aquarium - chooselang_jump
Core developersDocumentation writersParticularly helpful MoodlersPlugin developersTesters

Estou muito satisfeito que o tema está funcionando corretamente agora

 
Average of ratings: -
Picture of Omar Davis
Re: Aardvark 1.5 - Aquarium - RELEASED
 

I want to make the html files that are called from the horizontal menu at the top, appear in the center block of a new moodle page and not open as a separate site with only the contents of the page. The html files were uploaded via site files. Is something like this possible, if yes, how can it be accomplished? I hope I wasn't too vague.

 
Average of ratings: -
Picture of Omar Davis
Re: Aardvark 1.5 - Aquarium - RELEASED
 

I found a block CMS module which I think can do what I requested above. I just need to figure out how to resolve the issue with creating menus.smile

 
Average of ratings: -
Picture of Richard Oelmann
Re: Aardvark 1.5 - Aquarium - RELEASED
Core developersParticularly helpful MoodlersPlugin developersTesters

Rather than upload the html files themselves, try copying and pasting the html into the Section0 of a course page and hiding/not having any other sections below it. This would also allow those pages to be included in the moodle navigation structure.

HTH

Richard

 
Average of ratings: -
Picture of Todd Almarez
Re: Aardvark 1.5 - Aquarium - RELEASED
 

I just updated the original profileblock.php file with the new profileblock.php file (attached).  My site is set up with SSL security to display https:// on the login/index.php screen.  However when I saved the new profileblock.php file, the https:// no longer displays (now displays http://).  We outsource the webhosting and they are telling me it has something to do with the theme. 

 

As a test, I loaded the original profileblock.php file and the https:// reappeared on the login/index.php screen.  I prefer the new profileblock.php file because it works much better with IE8 however I need the https:// to display. 

 

Any suggestions?

 

 
Picture of Todd Almarez
Re: Aardvark 1.5 - Aquarium - RELEASED
 

Fixed it.  Modified menujs.php and profileblock.php to pull up https:// instead of wwwroot.

IE8 no longer issues warning messages, YUI menus appear as normal, and the web-browsers utilize the https appropriately.

 
Average of ratings: -
Picture of Tammy Moore
Re: Aardvark 1.5 - Aquarium - right sidebar
Particularly helpful Moodlers

I am putting my own spin on the Aardvark theme for our Moodle. I have worked out most of the design issues, but I have one or two still hanging on. One is that the right sidebar tends to cut off the sidebar 'clip' image that forms the sidebar block wing. In the original design, the winges are rectangular and therefore the shortening isn't noticed. With my 'clip' design though it messes up the effect that I am after. The left side has been fine.

I am considering making the right 'clips' shorter so that they don't get trimmed or getting suggestions on how to force the left sidebar to run at the number of pixels of the 'clip'. I have tested the 'forced' idea out by using an html block with an image of the correct width and the sidebars are then protected. I am looking for a CSS way to accomplish the same end.


 
Average of ratings: -
It's only an avatar...
Re: Aardvark 1.5 - Aquarium - right sidebar
Core developersDocumentation writersParticularly helpful MoodlersPlugin developersTesters

Hi can you send (private message) me a link to your site then I can give you some pointers to go on so that you can fix this design problem.

Cheers

Mary

 
Average of ratings: -
Picture of Tammy Moore
Re: Aardvark 1.5 - Aquarium - right sidebar
Particularly helpful Moodlers

I figured out a work around by shortening up the sidebar 'clips'. Though, I still cannot figure out why I have a white line under the background gradient as it gets to the solid background color.

Take a look at http://www.virtualhomeschoolgroup.com/

 
Average of ratings: -
It's only an avatar...
Re: Aardvark 1.5 - Aquarium - right sidebar
Core developersDocumentation writersParticularly helpful MoodlersPlugin developersTesters

I know how to fix that but can't at the moment because my other computer is out of action.

This can happen for a number of reasons, mainly due to the way you cropped the image, if you did yourself. You could try clipping off the bottom edge. Or paint the line out with the same colour of blue.

Mary

 
Average of ratings: -
Picture of Joe Deegan
Re: Aardvark 1.5 - Aquarium - RELEASED
 

Can't seem to find the download for aardvark pro 1.5 aquarium.  Say's it hasn't been approved in the themes database which is odd because I've downloaded it before. Anyone know where I can track down the latest download for this theme?

 
Average of ratings: -
It's only an avatar...
Re: Aardvark 1.5 - Aquarium - RELEASED
Core developersDocumentation writersParticularly helpful MoodlersPlugin developersTesters

Thanks for letting me know. I do not get notifications when themes need approving.

Cheers

Mary

 
Average of ratings: -
Picture of Joe Deegan
Re: Aardvark 1.5 - Aquarium - RELEASED
 

Hello,

Love this theme and have been making some small changes and have run into an aesthetic issue that I can't figure out.  I moved the sideblock headers up so they are lined up with the top border of the blocks.  After making that change I have too much padding or margin at the top of the blocks.  I have tried making changes in aardvark.css to adjust the top padding in #content, .sideblock h2, and #right-column .sideblock h2 but haven't had any success.  Any ideas how I can decrease the top padding in blocks so that I don't have this large gap?

 
Average of ratings: -
It's only an avatar...
Re: Aardvark 1.5 - Aquarium - RELEASED
Core developersDocumentation writersParticularly helpful MoodlersPlugin developersTesters

Try moving the .sideblock .content  up rather than trying to reduce the block header.

There is probably a margin or padding on the sideblock content

Try something like...

sideblock .content {

    padding: 0 4px 4px;
}
which gives you NO padding top but padding left/right and bottom
Hope this helps?
Mary
 
Average of ratings: -
Picture of Richard Oelmann
Re: Aardvark 1.5 - Aquarium - RELEASED
Core developersParticularly helpful MoodlersPlugin developersTesters

As Mary has pointed out you need to apply the css to the content of teh sideblock - by applying it to .sideblock h2 you have actually been changing the padding on the block header rather than the content

Richard

 
Average of ratings: -
It's only an avatar...
Re: Aardvark 1.5 - Aquarium - RELEASED
Core developersDocumentation writersParticularly helpful MoodlersPlugin developersTesters

Hello again,

Further to my last comment.

I've just downloaded this theme and added it to my Local Host Moodle 1.9 setup.

The code you actually need is this...

.sideblock .content {
    border-stylesolid;
    border-width1px;
    margin-top-10px;
    padding4px;
}
HTH
Mary
 
Average of ratings: -
Picture of Joe Deegan
Re: Aardvark 1.5 - Aquarium - RELEASED
 

That worked out great.  Thanks so much for the help.

 
Average of ratings: -
Picture of Joe Deegan
Re: Aardvark 1.5 - Aquarium - RELEASED
 

I'd like to customize the login button in the profile block like Mary has done in the Aardvark Liteheaded theme but can't seem to make it work.  Aardvark 1.5 uses the standard moodle grey button but I would like to change that button for something that sticks out more.  I compared the CSS and Profile Block files for Aardvark 1.5 and Liteheaded and found the additons made to the CSS but can't figure out what to change in profileblock.php to make a custom button work.  Any help is greatly appreciated.

 
Average of ratings: -
It's only an avatar...
Re: Aardvark 1.5 - Aquarium - RELEASED
Core developersDocumentation writersParticularly helpful MoodlersPlugin developersTesters

In Aardvark-Lightheaded it's an IMAGE which is toggled in the CSS using HOVER

If you downloaded the Aardvark Lightheaded you will find the CSS in the main CSS file for that theme. Try adding the relevant CSS to the end of this theme's CSS file

It should only be a couple of lines at most.

If you get stuck let me know.

Cheers

Mary

 
Average of ratings: -
Picture of Joe Deegan
Re: Aardvark 1.5 - Aquarium - RELEASED
 

Thanks for the help Mary.  I pasted the code below into aardvark.css and copied the login button to the images folder but didn't have any luck.  There was no change after copying the code below into aardvark.css.  I must be missing something.

 

#profileoptions #submit {
    background-color: transparent;
    background-image:url('images/header/login.png');
    background-repeat: no-repeat;
    background-attachment: scroll;
    background-position: left top;
    border-width: 0;
    width: 62px;
    height: 25px;
    font-size: 1em;
    padding-bottom: 6px;
    color: #FFF;
    font-weight: bold;
}

#profileoptions #submit:hover {
    background-color: transparent;
    background-image:url('images/header/hover.png');
    background-repeat: no-repeat;
    background-attachment: scroll;
    background-position: left top;
    border-width: 0;
    width: 62px;
    height: 25px;
    font-size: 1em;
    padding-bottom: 6px;
    color: #FFF;
    font-weight: bold;
}

 
Average of ratings: -
It's only an avatar...
Re: Aardvark 1.5 - Aquarium - RELEASED
Core developersDocumentation writersParticularly helpful MoodlersPlugin developersTesters

The reason this  won't work is because it needs id="submit" adding to the input tag in the profileblock.

echo '<li><input id="submit" type="submit" value="&nbsp;&nbsp;'.get_string('login').'&nbsp;&nbsp;" /></li>';

If you added that then all you need to change in the css is #profileoption to #profilelogin, and also simplify it like this...

#profilelogin #submit:a,
#profilelogin #submit:hover {
    background-color: transparent;
    background-repeat: no-repeat;
    background-attachment: scroll;
    background-position: left top;
    border-width: 0;
    width: 62px;
    height: 25px;
    font-size: 1em;
    padding-bottom: 6px;
    color: #FFF;
    font-weight: bold;
}
#profilelogin #submit:a {
    background-image:url('images/header/login.png');
}

#profilelogin #submit:hover {
    background-image:url('images/header/hover.png');
}

.profilelogin, .profilelogin a {
    text-decoration: none;
    cursor: pointer;
}

This should fix it!

You can use Notepad to make these changes.

HTH

Mary

 
Average of ratings: -
Picture of Joe Deegan
Re: Aardvark 1.5 - Aquarium - RELEASED
 

Thanks for taking the time to help me with this.  I feel like I am close to having it working but still don't have something right.  Now, it shows the custom login button when I hover my mouse but it still shows the standard grey login button if you're not hovering.  I can't figure out why it's only working on hover.  I pasted what I have in aardvark.css below.  Thanks again for the help.

/***
 ***    Core: ProfileBlock
 ***/

#profileblock {
    float: right;
    text-align: right;
    max-width: 500px;
    right: 0px;


}

#profilepic {
    text-align:right;
    float: right;
    margin: 8px;
    width: 80px;
    height: 80px;
    border: 1px solid #ffffff;
}

#profilelogin {
    text-align:right;
    width: 390px;
    margin-right: 0px;
    margin-top:6px;
    margin-bottom:0px;
    float: right;
}

#profilelogin ul li {
    padding-left: 10px;
    padding-right: 0px;
    display: inline;
    margin-right:0px;
}

.profilelogin .loginform {
    width: 7em;
    margin-left:4px;
    display: inline;
}

.profilelogin, .profilelogin a {
    color:#ffffff;
    text-decoration: none;
}

.profilelogin, .profilelogin a:hover {
    text-decoration:none;
}

#profilename {
    text-align:right;
    width: 390px;
    margin-right: 0px;
    margin-top:40px;
    margin-bottom:0px;
    float: right;
}

#profilename ul li {
    padding-left: 10px;
    padding-right: 0px;
    display: inline;
    margin-right:0px;
}

.profilename .loginform {
width: 5em;
margin-left:4px;
display: inline;
    font-size:0.8em;

}

.profilename, .profilename a {
    color:#ffffff;
    font-size:1.4em;
    letter-spacing: -2px;
    text-decoration: none;
    font-weight:bold;
    margin-right:2px;
}

.profilename, .profilename a:hover {
    text-decoration:none;
}

#profilelogin #submit:a,
#profilelogin #submit:hover {
    background-color: transparent;
    background-repeat: no-repeat;
    background-attachment: scroll;
    background-position: left top;
    border-width: 0;
    width: 62px;
    height: 25px;
    font-size: 1em;
    padding-bottom: 6px;
    color: #FFF;
    font-weight: bold;
}
#profilelogin #submit:a {
    background-image:url('images/header/login.png');
}

#profilelogin #submit:hover {
    background-image:url('images/header/hover.png');
}

.profilelogin, .profilelogin a {
    text-decoration: none;
    cursor: pointer;
}

 
Average of ratings: -
It's only an avatar...
Re: Aardvark 1.5 - Aquarium - RELEASED
Core developersDocumentation writersParticularly helpful MoodlersPlugin developersTesters

Hi,

It's myfault I added :a after #submit when it sould have not been added...

this is the corerect code


#profilelogin #submit,
#profilelogin #submit:hover {
    background-color: transparent;
    background-repeat: no-repeat;
    background-attachment: scroll;
    background-position: left top;
    border-width: 0;
    width: 62px;
    height: 25px;
    font-size: 1em;
    padding-bottom: 6px;
    color: #FFF;
    font-weight: bold;
}
#profilelogin #submit {
    background-image:url('images/header/login.png');
}

The hover is CORRECT!!!

It's just the #submit on it's own which was wrong.

You will have to excuse my odd ways I just get carried away especially when I am working on so many themes at once!

Cheers

Mary

 
Average of ratings: -
Picture of Joe Deegan
Re: Aardvark 1.5 - Aquarium - RELEASED
 

Hooray! That did the trick.  Thanks so much Mary.  Here's the final result.

 
Average of ratings: -
It's only an avatar...
Re: Aardvark 1.5 - Aquarium - RELEASED
Core developersDocumentation writersParticularly helpful MoodlersPlugin developersTesters

cheerleader.gif

 
Average of ratings: -
Picture of Alberto Domínguez García
Re: Aardvark 1.5 - Aquarium - RELEASED
 

Do you think adapt this theme to Moodle 2.2? Thank you

 
Average of ratings: -
Picture of Richard Oelmann
Re: Aardvark 1.5 - Aquarium - RELEASED
Core developersParticularly helpful MoodlersPlugin developersTesters

Hi Alberto,

If you check out the themes/plugins database, there is an Aardvark release for Moodle2.x already. Whether anyone has any plans to take this particular variation for M2 I don't know

Richard

 
Average of ratings: Useful (1)
It's only an avatar...
Re: Aardvark 1.5 - Aquarium - RELEASED
Core developersDocumentation writersParticularly helpful MoodlersPlugin developersTesters

Try this theme which I made.

http://moodle.org/mod/data/view.php?d=26&rid=4764

It's not the exact colors but you can change it to make it look the same. There are 2 version on that page with download links.

Happy Moodleling!

Mary

 
Average of ratings: Useful (1)
Picture of Alberto Domínguez García
Re: Aardvark 1.5 - Aquarium - RELEASED
 

 

Does it work with Moodle 2.2? I thought it worked only with 2.1

Thanks for your reply Richard and Mary

 
Average of ratings: -
It's only an avatar...
Re: Aardvark 1.5 - Aquarium - RELEASED
Core developersDocumentation writersParticularly helpful MoodlersPlugin developersTesters

It works great in Moodle 2.2 smile

If you have problems with the theme I told you to download let me know in a new discussion which you can create rather than keep extending this as it is not appropriate to this theme...OK?

 
Average of ratings: Useful (1)
Picture of Abraham Domínguez
IE 9
 

Hi Mary, Richard and cia.

I have this problem with the sideblock with this theme and IE 9, (Chrome and FF fine)... the width is cuted in this browser... anybody help me please?

 
Average of ratings: -
It's only an avatar...
Re: IE 9
Core developersDocumentation writersParticularly helpful MoodlersPlugin developersTesters

Please check you are viewing IE9 in the correct mode.

In IE9 click F12 (function key)

Here you will see the following...

IE9-F12.jpg

In the menu (see above image) you should see "Document Mode IE9 Standard" if you do not see that please tell me what you see. If you see "Document Mode IE7 Standard" CLICK on that and then change to "Document Mode IE9 Standard". This will clean up the page.

I hope this helps?

Mary

 
Average of ratings: -
Picture of Abraham Domínguez
Re: IE 9
 

OK perfect!!!!. Fantastic!!! Thanks Mary...and another question which is the best Aardvark theme for moodle 1.9 for you?. I like 2.1 but it´s possible that it works in this moodle version. 

Thanks again you rules smile

 
Average of ratings: -
Picture of Abraham Domínguez
Re: IE 9
 

OK perfect!!!!. Fantastic!!! Thanks Mary...and another question which is the best Aardvark theme for moodle 1.9 for you?. I like 2.1 but it´s possible that it works in this moodle version. 

Thanks again you rules smile

 
Average of ratings: -
It's only an avatar...
Re: IE 9
Core developersDocumentation writersParticularly helpful MoodlersPlugin developersTesters

I like this version of Aardvark, but this will not work in Moodle 2.1, but I made a theme with is similar which I called Aardvark Makeover you can see it working on my website...HERE and works in Moodle 2.1 smile

HTH

Mary

 
Average of ratings: -
It's only an avatar...
Re: Moodle 1.9 - Aardvark 1.5 - Aquarium - RELEASED
Core developersDocumentation writersParticularly helpful MoodlersPlugin developersTesters

Another Aardvark Theme clocked up 300

cheerleader.gif

 
Average of ratings: -