Moodle 1.9 - Aardvark 1.5 - Aquarium - RELEASED

Moodle 1.9 - Aardvark 1.5 - Aquarium - RELEASED

by Shaun Daubney -
Number of replies: 307

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)

Attachment aardvark15.jpg
Average of ratings: Useful (5)
In reply to Shaun Daubney

Re: Aardvark 1.5 - Aquarium - RELEASED

by Mary Evans -
Picture of Core developers Picture of Documentation writers Picture of Peer reviewers Picture of Plugin developers Picture of Testers
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
In reply to Mary Evans

Re: Aardvark 1.5 - Aquarium - RELEASED

by Shaun Daubney -
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...

In reply to Shaun Daubney

Re: Aardvark 1.5 - Aquarium - RELEASED

by John Szkudlapski -
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?)
In reply to Shaun Daubney

Re: Aardvark 1.5 - Aquarium - RELEASED

by Manjinder Bhandal -

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

In reply to Manjinder Bhandal

Re: Aardvark 1.5 - Aquarium - RELEASED

by Mary Evans -
Picture of Core developers Picture of Documentation writers Picture of Peer reviewers Picture of Plugin developers Picture of Testers
+1 from me too!
In reply to Mary Evans

Re: Aardvark 1.5 - Aquarium - RELEASED

by Manjinder Bhandal -

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

In reply to Shaun Daubney

Re: Aardvark 1.5 - Aquarium - RELEASED

by Chris Delaney -
Another vote for the login box to return!

Great looking theme Shaun.
In reply to Shaun Daubney

Re: Aardvark 1.5 - Aquarium - RELEASED

by Enid Newberg -
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.
In reply to Enid Newberg

Re: Aardvark 1.5 - Aquarium - RELEASED

by Mary Evans -
Picture of Core developers Picture of Documentation writers Picture of Peer reviewers Picture of Plugin developers Picture of Testers
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

In reply to Mary Evans

Re: Aardvark 1.5 - Aquarium - RELEASED

by Enid Newberg -
Thank you - this was it! I zipped it, uploaded through cPanel, unzipped through cPanel and it now works perfectly.
In reply to Shaun Daubney

Re: Aardvark 1.5 - Aquarium - RELEASED

by Shaun Daubney -

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

Attachment aardvark15_2.jpg
Average of ratings: Useful (1)
In reply to Shaun Daubney

Re: Aardvark 1.5 - Aquarium - RELEASED

by Mary Evans -
Picture of Core developers Picture of Documentation writers Picture of Peer reviewers Picture of Plugin developers Picture of Testers
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
In reply to Mary Evans

Re: Aardvark 1.5 - Aquarium - RELEASED

by Manjinder Bhandal -

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

In reply to Manjinder Bhandal

Re: Aardvark 1.5 - Aquarium - RELEASED

by Chris Delaney -
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
In reply to Chris Delaney

Re: Aardvark 1.5 - Aquarium - RELEASED

by Richard Oelmann -
Picture of Core developers Picture of Plugin developers Picture of Testers
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
In reply to Chris Delaney

Re: Aardvark 1.5 - Aquarium - RELEASED

by Pamela Gutierrez Zamora -
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
In reply to Pamela Gutierrez Zamora

Re: Aardvark 1.5 - Aquarium - RELEASED

by Mary Evans -
Picture of Core developers Picture of Documentation writers Picture of Peer reviewers Picture of Plugin developers Picture of Testers
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
In reply to Shaun Daubney

Re: Aardvark 1.5 - Aquarium - RELEASED

by Troy Smith -
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.
In reply to Troy Smith

Re: Aardvark 1.5 - Aquarium - RELEASED

by Mary Evans -
Picture of Core developers Picture of Documentation writers Picture of Peer reviewers Picture of Plugin developers Picture of Testers
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
In reply to Shaun Daubney

Re: Aardvark 1.5 - Aquarium - RELEASED

by Jeff Kitterman -
"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
In reply to Jeff Kitterman

Solved: Re: Aardvark 1.5 - Aquarium - RELEASED

by Jeff Kitterman -
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
In reply to Shaun Daubney

Re: Aardvark 1.5 - Aquarium - RELEASED

by Brandon Fixico -
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...
In reply to Brandon Fixico

Re: Aardvark 1.5 - Aquarium - RELEASED

by Mary Evans -
Picture of Core developers Picture of Documentation writers Picture of Peer reviewers Picture of Plugin developers Picture of Testers
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
In reply to Shaun Daubney

Re: Aardvark 1.5 - Aquarium - RELEASED

by Chris Delaney -

 

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.

In reply to Chris Delaney

Re: Aardvark 1.5 - Aquarium - RELEASED

by Mary Evans -
Picture of Core developers Picture of Documentation writers Picture of Peer reviewers Picture of Plugin developers Picture of Testers

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

In reply to Mary Evans

Re: Aardvark 1.5 - Aquarium - RELEASED

by Chris Delaney -

Thanks Mary,

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

In reply to Chris Delaney

Re: Aardvark 1.5 - Aquarium - RELEASED

by Mary Evans -
Picture of Core developers Picture of Documentation writers Picture of Peer reviewers Picture of Plugin developers Picture of Testers

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

In reply to Mary Evans

Re: Aardvark 1.5 - Aquarium - RELEASED

by Chris Delaney -

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

 

In reply to Chris Delaney

Re: Aardvark 1.5 - Aquarium - RELEASED

by Mary Evans -
Picture of Core developers Picture of Documentation writers Picture of Peer reviewers Picture of Plugin developers Picture of Testers

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

In reply to Shaun Daubney

IE 8

by Don Schwartz -
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.


Attachment non_comp_augi.png
In reply to Don Schwartz

Re: IE 8

by Richard Oelmann -
Picture of Core developers Picture of Plugin developers Picture of Testers
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
In reply to Richard Oelmann

Re: IE 8

by Chris Delaney -
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.
In reply to Richard Oelmann

Re: IE 8

by Richard Oelmann -
Picture of Core developers Picture of Plugin developers Picture of Testers
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
In reply to Don Schwartz

Re: IE 8

by Mary Evans -
Picture of Core developers Picture of Documentation writers Picture of Peer reviewers Picture of Plugin developers Picture of Testers
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
In reply to Mary Evans

Re: IE 8

by Chris Delaney -
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
In reply to Chris Delaney

Re: IE 8

by Mary Evans -
Picture of Core developers Picture of Documentation writers Picture of Peer reviewers Picture of Plugin developers Picture of Testers
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
In reply to Chris Delaney

Re: IE 8

by Mary Evans -
Picture of Core developers Picture of Documentation writers Picture of Peer reviewers Picture of Plugin developers Picture of Testers
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)
In reply to Don Schwartz

