How To / General

use more than one time course module

  • saman سامان
  • Topic Author
  • Offline
  • Elite Member
  • Elite Member
  • samansamani2[at]yahoo.com
More
7 years 6 months ago #1 by saman سامان
use more than one time course module was created by saman سامان
hi,
i want use joomdle courses module to show some different course in some deifferent box in my home page. for example i want shoe 3 course in box 1 and 5 course in box 2 and 6 course in box 3. by this way joomdle want to use curl 3 time in my home page to get course list from moodle, and my home speed will low speed. is there any way when we use 3 time course module , then joomdle run one time curl. some thing such as require_once for include file in php but we need in joomla for multi modules that uses one curl request. infact we need a way to prevent more than one time similar curl in my page.

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

More
7 years 6 months ago #2 by Antonio Durán
Replied by Antonio Durán on topic use more than one time course module
Currently there is no way to do what you want, as modules are independent.

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

  • saman سامان
  • Topic Author
  • Offline
  • Elite Member
  • Elite Member
  • samansamani2[at]yahoo.com
More
7 years 6 months ago #3 by saman سامان
Replied by saman سامان on topic use more than one time course module
thank you Antonio and i search for better speed result when we want use several joomdle course module and i find that we can use ajax and worry about compatible with joomdle but the good news is it can be done by :
gruz.ml/en/extensions/ajaxmoduleloader.html#general-information
or
gruz.ml/en/about-joomla/25-faq/50-joomla...dopomogoju-ajax.html
and it is work for me..maybe some user in the future want to use several joomdle module and have speed problem in his site. he can show his module via ajax. in this way in the first your site show and after load structure of page then ajax activate and ger course list from moodle or something else. it is better than stay 10 or 20 sec waiting for loading page...i don't test more and it seems work correctly but if other users find problem please report. also that plugin that i use that not in the JED maybe has a security problem. what is your idea Antonio?

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

More
7 years 6 months ago #4 by Antonio Durán
Replied by Antonio Durán on topic use more than one time course module
Good idea. Thanks for the tip, so other users can use it.

> also that plugin that i use that not in the JED maybe has a security problem.

I don't know about that.

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

  • saman سامان
  • Topic Author
  • Offline
  • Elite Member
  • Elite Member
  • samansamani2[at]yahoo.com
More
7 years 6 months ago #5 by saman سامان
Replied by saman سامان on topic use more than one time course module
when you want give me karma or press thank you button? ;)

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

More
7 years 6 months ago #6 by Antonio Durán
Replied by Antonio Durán on topic use more than one time course module
Hi, sorry about that, but we were not really using those, so I have now disable the options in the forum.

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