courses on front page

courses on front page

wót Donna Morris -
Anzahl Antworten: 8

Hi, I am trying to figure out how to prevent everyone from seeing the courses on the front page? I only want to show the category and not the courses. I tried the front page settings- Category listings but it showed both categories and courses. I tried Course listings and it only showed courses, which is exactly what I want but in Category format. Any help on this would be great? Is there any custom css I could use or something I am missing?


theme I am using is 2.8.1


Thanks

Als Antwort auf Donna Morris

Re: courses on front page

wót Gareth J Barnard -
Nutzerbild von Core developers Nutzerbild von Particularly helpful Moodlers Nutzerbild von Plugin developers

Try setting the front page setting 'frontpagecourselimit' to '0' and having only category listing.

Als Antwort auf Gareth J Barnard

Re: courses on front page

wót Donna Morris -

Hi Gareth, that did not work. I think the problem might be that I provide a link to see the categories via a button rather than the courses actually being displayed on the front page. Any help with that?

Als Antwort auf Donna Morris

Re: courses on front page

wót Donna Morris -

also- i realized just now that the link is a page within my site and now i have a block displaying on it as well. The feedback block that i set to display throughout entire site. 

Als Antwort auf Donna Morris

Re: courses on front page

wót Gareth J Barnard -
Nutzerbild von Core developers Nutzerbild von Particularly helpful Moodlers Nutzerbild von Plugin developers

To be fair, I can only really comment on how Moodle is set-up from core rather than bespoke installations unless I have access to the site to investigate.  But then that would be bespoke work for me so not something I would do for nothing.

Als Antwort auf Gareth J Barnard

Re: courses on front page

wót Donna Morris -

Okay- well thank you

Als Antwort auf Donna Morris

Re: courses on front page

wót Colin Fraser -
Nutzerbild von Documentation writers Nutzerbild von Testers

Simple things first...

You turned "Front Page" and "Front page items when logged in" to "NONE" in all options? Then log out?

Did you clear your cache?  Then log back in and reset to "List all categories"? 

Clearing the cache often helps with Moodle... 

I have always turned these off, they are ugly, and replaced it with a label that contains a table with a set of captioned icons that visually indicate the category listings. Much prettier...lächelnd

Als Antwort auf Colin Fraser

Re: courses on front page

wót Donna Morris -

Hi Colin, so sorry for the delay been busy with moodling lol. I actually use the theme More and the custom css for the orange school so there is a button people can click to see the categories. Now, it looks okay, and I have adjusted to non logged in users being able to see the courses. However, a problem I do have is that I want to be able to make particular courses hidden from non logged 'visitors', but still viewable to my logged in users.


Any suggestions?

Thanks

Als Antwort auf Donna Morris

Re: courses on front page

wót Colin Fraser -
Nutzerbild von Documentation writers Nutzerbild von Testers

mmm that is a permissions issue... and giving logged in users the capability of viewing hidden courses could have a wider implication further into Moodle so that is not a desirable outcome. However, with a little playing around... 

In the Front Page Settings there are two options, one for what you want people to see when they visit your page and one that they see after they have logged in. What you might want to do is to create a list of courses you want people to see when visiting, put them into a label to be displayed at the Front Page. When logged in, turn that label off, which can be set in the Front Page Settings, and have a course listing instead, that should take care of that issue without having to change the permissions. Please be aware, I have not tried anything like this, mainly because I never put a course listing on the front page anyway. Since figuring it out, I have only used a label with a table full of icons to visually link the user to the category pages. What I am proposing above though, should work, or it might be more accurate to say I can't think of any clearly discernible reason why it shouldn't. The Front Page Tips and Tricks section might help as well. Anyway, good luck.... and let us know if it does work. Cheers