Re: IE 8

by Mary Evans -
Picture of Core developers Picture of Documentation writers Picture of Peer reviewers Picture of Plugin developers Picture of Testers
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
In reply to Shaun Daubney

Re: Aardvark 1.5 - Aquarium - RELEASED

by Frank Dixon -
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?
In reply to Frank Dixon

Re: Aardvark 1.5 - Aquarium - RELEASED

by Mary Evans -
Picture of Core developers Picture of Documentation writers Picture of Peer reviewers Picture of Plugin developers Picture of Testers
Yes! I have, but it might cost you to find out how! smile
In reply to Mary Evans

Re: Aardvark 1.5 - Aquarium - RELEASED

by Frank Dixon -
lol...Always scary what people consider adequate "payment" on the internet. And I don't mean money either :D
In reply to Frank Dixon

Re: Aardvark 1.5 - Aquarium - RELEASED

by Mary Evans -
Picture of Core developers Picture of Documentation writers Picture of Peer reviewers Picture of Plugin developers Picture of Testers
smile
Actually there are some clues in this theme which I created using the aardvark theme.

Mary

In reply to Mary Evans

Re: Aardvark 1.5 - Aquarium - RELEASED

by Frank Dixon -
Thanks Mary. I'll snoop around when I get a chance.
In reply to Shaun Daubney

Re: Aardvark 1.5 - Aquarium - RELEASED

by Chris Delaney -
Hey Shaun,

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

Not sure how to explain so attached screenshot.

Cheers
Attachment Aardvark.jpg
In reply to Chris Delaney

Re: Aardvark 1.5 - Aquarium - RELEASED

by Mary Evans -
Picture of Core developers Picture of Documentation writers Picture of Peer reviewers Picture of Plugin developers Picture of Testers
Hi Chris,

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

Mary
In reply to Mary Evans

Re: Aardvark 1.5 - Aquarium - RELEASED

by Chris Delaney -
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
In reply to Chris Delaney

Re: Aardvark 1.5 - Aquarium - RELEASED

by Mary Evans -
Picture of Core developers Picture of Documentation writers Picture of Peer reviewers Picture of Plugin developers Picture of Testers
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



In reply to Chris Delaney

Re: Aardvark 1.5 - Aquarium - RELEASED

by Paulo Matos -

fix for this:

ul ul ul.first-of-type {
border-top: 1px solid #A0D1DB;
}
In reply to Paulo Matos

Re: Aardvark 1.5 - Aquarium - RELEASED

by Mary Evans -
Picture of Core developers Picture of Documentation writers Picture of Peer reviewers Picture of Plugin developers Picture of Testers

Thank you!

In reply to Mary Evans

Re: Aardvark 1.5 - Aquarium - RELEASED

by Paloma Inés -

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

In reply to Paloma Inés

Re: Aardvark 1.5 - Aquarium - RELEASED

by Mary Evans -
Picture of Core developers Picture of Documentation writers Picture of Peer reviewers Picture of Plugin developers Picture of Testers
In reply to Mary Evans

Re: Aardvark 1.5 - Aquarium - RELEASED

by Paloma Inés -

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

In reply to Mary Evans

Re: Aardvark 1.5 - Aquarium - RELEASED

by Paloma Inés -

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

 

 

 

In reply to Paloma Inés

Re: Aardvark 1.5 - Aquarium - RELEASED

by Paloma Inés -

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;"/>

In reply to Shaun Daubney

Απάντηση: Aardvark 1.5 - Aquarium - RELEASED

by chris pappas -
I have a problem.
When i turn edditing on, in the main menu a image doesn't allow me to select a resource.
Attachment Snap1.jpg
In reply to chris pappas

Re: Απάντηση: Aardvark 1.5 - Aquarium - RELEASED

by Mary Evans -
Picture of Core developers Picture of Documentation writers Picture of Peer reviewers Picture of Plugin developers Picture of Testers
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)
In reply to Mary Evans

Απάντηση: Re: Απάντηση: Aardvark 1.5 - Aquarium - RELEASED

by chris pappas -
Thanks a lot.
Problem SOLVED
In reply to chris pappas

Re: Απάντηση: Re: Απάντηση: Aardvark 1.5 - Aquarium - RELEASED

by unformatted :) -
Its possible to change color to green?
A nature/eco style?
thanks
In reply to unformatted :)

Re: Απάντηση: Re: Απάντηση: Aardvark 1.5 - Aquarium - RELEASED

by Mary Evans -
Picture of Core developers Picture of Documentation writers Picture of Peer reviewers Picture of Plugin developers Picture of Testers
Would you like a green, eco friendly aardvark theme? I think that sounds really cool! I might try it.
In reply to Mary Evans

Re: Απάντηση: Re: Απάντηση: Aardvark 1.5 - Aquarium - RELEASED

by unformatted :) -
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?

In reply to unformatted :)

Re: Απάντηση: Re: Απάντηση: Aardvark 1.5 - Aquarium - RELEASED

by Mary Evans -
Picture of Core developers Picture of Documentation writers Picture of Peer reviewers Picture of Plugin developers Picture of Testers
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
In reply to Mary Evans

Re: Απάντηση: Re: Απάντηση: Aardvark 1.5 - Aquarium - RELEASED

by unformatted :) -
Hi Mary!

Any update about this eco nature theme variation?

thanks
In reply to unformatted :)

Re: Απάντηση: Re: Απάντηση: Aardvark 1.5 - Aquarium - RELEASED

by Mary Evans -
Picture of Core developers Picture of Documentation writers Picture of Peer reviewers Picture of Plugin developers Picture of Testers
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
In reply to unformatted :)

Re: Απάντηση: Re: Απάντηση: Aardvark 1.5 - Aquarium - RELEASED

by Levi Smith -
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?
In reply to Shaun Daubney

Re: Aardvark 1.5 - Aquarium - RELEASED

by Steve Smith -
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....
In reply to Steve Smith

Re: Aardvark 1.5 - Aquarium - RELEASED

by Chris Delaney -
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

In reply to Chris Delaney

Re: Aardvark 1.5 - Aquarium - RELEASED

by Steve Smith -
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
In reply to Steve Smith

Re: Aardvark 1.5 - Aquarium - RELEASED

by Richard Oelmann -
Picture of Core developers Picture of Plugin developers Picture of Testers
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
In reply to Richard Oelmann

Re: Aardvark 1.5 - Aquarium - RELEASED

by Mary Evans -
Picture of Core developers Picture of Documentation writers Picture of Peer reviewers Picture of Plugin developers Picture of Testers
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
In reply to Mary Evans

