Introduction

Courses, Education & Culture, Coding & Scripts Integration

Native Joomla 4 / Joomla 5 PHP library for working with the Moodle REST API.


How to use Moodle connetction library in Joomla

Install and configure Moodle and Joomla

  • Install a JMoodle library in Joomla
  • Go to your Moodle and create token for Joomla
  • Set this token to JMoodle library in system plugin settings

How to create a Moodle web services token for Joomla

To get a token, follow these steps:
- Create a special user in Moodle, on whose behalf Joomla will act in Moodle and access the REST API methods. Administration / Users / Accounts / Add User. Do not appoint this user as the site administrator.
- Create a role for a special Moodle user and assign her the necessary access rights in Administration / Users / Rights / Define roles. The presence or absence of accesses in this section (role context and rights) will affect the work with some REST API methods. The access rights required for the methods are visible at the stage of adding functions for the web service.
- Create an External service in Administration / Server / Web Services / External Services.
- After creating an external service from the list of external services, go to the functions of the created service and add the REST API methods necessary for the integration to work. Add the corewebservicegetsiteinfo method in order to see in Joomla that the integration really works, as well as a list of methods available for the REST API.
- Create a token in Administration / Server / Web Services / Tokens for a specially created user from under whom Joomla will access the REST API.

If you have done everything correctly, you will see a list of available Moodle REST API methods in your Joomla

How to make a request to Moodle webservices from Joomla via REST API?

```
use WebtolkJMoodleJMoodle;

$moodle = new JMoodle();

/**
* Request method.
*
* @param string $method Moodle REST API method
* @param array $data data for Moodle REST API method
*
* @return array
*/
$result_jmoodle = $moodle->request('core_webservice_get_site_info');
```
More info on docs page or GitHub

GitHub

https://github.com/WebTolk/WT-JMoodle-library

WT JoomShopping Bitrix24 PRO
Free

WT JoomShopping Bitrix24 PRO

By Sergey Tolkachyov
CRM bridges
Two-way integration plugin allows you to send JoomShopping order data to Bitrix24 CRM and change the order statuses in JoomShopping, depending on the stage of the lead or transaction in Bitrix 24. Features 18 standard Bitrix24 fields, 36 JoomShopping fields Sending data to user fields Bitrix24 (UFCRM) (for example, coupon codes, cost and delivery method, packaging margins, etc.) Combining multi...
SWJProjects
Free

SWJProjects

By Sergey Tolkachyov
Content Construction
Digital projects manager for Joomla! CMS™ Features Digital Projects Catalog Component provides the creation and operation of digital projects catalog, your own Joomla Extensions Directory, provides the ability of downloads and any more. Your own update server for your Joomla extensions You can enable an update server for each of your Joomla extensions, and your clients will receive updates...
WT JSwiper
Free

WT JSwiper

