I recently worked for a client in the food service that wanted users to view a quick overview of their company and complete a couple training exercises. So we setup a Moodle course with about 10 activities and 5 videos in the course the student had to complete. The intended time frame for completion was about 10 minutes or less.
The client asked for a streamlined user experience, eliminating confirmation screens and backtracking to the main course page. So in effect, the user could flow seamlessly between each consecutive activity in the course.
THE SOLUTION
The easiest solution for a new navigation between activities would be a new, custom course format. This would allow me to make custom changes without messing with core Moodle code. So the first thing I did was to build my new course format off of a classic: the Topics format.
- Go into the moodle source code to: moodle/course/format/
- Copy the "topics" folder and rename it to something else. I chose to name mine "simplenav"
Open up the course format folder you just renamed. Let's start at the top and work our way down.
Lang Folder
- Open the lang folder and navigate to the only file in there: format_(formatname).php. Rename this file using the new name you picked out like this: format_simplenav.php
- Open the file with a text editor, like Notepad++
- Let's rename some of the strings in there, so it matches our "simplenav" plugin. Here is an example:
$string['pluginname'] = 'Simple Navigation format'; $string['page-course-view-simplenav'] = 'Any course main page in simplenav format'; $string['page-course-view-simplenav-x'] = 'Any course page in simplenav format';
- Open this file in a text editor. You only need to change two lines.
- Search for the keyword "topics," since that is the format name we'll be replacing.
- Near the end of the file, find these line and update it:
- $renderer = $PAGE->get_renderer('format_simplenav');
- $PAGE->requires->js('/course/format/simplenav/format.js');
- Open this file in a text editor. Search for the keyword "topics"
- The first change is the class name, at the top of the file:
- class format_simplenav extends format_base {
- Continue to search and replace.
This is the same process. Make sure you rename the class at the top of the file:
class format_simplenav_renderer extends format_section_renderer_base {
css.php
Same thing again. Re-name all the css classes from "topics" to "simple nav like this:
.course-content ul.simplenav {margin:0;} .course-content ul.simplenav li.section {list-style: none;margin:0 0 5px 0;padding:0;} .course-content ul.simplenav li.section .content {margin:0 40px;}
version.php
You only need to change the last line:.
$plugin->component = 'format_simplenav';
INSTALLATION
Now that everything has been copied and renamed properly, it can be installed within moodle.
- Login to your site as the Administrator. You should be automatically redirected to a new page, where you must install updates within your site.
- If you are not automatically redirected, go to the Site Administration block, and click on "Notifications."
- You will be redirected to a page to update your site – the new “simplenav” course format will appear. Update your site to move forward.
We need to change the settings of our course to enable our
new format.
- Login to the Moodle website as an Administrator or Teacher.
- Go into your course and go to “Course Administration > Edit Settings.”
- Open up the “Course Format” section. If the simplenav format installed correctly, you’ll have a new option called “Simple Navigation.” Click on that one
Everything is ready to start customizing and using your new, custom course format! In the next blog post, we'll talk about the changes we need to make to have a linear activity flow.
This comment has been removed by the author.
ReplyDeleteVyvanse Products Online.
ReplyDeleteLipitor Online.
LSD Online.
Vyvanse Products Online.
ReplyDeleteLipitor Online.
LSD Online.
Vyvanse Products Online.
ReplyDeleteLipitor Online.
LSD Online.
Tahoe OG Cannabis Oil.
ReplyDeleteTahoe OG Cannabis Oil.
ReplyDeleteTahoe OG Cannabis Oil.
ReplyDeletehanks for sharing such informative peice of work ,Welcome to our for Pinball machines ,At pinball machine for sale, we love fixing, customizing and selling all types pinball machine and have been doing it for over 20 years. With all the innovation and new pinball companies starting up, it’s great that we’re in the epicenter of pinball world, Chicago, buy high quality japanese used car tyres. Pinball machine manufacturers have been forming in Chicago from the earliest days of pinball. That’s probably why we’re able to find great vintage pinballs tor refurbish! Buy pinball machines online such as antique pinball machine,refurbished pinball machines ,stern pinball machine and many more.
ReplyDeletes
ReplyDeleteThanks for sharing such informative peice of work ,Welcome to Glock Store ,a Discreet online depot where you can buy firearms and ammunition , Buy guns online ,
buy ammo discreetly without monotonous deocumentations and ship to your prefered location with no hassle.We are FFL Dealers and stricktly follow the Regulations of the Gun Control Act(GCA).Purchasing Fireamrs and Ammunition online with caution has always been a long process of paperwork because of the inter/Intra state Laws controlling the buying and distribution.At Glock store online shop we cut the Gordian knot and deliver to your location with no hassle.We have a wide range of firearms and ammunition for sale ,buy Ammo such as shotguns,Long guns,Magazines, Optics and accesories which include Century Arms,Kel-Tec,
Ruger,
AR15,
AK47,.Despite the perusal increase in surounding firearms,we issue uncomplicated paths to acquire Firearms for individual and or Family security.If you have ever asked yourself
how to buy guns and ammunition online with ease and,safety then your question is answered once you are here.All you have to do is choose your firearms, optic, magazine,accessories and add to cart then proceed to check out. READ MORE on how to buy guns and ammunition online discreet.
Pain management, pain medicine,buy weed strains online and buy research chemicals, pain control or algiatry, is a branch of medicine employing an interdisciplinary approach for easing the suffering and improving the quality of life of those living with chronic pain,
buy lipitor
You can also buy weed online, buy cbd oil
dank vapes are the best brand of vape cartridges in the market. These dank vapes cartridges have however suffered a backlash in the recent weeks with multiple reports on how these dank vapes carts cause cancer and other related lung disease.
ReplyDeletedank vapes cart however remain one of the best cartridges. dank vapes are sold in multiple states over the USA. dank vapes cart compost one of the black markets finest vape products. But this backlash has caused a fall in the consumption of the vape by adults.The 710 Kingpen brand is also on the rise in market demands as well as skywalker OG products.
Recently juul pods also faced a similar backlash. juul starter kits have also fallen in market demand. mango juul pods are refillable juul pods and can be gotten as juul pods bulk. juul skins and juul accessories all come with the juul kits.
buy juul online at cheap prices buy cocaine online
buy Keytruda online and other cancer medications such as buy avastin online , buy Herceptin online
jungle boys , buy weed online
ReplyDeletelovely site get you purest research chemicals online and pills at cheap and in a 48 hours delivery time maximum
buy pills online
buy fentanyl powder online
buy scopolamine powder online
FULL GRAM DANK VAPES
ReplyDeleteBuying Dank vapes Note that, first things first, and our first red flag, comes beside to how much the price varies depending almost where you are. In authentic states get your dank vapes at https://fullgramdankvapes.com/ . Also ,you can pick occurring Dank vapes cartridges for as low as $25-30 and even as little as $40 in those yet enforcing weed prohibition. No situation how you see at it thats seriously undercutting the rival, and no doubt one of the reasons astern the recent surge in the brands popularity. vapes dank cartridges has beyond 20,000 partners as regards Instagram, vapes dank carts may be known as pre-loaded cannabis oil vape cartridgesthats sufficient to name its own report. Get your authentic vapes from FULL GRAM DANK VAPES
Call or Text US +1 (669) 221-4197
VAPE CARTS SHOP
Buy Best selling Vape Carts Online, Cannabis vaporization is growing in popularity among people interested in consuming cannabis in an easy, dank vapes discreet manner that’s healthier than traditional smoking methods. Both flower and concentrates can be vaporized using a wide range of devices.Get you full gram dank vapes cartridges at https://vapecartsshop.net/ Taking the lead among the ever growing list of vape cartridges is the the dank vapes cartridges for good reason. The leading benefit for vaping weed using Vape dank carts is that it’s a healthier alternative to smoking flower, as vapor doesn’t release the tar and carcinogens created during combustion (the process of burning flower). Instead, vaping Dank vapes carts entails a slightly more complex process that creates a phase transition from liquid to vapor which makes it authentic, Get your authentic dank vapes cartridges from VAPE CARTS SHOP
Call or text US + 1 (515) 989 – 1212
We are a fully licensed, Limits & Liability Corporation dedicated to raising happy and healthy exotic birds. Species we raise include Bare Eye Cockatoos, Black Palm Cockatoos, Citron Crested Cockatoos, Ducorp Cockatoos, Eleanora Cockatoos, Goffin Cockatoos, Greater Sulpher Crested Cockatoos, Lesser Sulpher Crested Cockatoos, Major Mitchell Cockatoos, Moluccan Cockatoos, Red-Tailed Black Cockatoos, Rose Breasted Cockatoos, Umbrella Cockatoos. All of our baby Cockatoos are abundance weaned, allowed to fully fledge, and are well socialized with other birds and humans. We offer a guarantee on the health of our babies.
ReplyDeleteVisit our site for more info
munchkin cat for sale
munchkin kittens for sale
munchkin kittens
munchkin kitten
Dank vapes Cartridges
Dank vapes
Cockatoos for Sale
Umbrella Cockatoos for Sale
Bare Eye Cockatoos for Sale
Black Palm Cockatoos for Sale
Citron Crested Cockatoos for Sale
Cockatoos for sale
Red Tailed Black Cockatoos for Sale
Rose Breasted Cockatoos for Sale
Sulpher Crested Cockatoos for Sale
Dank Catridges
Dank vapes
dank vape flavors
Dank vapes
Tack Köp legit piller online i sverige på Mundi Apotek
ReplyDeleteTack Köp legit piller online i sverige på Scandinavia Apotek
Tack Köp legit piller online i sverige på battrehalsa-apotek
Welcome to Buy CBD Oil Center, where you can find the best cbd oil related products such as cbd isolate, cbd gummies and many more, from the most trusted cbd oil online distributor.
ReplyDeletebuy cbd oil spain
buy cbd oil online canada
places to buy cbd oil near me
cbd hemp oil buy online
can you buy cbd oil in florida
where to buy pure cbd oil
buy pure cbd oil
how to buy cbd oil
buy cbd oil for vape pen
buy cbd oil near me
This comment has been removed by the author.
ReplyDeleteBuy counterfeit online Docs and Counterfeits
ReplyDeleteBuy weed online Mister Cannabis Online
Thankѕ for another informative website. Where else may I get that type of information written in such an ideal means? Ӏ have a miѕsion that I'm just now working on, and I've been at the glance out for such info.
ReplyDeleteLong Guns for Sale Online
https://k2incenseonlineheadshop.com/
ReplyDeleteinfo@k2incenseonlineheadshop.com
k2incenseonlineheadshop Buy liquid incense cheap Buy liquid incense cheap For Sale At The Best Incense Online Shop
ReplyDeleteI have joined your rss feed and look forward to webcare
seeking more of your great post.
Also, I have shared your site in my social networks!
I’m starting a blog soon but have no coding knowledge so I wanted to get guidance from someone with experience. Fire Alarm Control Panel Price in Pakistan
ReplyDelete
ReplyDeletehttps://buydocumentation.com/
Buy Driver’s License online, US driver license, drivers license renewal ca WhatsApp +1 (925) 526-5453
Here at Buy Documentation, you can buy fake documents at a fraction of a cost. We keep our prices low to meet the needs of all our customers. We provide Best Quality Novelty Real and Fake IDs and Passport, Marriage Certificates and Drivers license online
https://buydocumentation.com/canada-visa/
https://buydocumentation.com/buy-real-drivers-license/
https://buydocumentation.com/buy-real-id-cards/
https://buydocumentation.com/social-security-number-ssn/
This blog looks just like my old one! It's оn a totally different subject but it has pretty much the same layout and design. Great choice of colours!
ReplyDeleteAerosmith Pro Pinball Machine
While the whole plant produces THC and cannabinoids, cannabis typically smoke the flowers to get high. Different names for different consumable from of marijuana have sprouted from various regions and age groups on top of that there are scores of slang words that have evolved over the years. Below you can learn about all of the different strains we've come across to date.
ReplyDeletecanna cavi moon rocks
ice moonrock
moonrock pre rolled joints
animal gas for sale
gelato #33
buy super lemon haze cannabis oil
bichon frise dog
dankwoods pre roll
dankwoods for sell
pre rolls for sale
teacup poodle puppies for sale near me
sour gushers
raw garden live resin
shrooms for sale
mushroom for sale
stiiizy gelato
choice carts
krt carts
oneup
bicons puppies near me
jungle boys
trufflez
zushi
frosted flakes
ice cream cake
pineapple express
white widow
Shop
ReplyDeleteCodeine phosphate 15 mg Tablets
PHOSPHATESTramadol 50mg
Silver Liquid MercurySSD Chemical Solution
Buy Blue Punisher 274mg MDMA
Buy Ethylone Crystal
Buy MDMA Online
PV8-Crystal
Buy Crystal Meth Online
Buy Anesket Online
Buy Nembutal Powder
Pink and Purple Skype MDMA
Buy Blue Toyotas online
Donkey Kong 453mg MDMA
Buy Morning Glory Seeds
Buy kratom Packs Online
Buy MDMA Pills Online
Shop
ReplyDeleteCANNABIS DISPENSARY GOALS
We are the most legit cannabis dispensary with both wholesale and retail weed for sale. Marijuana extract and thc cartridges are also available. We deliver in almost all states in the US and Puerto Rico. We are available in Canada, UK, USA, South America, Europe and Australia
Buy Krt Carts Online
Buy Pluto Strain Online
Buy Sweet Tea Online
Buy White Runtz Sungrown Online
Buy Banana Kush Online
Buy Bubbleberry Strain Online
Buy Pink Panther Online
Buy White Runtz
Packwoods x gashouse Tear gas
https://cookieswood.com/shop/
My spouse and I absolutely love your blog and find most of your post's to
ReplyDeletebe precisely what I'm looking for. Does one offer guest writers to write content for you?
I wouldn't mind creating a post or elaborating on a few of the subjects you write related
to here. Again, awesome site!
Buy Blueberry Kush Online
Buy Wedding Crashers Jungleboys
Buy Jungle cake Jungleboys
Buy Banana Runtz online
Buy Sharklato Runtz
Buy Ether Runtz Online
Buy Whole lotta Runtz
Buy MoneyBagg Runtz
Buy White fire Jungleboys
Buy Afghan Hawaiian Strain Online
Buy Strawberry Shortcake Jungleboys
Buy Motor Breath Jungleboys
Buy Sunset Sherbert Jungleboys
Buy White Wookies Jungleboys
Buy Dr zodiak’s Moonrock
Buy Moonrocks Online
Buy Afghan Hawaiian Strain Online
Buy Girl Scout Cookies kush
Buy master bubba kush Online
Buy Buy OG Kush
Buy Fire OG Kush Online
Buy Moon Rock kush
Buy Pink Sandy Weed
Buy Pink Sandy Weed
Buy Blue widow online
Buy Levels Strain Online
Buy Yellow Zushi Weed
Buy OG Kush Online
Buy Afghan Hawaiian Strain Online
Buy Girl Scout Cookies kush
Buy master bubba kush Online
Buy Buy OG Kush
Buy Fire OG Kush Online
Buy Moon Rock kush
Buy Pink Sandy Weed
Buy Pink Sandy Weed
Buy Blue widow online
Buy Levels Strain Online
Buy Yellow Zushi Weed
Buy OG Kush Online