Re: Aardvark 1.5 - Aquarium - RELEASED

by Richard Oelmann -
Picture of Core developers Picture of Plugin developers Picture of Testers
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
In reply to Richard Oelmann

Re: Aardvark 1.5 - Aquarium - RELEASED

by Mary Evans -
Picture of Core developers Picture of Documentation writers Picture of Peer reviewers Picture of Plugin developers Picture of Testers
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
In reply to Mary Evans

Re: Aardvark 1.5 - Aquarium - RELEASED

by Richard Oelmann -
Picture of Core developers Picture of Plugin developers Picture of Testers
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.
In reply to Richard Oelmann

Re: Aardvark 1.5 - Aquarium - RELEASED

by Mary Evans -
Picture of Core developers Picture of Documentation writers Picture of Peer reviewers Picture of Plugin developers Picture of Testers
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
In reply to Mary Evans

Re: Aardvark 1.5 - Aquarium - RELEASED

by Richard Oelmann -
Picture of Core developers Picture of Plugin developers Picture of Testers
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
In reply to Richard Oelmann

Re: Aardvark 1.5 - Aquarium - RELEASED

by Mary Evans -
Picture of Core developers Picture of Documentation writers Picture of Peer reviewers Picture of Plugin developers Picture of Testers
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




In reply to Mary Evans

Re: Aardvark 1.5 - Aquarium - RELEASED

by Chris Delaney -
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
In reply to Shaun Daubney

Re: Aardvark 1.5 - Aquarium - RELEASED

by Katerina Nemcova -
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

In reply to Katerina Nemcova

Re: Aardvark 1.5 - Aquarium - RELEASED

by Richard Oelmann -
Picture of Core developers Picture of Plugin developers Picture of Testers
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
In reply to Katerina Nemcova

Re: Aardvark 1.5 - Aquarium - RELEASED

by Mary Evans -
Picture of Core developers Picture of Documentation writers Picture of Peer reviewers Picture of Plugin developers Picture of Testers
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
In reply to Mary Evans

Re: Aardvark 1.5 - Aquarium - RELEASED

by Katerina Nemcova -
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
In reply to Katerina Nemcova

Re: Aardvark 1.5 - Aquarium - RELEASED

by Mary Evans -
Picture of Core developers Picture of Documentation writers Picture of Peer reviewers Picture of Plugin developers Picture of Testers
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










In reply to Shaun Daubney

Απάντηση: Aardvark 1.5 - Aquarium - RELEASED

by chris pappas -
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
In reply to Shaun Daubney

Re: Aardvark 1.5 - Aquarium - RELEASED

by Stephen Poynter -
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
In reply to Stephen Poynter

Re: Aardvark 1.5 - Aquarium - RELEASED

by Mary Evans -
Picture of Core developers Picture of Documentation writers Picture of Peer reviewers Picture of Plugin developers Picture of Testers
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)
In reply to Mary Evans

Re: Aardvark 1.5 - Aquarium - RELEASED

by Ed McLafferty -
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
In reply to Shaun Daubney

Re: Aardvark 1.5 - Aquarium - RELEASED

by David Challoner -

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?

In reply to David Challoner

Re: Aardvark 1.5 - Aquarium - RELEASED

by Mary Evans -
Picture of Core developers Picture of Documentation writers Picture of Peer reviewers Picture of Plugin developers Picture of Testers
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.
Attachment ie8-nortonknatchbull.jpg
In reply to Mary Evans

Re: Aardvark 1.5 - Aquarium - RELEASED

by David Challoner -
Ahh got it, had too many </li>'s by the looks of it.
In reply to David Challoner

Re: Aardvark 1.5 - Aquarium - RELEASED

by Mary Evans -
Picture of Core developers Picture of Documentation writers Picture of Peer reviewers Picture of Plugin developers Picture of Testers
lies, lies it's all lies! smile

Yup! You got it!

Mary
In reply to Mary Evans

Re: Aardvark 1.5 - Aquarium - RELEASED

by Colin Wheelhouse -
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
Attachment screenshot.JPG
In reply to Colin Wheelhouse

Re: Aardvark 1.5 - Aquarium - RELEASED

by Mary Evans -
Picture of Core developers Picture of Documentation writers Picture of Peer reviewers Picture of Plugin developers Picture of Testers
Hi Wheelie,

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

Cheers

M
In reply to Mary Evans

Re: Aardvark 1.5 - Aquarium - RELEASED

by Colin Wheelhouse -

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.

In reply to Colin Wheelhouse

Re: Aardvark 1.5 - Aquarium - RELEASED

by Mary Evans -
Picture of Core developers Picture of Documentation writers Picture of Peer reviewers Picture of Plugin developers Picture of Testers
Hi Wheelie,

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

Staff Zone</a></li>

M

In reply to Mary Evans

Re: Aardvark 1.5 - Aquarium - RELEASED

by Colin Wheelhouse -
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
In reply to Colin Wheelhouse

Re: Aardvark 1.5 - Aquarium - RELEASED

by Calvin J Sid -
Hi Wheelie, I have has the same problem with my menu breaking up. Did the missing tag sort out the problem?
In reply to Calvin J Sid

Re: Aardvark 1.5 - Aquarium - RELEASED

by Mary Evans -
Picture of Core developers Picture of Documentation writers Picture of Peer reviewers Picture of Plugin developers Picture of Testers
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

In reply to Mary Evans

Re: Aardvark 1.5 - Aquarium - RELEASED

by Calvin J Sid -
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
In reply to Shaun Daubney

Re: Aardvark 1.5 - Aquarium - RELEASED

by Chris Delaney -
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
In reply to Chris Delaney

Re: Aardvark 1.5 - Aquarium - RELEASED

by Mary Evans -
Picture of Core developers Picture of Documentation writers Picture of Peer reviewers Picture of Plugin developers Picture of Testers
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

In reply to Shaun Daubney

Re: Aardvark 1.5 - Aquarium - Submenu bgcolor?

by Jeff Kitterman -
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
Attachment submenu.png
In reply to Jeff Kitterman

Re: Aardvark 1.5 - Aquarium - Submenu bgcolor?

by Mary Evans -
Picture of Core developers Picture of Documentation writers Picture of Peer reviewers Picture of Plugin developers Picture of Testers
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
In reply to Mary Evans

Re: Aardvark 1.5 - Aquarium - Submenu bgcolor?

by Jeff Kitterman -
Mary,
Thank you for taking the time to answer. Your response indeed answers my question. I've changed the color palette for the theme:

Attachment bearcatden_screenshot.png
In reply to Jeff Kitterman

Re: Aardvark 1.5 - Aquarium - Submenu bgcolor?

by Dan Jeffries -
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!
In reply to Dan Jeffries

