Feature Requests

Please do NOT use this section of the forum to request help if Joomdle does not work for you in some particular way. Your post will be deleted.

[Closed] My Courses Module

  • Mike Sturmey
  • Topic Author
  • Offline
  • New Member
  • New Member
More
14 years 2 months ago - 13 years 11 months ago #1 by Mike Sturmey
[Closed] My Courses Module was created by Mike Sturmey
Hi,

I want to use the "My Courses" module, however, although I have entered in some default text - "You currently have no online courses" in the configuration section of the component, the module displays no text at all but it is displayed on the "My Courses" menu page. Is there a way of displaying this default text in the module rather than the module being displayed with no information?

regards

Mike
Last edit: 13 years 11 months ago by Chris.

Please Log in or Create an account to join the conversation.

More
14 years 2 months ago - 14 years 2 months ago #2 by Chris
Replied by Chris on topic Re: My Courses Module
Hi Mike

Forgive me if I seem a little confused. There are two "My Courses" in Joomdle. The My Courses Module and the Component View. The Joomdle configuration which allows you to enter text is for the Component View which you would hook up through a Menu item. When displaying the view, if you do not have any courses, you will see the words entered.

If you are using the Module, this doesn't take the information from the Component Configuration - although this is not a bad idea. Thus you will end up with a blank Module - agree this is not so nice. There are a few ways to resolve this:
- Hack the module to take the text from the configuration.
- Use a tool like Metamod so that the module is only shown when the user has courses.
- Always have at least one course which is open to everybody. This could be a learn about this site course, a free course that up sells to the full courses, a intro / instructions course.

I'll put this down as a features request including the use of language files instead of the configuration too.

Move to New Feature Request

Chris
Last edit: 14 years 2 months ago by Chris.

Please Log in or Create an account to join the conversation.

  • Mike Sturmey
  • Topic Author
  • Offline
  • New Member
  • New Member
More
14 years 2 months ago #3 by Mike Sturmey
Replied by Mike Sturmey on topic Re: My Courses Module
Hi Chris,

I am not much of a PHP editor (at all) - I would be happy to hard code the module to default to a line of text I add rather than looking at getting it from the component - can you advise what I should add?

regards
Mike

Please Log in or Create an account to join the conversation.

More
13 years 11 months ago #4 by Antonio Durán
Replied by Antonio Durán on topic Re: My Courses Module
Added for R0.8

Please Log in or Create an account to join the conversation.

More
10 years 8 months ago #5 by Bruce Rick
Replied by Bruce Rick on topic Re: My Courses Module
How would you modify the CSS for this message? Right now it just drops right in the page without a heading or anything else. It would be great if this field in the menu could handle HTML tags or something so you have some control of it, or even if it just got output with a span tag with a class name on it so you could modify the look a bit.

Thanks,
Bruce Rick

Please Log in or Create an account to join the conversation.

More
10 years 8 months ago #6 by Antonio Durán
Replied by Antonio Durán on topic Re: My Courses Module
You can create a template override and modify HTML there.

I will put it in my TODO list for next release: put message inside span tag.

Please Log in or Create an account to join the conversation.