Note: You are currently viewing documentation for Moodle 3.7. Up-to-date documentation for the latest stable version of Moodle may be available here: Theme:Aardvark.

Theme:Aardvark: Difference between revisions

From MoodleDocs
 
Line 8: Line 8:
*Pro 1.3 (I♥YUI) - Released [[http://moodle.org/mod/data/view.php?d=26&rid=3850 Download V 1.3]]
*Pro 1.3 (I♥YUI) - Released [[http://moodle.org/mod/data/view.php?d=26&rid=3850 Download V 1.3]]


==FAQ==
==FAQ V1.5==


===How do you include the stars and 'New' in the YUI menu?===
===How do you include the stars and 'New' in the YUI menu?===

Latest revision as of 11:30, 13 August 2010

A page to support Ardvaark

Aardvark is a great theme, maybe called Aardvark to get to the top of an alphabetic listing, We don't know. Totally unofficial pages. Just centralising some of the information.

Versions

Main Discussion Thread: [1]

FAQ V1.5

How do you include the stars and 'New' in the YUI menu?

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="http://www.pdhpe.org/file.php/1/images/menu_bar/profile.png" 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

From this forum post See this page for the colouring.


Just upload the images wanted in your menubar to the Front Page Site files, probably not the best place but it works....... this was just an easy work around.

Visit http://www.pdhpe.org to see how the menu bar looks.

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?

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.

From Forum Post