Re: Aardvark 1.5 - Aquarium - Submenu bgcolor?

by Mary Evans -
Picture of Core developers Picture of Documentation writers Picture of Peer reviewers Picture of Plugin developers Picture of Testers

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

In reply to Mary Evans

Re: Aardvark 1.5 - Aquarium - Submenu bgcolor?

by Dan Jeffries -
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
In reply to Dan Jeffries

Re: Aardvark 1.5 - Aquarium - Submenu bgcolor?

by Mary Evans -
Picture of Core developers Picture of Documentation writers Picture of Peer reviewers Picture of Plugin developers Picture of Testers
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


In reply to Mary Evans

Re: Aardvark 1.5 - Aquarium - Submenu bgcolor?

by Dan Jeffries -
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!
In reply to Dan Jeffries

Re: Aardvark 1.5 - Aquarium - Submenu bgcolor?

by Mary Evans -
Picture of Core developers Picture of Documentation writers Picture of Peer reviewers Picture of Plugin developers Picture of Testers
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
In reply to Shaun Daubney

Re: Aardvark 1.5 - Aquarium - RELEASED

by Katerina Nemcova -
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.
In reply to Katerina Nemcova

Re: Aardvark 1.5 - Aquarium - RELEASED

by Mary Evans -
Picture of Core developers Picture of Documentation writers Picture of Peer reviewers Picture of Plugin developers Picture of Testers
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




In reply to Mary Evans

Re: Aardvark 1.5 - Aquarium - RELEASED

by Katerina Nemcova -
Hi Mary,
That's what a feared -anyway, many thanks for your speedy reply (as always). You are a star!
Thanks
Katerina
In reply to Shaun Daubney

Re: Aardvark 1.5 - Aquarium - RELEASED

by Bonita Thomas -

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?  

In reply to Bonita Thomas

Re: Aardvark 1.5 - Aquarium - RELEASED

by Mary Evans -
Picture of Core developers Picture of Documentation writers Picture of Peer reviewers Picture of Plugin developers Picture of Testers
You are at liberty to do whatever you want to a theme.
Average of ratings: Useful (1)
In reply to Shaun Daubney

Calendar view -sidecalendar h2 issue

by Ed McLafferty -
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
In reply to Shaun Daubney

Re: Aardvark 1.5 - Aquarium - RELEASED

by unformatted :) -
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?
In reply to Shaun Daubney

Re: Aardvark 1.5 - Aquarium - RELEASED

by Martín Martínez -

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.

In reply to Martín Martínez

Re: Aardvark 1.5 - Aquarium - RELEASED

by Mary Evans -
Picture of Core developers Picture of Documentation writers Picture of Peer reviewers Picture of Plugin developers Picture of Testers
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)
In reply to Mary Evans

Re: Aardvark 1.5 - Aquarium - RELEASED

by Martín Martínez -

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

Martin

In reply to Martín Martínez

Re: Aardvark 1.5 - Aquarium - RELEASED

by Dan Jeffries -
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
Attachment Picture_7.jpg
In reply to Dan Jeffries

Re: Aardvark 1.5 - Aquarium - RELEASED

by Mary Evans -
Picture of Core developers Picture of Documentation writers Picture of Peer reviewers Picture of Plugin developers Picture of Testers
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





In reply to Mary Evans

Re: Aardvark 1.5 - Aquarium - RELEASED

by Dan Jeffries -
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
In reply to Dan Jeffries

Re: Aardvark 1.5 - Aquarium - RELEASED

by Mary Evans -
Picture of Core developers Picture of Documentation writers Picture of Peer reviewers Picture of Plugin developers Picture of Testers
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
In reply to Mary Evans

Re: Aardvark 1.5 - Aquarium - RELEASED

by Lael ... -

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

In reply to Lael ...

Re: Aardvark 1.5 - Aquarium - RELEASED

by Mary Evans -
Picture of Core developers Picture of Documentation writers Picture of Peer reviewers Picture of Plugin developers Picture of Testers

When did you download this Gecko theme?

In reply to Mary Evans

Re: Aardvark 1.5 - Aquarium - RELEASED

by Lael ... -

Ninth of Feb, 2011

Is there a more recent copy?

In reply to Mary Evans

Re: Aardvark 1.5 - Aquarium - RELEASED

by Lael ... -
In reply to Lael ...

Re: Aardvark 1.5 - Aquarium - RELEASED

by Mary Evans -
Picture of Core developers Picture of Documentation writers Picture of Peer reviewers Picture of Plugin developers Picture of Testers
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
In reply to Mary Evans

Re: Aardvark 1.5 - Aquarium - RELEASED

by Lael ... -

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:

In reply to Lael ...

Re: Aardvark 1.5 - Aquarium - RELEASED

by Mary Evans -
Picture of Core developers Picture of Documentation writers Picture of Peer reviewers Picture of Plugin developers Picture of Testers

This is interesting!

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

Thanks

Mary

In reply to Mary Evans

Re: Aardvark 1.5 - Aquarium - RELEASED

by Mary Evans -
Picture of Core developers Picture of Documentation writers Picture of Peer reviewers Picture of Plugin developers Picture of Testers

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

In reply to Mary Evans

Re: Aardvark 1.5 - Aquarium - RELEASED

by Lael ... -

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

In reply to Lael ...

Re: Aardvark 1.5 - Aquarium - RELEASED

by Mary Evans -
Picture of Core developers Picture of Documentation writers Picture of Peer reviewers Picture of Plugin developers Picture of Testers

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

In reply to Lael ...

Re: Aardvark 1.5 - Aquarium - RELEASED

by Mary Evans -
Picture of Core developers Picture of Documentation writers Picture of Peer reviewers Picture of Plugin developers Picture of Testers

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

In reply to Mary Evans

Re: Aardvark 1.5 - Aquarium - RELEASED

by Lael ... -

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?

In reply to Lael ...

Re: Aardvark 1.5 - Aquarium - RELEASED

by Mary Evans -
Picture of Core developers Picture of Documentation writers Picture of Peer reviewers Picture of Plugin developers Picture of Testers

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

In reply to Mary Evans

Re: Aardvark 1.5 - Aquarium - RELEASED

by Lael ... -

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

In reply to Lael ...

Re: Aardvark 1.5 - Aquarium - RELEASED

by Mary Evans -
Picture of Core developers Picture of Documentation writers Picture of Peer reviewers Picture of Plugin developers Picture of Testers

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

In reply to Lael ...

Re: Aardvark 1.5 - Aquarium - RELEASED

by Mary Evans -
Picture of Core developers Picture of Documentation writers Picture of Peer reviewers Picture of Plugin developers Picture of Testers

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
In reply to Mary Evans

