Generico and showing the course category

Generico and showing the course category

by Gemma Lesterhuis -
Number of replies: 2
Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers

Hello, 

I am struggling abit with Generico. 

I am this far that I have by using @@Course:Category@@ that it shows the idnumber of the category that the course is in, but I actually want Generico to show the name of the Category instead. 


I have been reading up on the dataset and dataset variables but I keep struggling with it. 


Thank you. 


Gemma 

Average of ratings: -
In reply to Gemma Lesterhuis

Re: Generico and showing the course category

by Justin Hunt -
Picture of Particularly helpful Moodlers Picture of Plugin developers

Hi Gemma

Does the attached bundle work for you?

{GENERICO:type=hellocategory}

should be replaced with a message about the current category

J

In reply to Justin Hunt

Re: Generico and showing the course category

by Gemma Lesterhuis -
Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers

Hello Justin,


Thanks alot for looking at it. Yes it worked perfectly. 

And it gives me a nice example on how to work with Dataset and Datavariables.


Gemma