By Sergey Tolkachyov
Libraries
This plugin is for Joomla developers. The plugin registers Swiper.js package (https://swiperjs.com/) in Joomla Web Assets Manager. Then you can use it in your extensions. Plugin for Joomla developers. It allows you to use Swiper.js anywhere in Joomla 4: in modules, components, plugins. To do this in your code, use $wa = Factory::getApplication()->getDocument()->getWebAssetManager(); $wa-&g...
Blank page
Free

Blank page

By Sergey Tolkachyov
Page Background
All that this component does is display a blank page on the site that is attached to a menu item. What is this for? In order to attach empty output to the page, which does not create a load on either requests or rendering. Most often, this is required on the main page of the site or on special landing pages. By default in Joomla, the favorited articles are attached to the main page. Few people...
WT Content Image gallery
Free

WT Content Image gallery

By Sergey Tolkachyov
Galleries
WT Content Image Gallery for Joomla Image gallery plugins package for insertion into Joomla articles and modules, as well as wherever the content group plugins work. Create your own image gallery layouts. More info on developer site Shortcode {gallery}...{/gallery} - layout default {gallery tmpl=tmplname}...{/gallery} - layout tmplName.php in plugins/content/wtcontentimagegallery/tmpl Insertin...
JLSitemap - SWJProjects
Free

JLSitemap - SWJProjects

By Sergey Tolkachyov
Site Map
Plugin for integrating JLSitemap and SWJProjects Features Adding to the sitemap The plugin adds links to the following views to the sitemap: * Project List * Project * Version list * Version Sitemap Exceptions The plugin will exclude display from the sitemap based on the following params: * View «Joomla Update Server" * View «Download" * Item is not published or trashed * Set to noindex in...
Bootstrap4 Toast
Free

Bootstrap4 Toast

By Sergey Tolkachyov
Popups & iFrames
Bootstrap 4 single toast-notification module. You can place any text into it. Use it as a cookie alert or for tooltip for your visitors. There is the reading confirmation button in frontend. By pressing this button you can hide notification for this module for 1 year or other period as you want. Enable or disable autohide and set delay before module showing, set time for reading. This type of not...
WT Bootstrap image slider
Free

WT Bootstrap image slider

By Sergey Tolkachyov
Rotators
WT-Bootstrap-image-slider Joomla 3, Joomla 4, Joomla 5 Bootstrap carousel image and content slider. Bootstrap 4 and Bootstrap 5 support. Adaptive images in the image carousel. Features All the features of the slider come only from Bootstrap. - Unlimited number of images - Control settings (arrows, indicators) - Crossfade effect (since Bootstrap 4.1) - Display time settings for all slides or for...
WT Yandex.Checkout donate
Free

WT Yandex.Checkout donate

By Sergey Tolkachyov
Donations
A free module for CMS Joomla that allows you to accept donations using the Yandex.Checkout payment aggregator - https://checkout.yandex.com. Features Specify the recommended donation amount and free Text before the donation form Purpose donation - create an unlimited list Note to the donation sent to the email along with information about the payment. The payment is made on the Yandex.Checkout...
WT Virtuemart Bitrix24
Free

WT Virtuemart Bitrix24

By Sergey Tolkachyov
CRM bridges
Features Modern Joomla architecture. It will work on Joomla 6 too 17 standard Bitrix24 fields, 48 Virtuemart data types Sending data to user fields Bitrix24 (UFCRM) (for example, coupon codes, cost and delivery method, packaging margins, etc.). Data from these fields can be used for automatic insertion into documents. Combining multiple Virtuemart fields into a single Bitrix24 field. Adding prod...
WT JoomShopping Favorite
Free

WT JoomShopping Favorite

By Sergey Tolkachyov
JoomShopping extensions
WT JoomShopping Favorites is an alternative wish list (favorite products) for JoomShopping. The functionality of favorite products is implemented using cookies. As standard, the JoomShopping wish list button is displayed only in the single product view. There is no in the products list. When using various hacks to add a wish list button to the product category view, the button redirects to the pro...
WT Jshopping SW JProjects
Free

WT Jshopping SW JProjects

By Sergey Tolkachyov
Extension Specific
The plugin automatically generates license keys at the JoomShopping order completion stage and displays the keys on the order details page. You will need this if you want to sell extensions for Joomla using JoomShopping, and the update server is based on SW JProjects. Settings 1. Product Characteristics "SW JProjects project's Id " for JoomShopping Go to: Components - JoomShopping - Options - P...
WT Articles anywhere with fields
Free

WT Articles anywhere with fields

By Sergey Tolkachyov
News Display
Joomla content plugin (+ editor button plugin), which allows you to insert information from articles and custom fields in any place where content plugins work using a short code. It is possible (and even necessary) for the plugin to create its own output layouts, which you specify in the short code. This plugin is useful for linking site pages to Joomla. For example, you created a store on one of...
WT SEO Meta templates
Free

WT SEO Meta templates

By Sergey Tolkachyov
SEO & Metadata
You can use seo templates in title or meta-descrtiption like: "Buy {PRODUCTNAME} for {PRODUCTPRICE}". This plugin is for using variables in the title and meta-description tags. Allows you to use templates for the title tag and the meta-description tag. Accepts data (including SEO templates ) from additional plugin providers. How it works To work, you install 2 plugins: - Main WT SEO Meta templat...
WT Schema.org for JoomShopping
Free

WT Schema.org for JoomShopping

By Sergey Tolkachyov
JoomShopping extensions
The plugin adds micro markup to the product pages and product categories Schema.org for categories of goods, manufacturers and JoomShopping products in ld+json format, which allows search engines to better understand the content of the page, as well as use it to display advanced results in search results and thereby stand out from competitors. Joomla 3 (JoomShopping 4.18.x) is supported. For Joom...
WT Last Seen Products for JoomShopping
Free

WT Last Seen Products for JoomShopping

By Sergey Tolkachyov
JoomShopping extensions
Last visited/seen JoomShopping products module. Since version 1.1.0 supports Joomla 4 only. A package consisting of a module and a plugin. The plugin writes the products viewed by the visitor to the cookie, and the module displays them. The plugin configures the cookie lifetime - how many days to store information about viewed products in the user's browser. Features Plugin You can set how man...
Action log - JoomShoping
Free

Action log - JoomShoping

By Sergey Tolkachyov
User Management
In Joomla, you can view actions performed by users in the "Action Log" section (located in the "Users" menu). You can find out who and when installed or deleted the extension, updated Joomla, etc. Events in this section are written by plugins for various components and Action log - JoomShopping is just a plugin for logging user actions in the admin panel of an online store based on Joomla JoomShop...
WT Content Like
Free

WT Content Like

By Sergey Tolkachyov
Ratings & Reviews
The plugin replaces the standard content rating with the like button. Features Full ajax Schema.org microdata Exclude categories Supports custom output layouts CSS classes for icon and button. Use full power of Bootstrap 5 or your custom CSS. Works with Joomla 3 and Joomla 4 Select different button position in article and category view...
Content - WT Ya.share2
Free

Content - WT Ya.share2

By Sergey Tolkachyov
Content Sharing
The plugin inserts the "Share" block from Yandex into Joomla materials. If you place a block on your site, visitors will be able to quickly post links to the pages of the site they like on their social networks. Supports custom output layouts. Version 1.x works both with Joomla 3 and joomla 4. Version 2.x works only with Joomla 5.x List of social networks and messengers supported by the Joomla pl...
WT JShopping Cart
Free

WT JShopping Cart

By Sergey Tolkachyov
JoomShopping extensions
The ajax shopping cart module for the JoomShopping 5 online store and Joomla 4, Joomla has 6 output layouts: Module layouts list text heredefault - standard output of the JoomShopping bucket. Not related to Bootstrap at all. bootstrap5-icon - displays the cart module as a link-button with the basket icon and the quantity of goods in the form of a badge. It is convenient to place such a module i...
Fields - WT Yandex Map
Free

Fields - WT Yandex Map

By Sergey Tolkachyov
Custom Fields
The plugin adds a new type of custom field for Joomla 4 / Joomla 5 - Yandex.Maps. It allows you to display the label on Yandex Maps in those extensions that support custom fields in Joomla 4. PLugin is free. Joomla 5 ready Yandex.Maps API 3.0 standart markers on the map markers with custom HTML You need Yandex Maps API key for work...
WT Quick links
Free

WT Quick links

By Sergey Tolkachyov
Site Navigation
The module allows you to quickly create sets of repeatable elements: title + text, responsive photos and/or responsive videos. And also make these elements links to Joomla components - articles categories, Virtuemart, JoomShopping, Phoca Cart, a menu item or a custom link. By creating your own display layouts for this module, you can make a slide show, an image gallery, assemble the main page of t...
WT Amo CRM library
Free

WT Amo CRM library

By Sergey Tolkachyov
Libraries
A small PHP library for Joomla 4 and Amo CRM. For developers. AmoCRM as known as Kommo CRM (https://www.kommo.com/) As part of the package - amoCRM connection library - settings plugin for connecting to Amo CRM System - WT Amo CRM Library Code example use Webtolk\Amocrm\Amocrm; $amocrm = new Amocrm(); $result_amo_crm = $amocrm->getAccountInfo(); See documentation https://web-tolk.ru/en/dev...
WT Highlight.js
Free

WT Highlight.js

By Sergey Tolkachyov
Core Enhancements
Code highlighting plugin using Highlight.js. Works only with Joomla 4. The package includes 2 plugins: content and editors-xtd groups, don't forget to include them. Highlight.js version 11.10.0 supports more then 197 programming languages and 248 display styles. For more information, see the plugin settings....
WT SP Easy Image Gallery insert
Free

WT SP Easy Image Gallery insert

By Sergey Tolkachyov
Content Construction
Plugins for inserting images into from a SP Easy Image Gallery component's album. Supports only Joomla 4. The plugin allows you to insert a shortcode into the editor field, which, after processing by content plugins, will be replaced with an image gallery of the SP Easy Image Gallery component. SP Easy Image Gallery This is a simple image gallery for Joomla from the JoomShaper development team....
WT Fabric.js
Free

WT Fabric.js

By Sergey Tolkachyov
Development Tools
This plugin is for Joomla developers. The plugin registers Fabric.js package in Joomla Web Assets Manager. It allows you to use Fabric.js anywhere in Joomla 4: into modules, components, plugins. To do this in your code, use use Joomla\CMS\Factory; $wa = Factory::getApplication()->getDocument()->getWebAssetManager(); $wa->useScript('fabric-bundle');...
WT Lightbox2.js
Free

WT Lightbox2.js

By Sergey Tolkachyov
Libraries
This plugin is for Joomla developers. The plugin registers Lightbox2.js (https://lokeshdhakar.com/projects/lightbox2/#getting-started) package in Joomla Web Assets Manager. Then you can use it in your extensions. To do this in your code, use: use Joomla\CMS\Factory; $wa = Factory::getApplication()->getDocument()->getWebAssetManager(); $wa->usePreset('lightbox2')->useScript(&...
WT Contact anywhere with fields
Free

WT Contact anywhere with fields

By Sergey Tolkachyov
Content Construction
Insert Joomla contacts anywhere. Use {wt_contact_wf contact_id=XXXX tmpl=XXXX} where you need to insert a contact with your own layout. Create your own layouts in plugin's tmpl folder. It also shows a block of information about the author in Joomla articles. This plugin is needed to output information from the com_contact Joomla contacts component. For example, you have created a catalog of onl...
WT JShopping Swiper.js carousel
Free

WT JShopping Swiper.js carousel

By Sergey Tolkachyov
JoomShopping extensions
A JoomShopping product slideshow module using the Swiper javascript library. To work, you need to install the WP Super plugin, or connect swiper.js manually by yourself. How to set up swiper.js see in the documentation. To work, you need to install the WT JSwiper plugin, or connect swiper.js manually by yourself. How to set up swiper.see js in the documentation. Module features 3 module modes:...
WT JShopping products anywhere
Free

WT JShopping products anywhere

By Sergey Tolkachyov
Content Construction
A package of plugins for inserting JoomShopping products into Joomla articles and modules, as well as wherever content plugins work. Description A package consisting of two plugins: a content plugin and an editor button plugin that allow you to quickly and conveniently insert JoomShopping products into materials, modules and wherever content plugins work. The default layout is just a link to the...
WT JMoodle User sync
Free

WT JMoodle User sync

By Sergey Tolkachyov
Education & Culture
Plugin dependencies The plugin requires an installed and configured library to integrate Joomla 4 / Joomla 5 and Moodle - WT JMoodle library. Plugin features creating a Moodle user when creating or self-registering a Joomla user updating Moodle user data when updating Joomla user data. So far, standard user data is being synchronized: name, login, password, etc. Mapping of user fields has not...
Console - Save old articles aliases
Free

Console - Save old articles aliases

By Sergey Tolkachyov
Site Management
The plugin updates the aliases of Joomla articles by adding the article id to them, according to the old Joomla routing rules. This will allow you to save the old URLs of the articles and at the same time transfer Joomla site to a new router. For example, you're update a big old site from Joomla 2.5 to Joomla 5. Why use this plugin The problem with the id in the URL of Joomla materials on old si...

WT JMoodle library

Version:
1.1.0
Developer:
Sergey Tolkachyov
Last updated:
Apr 15 2024
7 months ago
Date added:
Jan 05 2024
License:
GPLv2 or later
Type:
Free download
Includes:
p
Compatibility:
J4 J5
Download

Uses Joomla! Update System