Re: Aardvark 1.5 - Aquarium - RELEASED

by Lael ... -

 

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

In reply to Mary Evans

Re: Aardvark 1.5 - Aquarium - RELEASED

by mark woof -

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

In reply to Shaun Daubney

Re: Aardvark 1.5 - Aquarium - RELEASED

by Paullo Abreu -
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
In reply to Paullo Abreu

Re: Aardvark 1.5 - Aquarium - RELEASED

by Mary Evans -
Picture of Core developers Picture of Documentation writers Picture of Peer reviewers Picture of Plugin developers Picture of Testers
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
In reply to Mary Evans

Re: Aardvark 1.5 - Aquarium - RELEASED

by Dan Jeffries -
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
In reply to Dan Jeffries

Re: Aardvark 1.5 - Aquarium - RELEASED

by Mary Evans -
Picture of Core developers Picture of Documentation writers Picture of Peer reviewers Picture of Plugin developers Picture of Testers
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
In reply to Mary Evans

Re: Aardvark 1.5 - Aquarium - RELEASED

by Dan Jeffries -
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
In reply to Mary Evans

Re: Aardvark 1.5 - Aquarium - RELEASED

by Lael ... -

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

In reply to Shaun Daubney

Re: Aardvark 1.5 - Aquarium - RELEASED

by Donald Hurst -

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.

In reply to Donald Hurst

Re: Aardvark 1.5 - Aquarium - RELEASED

by Mary Evans -
Picture of Core developers Picture of Documentation writers Picture of Peer reviewers Picture of Plugin developers Picture of Testers

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

In reply to Mary Evans

Re: Aardvark 1.5 - Aquarium - RELEASED

by Donald Hurst -

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

In reply to Donald Hurst

Re: Aardvark 1.5 - Aquarium - RELEASED

by Mary Evans -
Picture of Core developers Picture of Documentation writers Picture of Peer reviewers Picture of Plugin developers Picture of Testers

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

 

In reply to Shaun Daubney

Re: Aardvark 1.5 - Aquarium - RELEASED

by David Challoner -

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

In reply to David Challoner

Re: Aardvark 1.5 - Aquarium - RELEASED

by Paulo Bagorro -

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

In reply to Paulo Bagorro

Re: Aardvark 1.5 - Aquarium - RELEASED

by Paulo Bagorro -

Please, help me on this!

In reply to Paulo Bagorro

Re: Aardvark 1.5 - Aquarium - RELEASED

by Mary Evans -
Picture of Core developers Picture of Documentation writers Picture of Peer reviewers Picture of Plugin developers Picture of Testers

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)
In reply to David Challoner

Re: Aardvark 1.5 - Aquarium - RELEASED

by Mary Evans -
Picture of Core developers Picture of Documentation writers Picture of Peer reviewers Picture of Plugin developers Picture of Testers

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

In reply to Mary Evans

Re: Aardvark 1.5 - Aquarium - RELEASED

by Paulo Bagorro -

Thanks Mary

That solutions works like a charm!

Thanks again

In reply to Paulo Bagorro

Re: Aardvark 1.5 - Aquarium - RELEASED

by Mary Evans -
Picture of Core developers Picture of Documentation writers Picture of Peer reviewers Picture of Plugin developers Picture of Testers

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

Mary

In reply to Mary Evans

Re: Aardvark 1.5 - Aquarium - RELEASED

by David Challoner -

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

In reply to Shaun Daubney

Re: Aardvark 1.5 - Aquarium - RELEASED

by ciaran oco -

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

In reply to ciaran oco

Re: Aardvark 1.5 - Aquarium - RELEASED

by Mary Evans -
Picture of Core developers Picture of Documentation writers Picture of Peer reviewers Picture of Plugin developers Picture of Testers

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

In reply to Mary Evans

Re: Aardvark 1.5 - Aquarium - RELEASED

by ciaran oco -

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

 

 

In reply to Mary Evans

Re: Aardvark 1.5 - Aquarium - RELEASED

by ciaran oco -

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.

In reply to Shaun Daubney

Re: Aardvark 1.5 - Aquarium - RELEASED - Top menu hover color

by ciaran oco -

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

 

In reply to ciaran oco

Re: Aardvark 1.5 - Aquarium - RELEASED - Top menu hover color

by Chris Delaney -

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

 

In reply to Chris Delaney

Re: Aardvark 1.5 - Aquarium - RELEASED - Top menu hover color

by ciaran oco -

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.

In reply to ciaran oco

Re: Aardvark 1.5 - Aquarium - RELEASED - Top menu hover color

by Mary Evans -
Picture of Core developers Picture of Documentation writers Picture of Peer reviewers Picture of Plugin developers Picture of Testers

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

In reply to Mary Evans

Re: Aardvark 1.5 - Aquarium - RELEASED - Top menu hover color

by ciaran oco -

Thanks loads Mary,

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

Works great now.

Ciaran

In reply to ciaran oco

Re: Aardvark 1.5 - Aquarium - RELEASED - Top menu hover color

by Mary Evans -
Picture of Core developers Picture of Documentation writers Picture of Peer reviewers Picture of Plugin developers Picture of Testers

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

In reply to Shaun Daubney

Re: Aardvark 1.5 - Aquarium - RELEASED

by Nathan Revill -

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

Attachment Shaun.jpg
In reply to Nathan Revill

Re: Aardvark 1.5 - Aquarium - RELEASED

by Mary Evans -
Picture of Core developers Picture of Documentation writers Picture of Peer reviewers Picture of Plugin developers Picture of Testers

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

In reply to Mary Evans

Re: Aardvark 1.5 - Aquarium - RELEASED

by Nathan Revill -

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

In reply to Nathan Revill

Re: Aardvark 1.5 - Aquarium - RELEASED

by Mary Evans -
Picture of Core developers Picture of Documentation writers Picture of Peer reviewers Picture of Plugin developers Picture of Testers

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

In reply to Shaun Daubney

Re: Aardvark 1.5 - Aquarium - RELEASED

by Agostinho Coelho -

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

In reply to Agostinho Coelho

Re: Aardvark 1.5 - Aquarium - RELEASED

by Mary Evans -
Picture of Core developers Picture of Documentation writers Picture of Peer reviewers Picture of Plugin developers Picture of Testers

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

In reply to Mary Evans

Re: Aardvark 1.5 - Aquarium - RELEASED

by Agostinho Coelho -

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

In reply to Agostinho Coelho

Re: Aardvark 1.5 - Aquarium - RELEASED

by Mary Evans -
Picture of Core developers Picture of Documentation writers Picture of Peer reviewers Picture of Plugin developers Picture of Testers

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.

In reply to Shaun Daubney

Re: Aardvark 1.5 - Aquarium - RELEASED

by André Costa -

Hi.

Great theme.

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

Thanks.

In reply to André Costa

Re: Aardvark 1.5 - Aquarium - RELEASED

by Troy Shimkus -

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!

In reply to Troy Shimkus

Re: Aardvark 1.5 - Aquarium - RELEASED

by Mary Evans -
Picture of Core developers Picture of Documentation writers Picture of Peer reviewers Picture of Plugin developers Picture of Testers

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

In reply to Mary Evans

Re: Aardvark 1.5 - Aquarium - RELEASED

by Troy Shimkus -

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

And sorry I put this reply under the wrong parent.

In reply to André Costa

Re: Aardvark 1.5 - Aquarium - RELEASED

by Mary Evans -
Picture of Core developers Picture of Documentation writers Picture of Peer reviewers Picture of Plugin developers Picture of Testers

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

In reply to Shaun Daubney

Re: Aardvark 1.5 - Aquarium - RELEASED

by Mike Watschke -

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

Attachment aardvark_pro_15_error.jpg
In reply to Mike Watschke

Re: Aardvark 1.5 - Aquarium - RELEASED

by Troy Shimkus -

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.

In reply to Mike Watschke

Re: Aardvark 1.5 - Aquarium - RELEASED

by Mary Evans -
Picture of Core developers Picture of Documentation writers Picture of Peer reviewers Picture of Plugin developers Picture of Testers

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

In reply to Mary Evans

Re: Aardvark 1.5 - Aquarium - RELEASED

by Paloma Inés -

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

In reply to Paloma Inés

Re: Aardvark 1.5 - Aquarium - RELEASED

by Richard Oelmann -
Picture of Core developers Picture of Plugin developers Picture of Testers

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)
In reply to Paloma Inés

Re: Aardvark 1.5 - Aquarium - RELEASED

by Mary Evans -
Picture of Core developers Picture of Documentation writers Picture of Peer reviewers Picture of Plugin developers Picture of Testers

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)
In reply to Mary Evans

Re: Aardvark 1.5 - Aquarium - RELEASED

by Paloma Inés -

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

In reply to Shaun Daubney

Re: Aardvark 1.5 - Aquarium - RELEASED

by ciaran oco -

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

In reply to ciaran oco

Re: Aardvark 1.5 - Aquarium - RELEASED

by Mary Evans -
Picture of Core developers Picture of Documentation writers Picture of Peer reviewers Picture of Plugin developers Picture of Testers

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

In reply to Mary Evans

Re: Aardvark 1.5 - Aquarium - RELEASED

by ciaran oco -

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

 

 

 

In reply to ciaran oco

Re: Aardvark 1.5 - Aquarium - RELEASED

by ciaran oco -

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

In reply to ciaran oco

Re: Aardvark 1.5 - Aquarium - RELEASED

by ciaran oco -

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

In reply to ciaran oco

Re: Aardvark 1.5 - Aquarium - RELEASED

by Mary Evans -
Picture of Core developers Picture of Documentation writers Picture of Peer reviewers Picture of Plugin developers Picture of Testers

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

In reply to Mary Evans

Re: Aardvark 1.5 - Aquarium - RELEASED

by ciaran oco -

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

Will let you know later.

Ciaran

In reply to ciaran oco

Re: Aardvark 1.5 - Aquarium - RELEASED

by ciaran oco -

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

In reply to Shaun Daubney

Re: Aardvark 1.5 - Aquarium - RELEASED

by Catherine Birch -

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.

In reply to Catherine Birch

Re: Aardvark 1.5 - Aquarium - RELEASED

by Mary Evans -
Picture of Core developers Picture of Documentation writers Picture of Peer reviewers Picture of Plugin developers Picture of Testers

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

In reply to Mary Evans

Re: Aardvark 1.5 - Aquarium - RELEASED

by Catherine Birch -

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

In reply to Shaun Daubney

Re: Aardvark 1.5 accented words

by sergio balaguer -
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.
In reply to Shaun Daubney

Re: Aardvark 1.5 - Aquarium - RELEASED

by Michael Lewis -

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?

In reply to Michael Lewis

Re: Aardvark 1.5 - Aquarium - RELEASED

by Mary Evans -
Picture of Core developers Picture of Documentation writers Picture of Peer reviewers Picture of Plugin developers Picture of Testers

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

 

In reply to Shaun Daubney

Re: Aardvark 1.5 - Aquarium - RELEASED

by Dan Trockman -

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

In reply to Dan Trockman

Re: Aardvark 1.5 - Aquarium - RELEASED

by Mary Evans -
Picture of Core developers Picture of Documentation writers Picture of Peer reviewers Picture of Plugin developers Picture of Testers

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

In reply to Mary Evans

Re: Aardvark 1.5 - Aquarium - RELEASED

by Gisele Brugger -

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.

In reply to Gisele Brugger

Re: Aardvark 1.5 - Aquarium - RELEASED

by Gisele Brugger -

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

In reply to Gisele Brugger

Re: Aardvark 1.5 - Aquarium - RELEASED

by Mary Evans -
Picture of Core developers Picture of Documentation writers Picture of Peer reviewers Picture of Plugin developers Picture of Testers

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

In reply to Mary Evans

Re: Aardvark 1.5 - Aquarium - RELEASED

by Dan Trockman -

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?

In reply to Dan Trockman

Re: Aardvark 1.5 - Aquarium - RELEASED

by Mary Evans -
Picture of Core developers Picture of Documentation writers Picture of Peer reviewers Picture of Plugin developers Picture of Testers

Which browser do you use?

In reply to Mary Evans

Re: Aardvark 1.5 - Aquarium - RELEASED

by Dan Trockman -

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)

In reply to Dan Trockman

Re: Aardvark 1.5 - Aquarium - RELEASED

by Dan Trockman -

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.

In reply to Dan Trockman

Re: Aardvark 1.5 - Aquarium - RELEASED

by Mary Evans -
Picture of Core developers Picture of Documentation writers Picture of Peer reviewers Picture of Plugin developers Picture of Testers

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

In reply to Dan Trockman

Re: Aardvark 1.5 - Aquarium - RELEASED

by Mary Evans -
Picture of Core developers Picture of Documentation writers Picture of Peer reviewers Picture of Plugin developers Picture of Testers

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

In reply to Mary Evans

Re: Aardvark 1.5 - Aquarium - RELEASED

by Dan Trockman -

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.

In reply to Shaun Daubney

CSS problem - Help!

by Vernon Williams -

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.

In reply to Vernon Williams

Re: CSS problem - Help!

by Richard Oelmann -
Picture of Core developers Picture of Plugin developers Picture of Testers

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

In reply to Richard Oelmann

Re: CSS problem - Help!

by Vernon Williams -

Thanks Richard,

Had completely forgotten about the numbering system in Topics.

Vernon

In reply to Shaun Daubney

Latest News

by Vernon Williams -

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

In reply to Vernon Williams

Re: Latest News

by Mary Evans -
Picture of Core developers Picture of Documentation writers Picture of Peer reviewers Picture of Plugin developers Picture of Testers

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

HTH

Mary

In reply to Mary Evans

Re: Latest News

by Vernon Williams -

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

In reply to Vernon Williams

Re: Latest News

by Mary Evans -
Picture of Core developers Picture of Documentation writers Picture of Peer reviewers Picture of Plugin developers Picture of Testers

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

In reply to Mary Evans

Re: Latest News

by Vernon Williams -

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.

In reply to Vernon Williams

Re: Latest News

by Mary Evans -
Picture of Core developers Picture of Documentation writers Picture of Peer reviewers Picture of Plugin developers Picture of Testers

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;
}

In reply to Shaun Daubney

Re: Aardvark 1.5 - Aquarium - RELEASED. Error 404 Profile

by Luiso Ferrándiz Ruiz -

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?

In reply to Luiso Ferrándiz Ruiz

Re: Aardvark 1.5 - Aquarium - RELEASED. Error 404 Profile

by Mary Evans -
Picture of Core developers Picture of Documentation writers Picture of Peer reviewers Picture of Plugin developers Picture of Testers

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

In reply to Mary Evans

Re: Aardvark 1.5 - Aquarium - RELEASED. Error 404 Profile

by Luiso Ferrándiz Ruiz -

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

In reply to Luiso Ferrándiz Ruiz

Re: Aardvark 1.5 - Aquarium - RELEASED. Error 404 Profile

by Mary Evans -
Picture of Core developers Picture of Documentation writers Picture of Peer reviewers Picture of Plugin developers Picture of Testers

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

In reply to Mary Evans

Re: Aardvark 1.5 - Aquarium - RELEASED. Error 404 Profile

by Luiso Ferrándiz Ruiz -

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

In reply to Luiso Ferrándiz Ruiz

Re: Aardvark 1.5 - Aquarium - RELEASED. Error 404 Profile

by Mary Evans -
Picture of Core developers Picture of Documentation writers Picture of Peer reviewers Picture of Plugin developers Picture of Testers

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

In reply to Mary Evans

Re: Aardvark 1.5 - Aquarium - RELEASED. Error 404 Profile

by Luiso Ferrándiz Ruiz -

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?

In reply to Luiso Ferrándiz Ruiz

Re: Aardvark 1.5 - Aquarium - RELEASED. Error 404 Profile

by Mary Evans -
Picture of Core developers Picture of Documentation writers Picture of Peer reviewers Picture of Plugin developers Picture of Testers

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

In reply to Mary Evans

Re: Aardvark 1.5 - Aquarium - RELEASED. Error 404 Profile

by Luiso Ferrándiz Ruiz -

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

In reply to Shaun Daubney

Re: Aardvark 1.5 - Aquarium - RELEASED

by Todd Almarez -

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?

In reply to Todd Almarez

Re: Aardvark 1.5 - Aquarium - RELEASED

by Mary Evans -
Picture of Core developers Picture of Documentation writers Picture of Peer reviewers Picture of Plugin developers Picture of Testers

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)
In reply to Mary Evans

Re: Aardvark 1.5 - Aquarium - RELEASED

by Todd Almarez -

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

 

 

In reply to Todd Almarez

Re: Aardvark 1.5 - Aquarium - RELEASED

by Mary Evans -
Picture of Core developers Picture of Documentation writers Picture of Peer reviewers Picture of Plugin developers Picture of Testers

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)
In reply to Mary Evans

Re: Aardvark 1.5 - Aquarium - RELEASED

by Todd Almarez -

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!

In reply to Shaun Daubney

Login stay on the calling page

by Jonathan Konrad -

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.

In reply to Jonathan Konrad

Re: Login stay on the calling page

by Mary Evans -
Picture of Core developers Picture of Documentation writers Picture of Peer reviewers Picture of Plugin developers Picture of Testers

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

In reply to Mary Evans

Re: Login stay on the calling page

by Jonathan Konrad -

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.

In reply to Jonathan Konrad

Re: Login stay on the calling page

by Mary Evans -
Picture of Core developers Picture of Documentation writers Picture of Peer reviewers Picture of Plugin developers Picture of Testers

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

In reply to Mary Evans

Re: Login stay on the calling page

by Jonathan Konrad -

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.

In reply to Jonathan Konrad

Re: Login stay on the calling page

by Mary Evans -
Picture of Core developers Picture of Documentation writers Picture of Peer reviewers Picture of Plugin developers Picture of Testers

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

In reply to Mary Evans

Re: Login stay on the calling page

by Jonathan Konrad -

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.

In reply to Shaun Daubney

Re: Aardvark 1.5 - Aquarium - RELEASED

by Manuel de la Torre -
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.
In reply to Manuel de la Torre

Re: Aardvark 1.5 - Aquarium - RELEASED

by Mary Evans -
Picture of Core developers Picture of Documentation writers Picture of Peer reviewers Picture of Plugin developers Picture of Testers

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

In reply to Shaun Daubney

Aardvark 1.5 - Aquarium - chooselang_jump

by Emanuel Santana -

Hello,

 

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

Thanks,

Emanuel Brasil

In reply to Emanuel Santana

Re: Aardvark 1.5 - Aquarium - chooselang_jump

by Mary Evans -
Picture of Core developers Picture of Documentation writers Picture of Peer reviewers Picture of Plugin developers Picture of Testers

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

In reply to Mary Evans

Re: Aardvark 1.5 - Aquarium - chooselang_jump

by Emanuel Santana -

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

In reply to Emanuel Santana

Re: Aardvark 1.5 - Aquarium - chooselang_jump

by Mary Evans -
Picture of Core developers Picture of Documentation writers Picture of Peer reviewers Picture of Plugin developers Picture of Testers

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.

In reply to Mary Evans

Re: Aardvark 1.5 - Aquarium - chooselang_jump

by Emanuel Santana -

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

 

Very thanks

In reply to Emanuel Santana

Re: Aardvark 1.5 - Aquarium - chooselang_jump

by Mary Evans -
Picture of Core developers Picture of Documentation writers Picture of Peer reviewers Picture of Plugin developers Picture of Testers

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

In reply to Mary Evans

Re: Aardvark 1.5 - Aquarium - chooselang_jump

by Emanuel Santana -

Now great. Grateful
big grin

In reply to Emanuel Santana

Re: Aardvark 1.5 - Aquarium - chooselang_jump

by Mary Evans -
Picture of Core developers Picture of Documentation writers Picture of Peer reviewers Picture of Plugin developers Picture of Testers

Estou muito satisfeito que o tema está funcionando corretamente agora

In reply to Shaun Daubney

Re: Aardvark 1.5 - Aquarium - RELEASED

by Omar Davis -

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.

In reply to Omar Davis

Re: Aardvark 1.5 - Aquarium - RELEASED

by Omar Davis -

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

In reply to Omar Davis

Re: Aardvark 1.5 - Aquarium - RELEASED

by Richard Oelmann -
Picture of Core developers Picture of Plugin developers Picture of Testers

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

In reply to Shaun Daubney

Re: Aardvark 1.5 - Aquarium - RELEASED

by Todd Almarez -

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?

 

In reply to Todd Almarez

Re: Aardvark 1.5 - Aquarium - RELEASED

by Todd Almarez -

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.

In reply to Shaun Daubney

Re: Aardvark 1.5 - Aquarium - right sidebar

by Tammy Moore -

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.

Attachment Right sidebar question.PNG
In reply to Tammy Moore

Re: Aardvark 1.5 - Aquarium - right sidebar

by Mary Evans -
Picture of Core developers Picture of Documentation writers Picture of Peer reviewers Picture of Plugin developers Picture of Testers

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

In reply to Mary Evans

Re: Aardvark 1.5 - Aquarium - right sidebar

by Tammy Moore -

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/

In reply to Tammy Moore

Re: Aardvark 1.5 - Aquarium - right sidebar

by Mary Evans -
Picture of Core developers Picture of Documentation writers Picture of Peer reviewers Picture of Plugin developers Picture of Testers

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

In reply to Shaun Daubney

Re: Aardvark 1.5 - Aquarium - RELEASED

by Joe Deegan -

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?

In reply to Joe Deegan

Re: Aardvark 1.5 - Aquarium - RELEASED

by Mary Evans -
Picture of Core developers Picture of Documentation writers Picture of Peer reviewers Picture of Plugin developers Picture of Testers

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

Cheers

Mary

In reply to Shaun Daubney

Re: Aardvark 1.5 - Aquarium - RELEASED

by Joe Deegan -

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?

In reply to Joe Deegan

Re: Aardvark 1.5 - Aquarium - RELEASED

by Mary Evans -
Picture of Core developers Picture of Documentation writers Picture of Peer reviewers Picture of Plugin developers Picture of Testers

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;
In reply to Joe Deegan

Re: Aardvark 1.5 - Aquarium - RELEASED

by Richard Oelmann -
Picture of Core developers Picture of Plugin developers Picture of Testers

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

In reply to Joe Deegan

Re: Aardvark 1.5 - Aquarium - RELEASED

by Mary Evans -
Picture of Core developers Picture of Documentation writers Picture of Peer reviewers Picture of Plugin developers Picture of Testers

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...

In reply to Mary Evans

Re: Aardvark 1.5 - Aquarium - RELEASED

by Joe Deegan -

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

In reply to Shaun Daubney

Re: Aardvark 1.5 - Aquarium - RELEASED

by Joe Deegan -

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.

In reply to Joe Deegan

Re: Aardvark 1.5 - Aquarium - RELEASED

by Mary Evans -
Picture of Core developers Picture of Documentation writers Picture of Peer reviewers Picture of Plugin developers Picture of Testers

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

In reply to Mary Evans

Re: Aardvark 1.5 - Aquarium - RELEASED

by Joe Deegan -

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;
}

In reply to Joe Deegan

Re: Aardvark 1.5 - Aquarium - RELEASED

by Mary Evans -
Picture of Core developers Picture of Documentation writers Picture of Peer reviewers Picture of Plugin developers Picture of Testers

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

In reply to Mary Evans

Re: Aardvark 1.5 - Aquarium - RELEASED

by Joe Deegan -

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;
}

In reply to Joe Deegan

Re: Aardvark 1.5 - Aquarium - RELEASED

by Mary Evans -
Picture of Core developers Picture of Documentation writers Picture of Peer reviewers Picture of Plugin developers Picture of Testers

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

In reply to Mary Evans

Re: Aardvark 1.5 - Aquarium - RELEASED

by Joe Deegan -

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

In reply to Joe Deegan

Re: Aardvark 1.5 - Aquarium - RELEASED

by Mary Evans -
Picture of Core developers Picture of Documentation writers Picture of Peer reviewers Picture of Plugin developers Picture of Testers
In reply to Mary Evans

Re: Aardvark 1.5 - Aquarium - RELEASED

by Alberto Domínguez García -

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

In reply to Alberto Domínguez García

Re: Aardvark 1.5 - Aquarium - RELEASED

by Richard Oelmann -
Picture of Core developers Picture of Plugin developers Picture of Testers

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)
In reply to Alberto Domínguez García

Re: Aardvark 1.5 - Aquarium - RELEASED

by Mary Evans -
Picture of Core developers Picture of Documentation writers Picture of Peer reviewers Picture of Plugin developers Picture of Testers

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)
In reply to Mary Evans

Re: Aardvark 1.5 - Aquarium - RELEASED

by Alberto Domínguez García -

 

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

Thanks for your reply Richard and Mary

In reply to Alberto Domínguez García

Re: Aardvark 1.5 - Aquarium - RELEASED

by Mary Evans -
Picture of Core developers Picture of Documentation writers Picture of Peer reviewers Picture of Plugin developers Picture of Testers

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)
In reply to Shaun Daubney

IE 9

by Abraham Domínguez -

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?

In reply to Abraham Domínguez

Re: IE 9

by Mary Evans -
Picture of Core developers Picture of Documentation writers Picture of Peer reviewers Picture of Plugin developers Picture of Testers

Please check you are viewing IE9 in the correct mode.

In IE9 click F12 (function key)

Here you will see the following...

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

In reply to Mary Evans

Re: IE 9

by Abraham Domínguez -

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

In reply to Mary Evans

Re: IE 9

by Abraham Domínguez -

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

In reply to Abraham Domínguez

Re: IE 9

by Mary Evans -
Picture of Core developers Picture of Documentation writers Picture of Peer reviewers Picture of Plugin developers Picture of Testers

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

In reply to Shaun Daubney

Re: Moodle 1.9 - Aardvark 1.5 - Aquarium - RELEASED

by Mary Evans -
Picture of Core developers Picture of Documentation writers Picture of Peer reviewers Picture of Plugin developers Picture of Testers

Another Aardvark Theme clocked up 300