Language Change PR-6.2-dev Pending

User tests: Successful: Unsuccessful:

avatar mortezahonar
mortezahonar
23 Apr 2026

Pull Request resolves #

  • I read the Generative AI policy and my contribution is either not created with the help of AI or is compatible with the policy and GNU/GPL 2 or later.

Summary of Changes

This PR adds a new schema.org plugin for LocalBusiness type.

  • Copy of organization plugin with modifications
  • Adds LocalBusiness schema type to the schema.org plugin system
  • Includes form fields: name, image, url, email, telefon, address, and generic fields
  • Implements SubscriberInterface and uses SchemaorgPluginTrait

Testing Instructions

Prerequisite:
Download the latest Joomla 6.2 Nightly Build from developer.joomla.org/nightly-builds.html


Step 1: Add Language Files

Download the following two language files from mortezahonar/joomla-cms:

  • administrator/language/en-GB/plg_schemaorg_localbusiness.ini
  • administrator/language/en-GB/plg_schemaorg_localbusiness.sys.ini

Copy both files to the same path on your Joomla installation:
administrator/language/en-GB/


Step 2: Modify Database Installation Files

Edit the following SQL files inside your nightly build package:

  • installation/sql/mysql/base.sql
  • installation/sql/postgresql/base.sql

Find this section:

(0, 'plg_schemaorg_organization', 'plugin', 'organization', 'schemaorg', 0, 1, 1, 0, 1, '', '{}', '', 6, 0),
(0, 'plg_schemaorg_person', 'plugin', 'person', 'schemaorg', 0, 1, 1, 0, 1, '', '{}', '', 7, 0),
(0, 'plg_schemaorg_recipe', 'plugin', 'recipe', 'schemaorg', 0, 1, 1, 0, 1, '', '{}', '', 8, 0),
(0, 'plg_schemaorg_custom', 'plugin', 'custom', 'schemaorg', 0, 1, 1, 0, 1, '', '{}', '', 9, 0),

Replace with:

(0, 'plg_schemaorg_localbusiness', 'plugin', 'localbusiness', 'schemaorg', 0, 1, 1, 0, 1, '', '{}', '', 6, 0),
(0, 'plg_schemaorg_organization', 'plugin', 'organization', 'schemaorg', 0, 1, 1, 0, 1, '', '{}', '', 7, 0),
(0, 'plg_schemaorg_person', 'plugin', 'person', 'schemaorg', 0, 1, 1, 0, 1, '', '{}', '', 8, 0),
(0, 'plg_schemaorg_recipe', 'plugin', 'recipe', 'schemaorg', 0, 1, 1, 0, 1, '', '{}', '', 9, 0),
(0, 'plg_schemaorg_custom', 'plugin', 'custom', 'schemaorg', 0, 1, 1, 0, 1, '', '{}', '', 10, 0),

Step 3: Modify ExtensionHelper.php

Edit the following file in your nightly build package:

libraries/src/Extension/ExtensionHelper.php

Find this section :

        // Core plugin extensions - schemaorg
        ['plugin', 'article', 'schemaorg', 0],
        ['plugin', 'blogposting', 'schemaorg', 0],
        ['plugin', 'book', 'schemaorg', 0],
        ['plugin', 'custom', 'schemaorg', 0],
        ['plugin', 'event', 'schemaorg', 0],
        ['plugin', 'jobposting', 'schemaorg', 0],
        ['plugin', 'localbusiness', 'schemaorg', 0],
        ['plugin', 'organization', 'schemaorg', 0],
        ['plugin', 'person', 'schemaorg', 0],
        ['plugin', 'recipe', 'schemaorg', 0],

Replace the organization line with:

        ['plugin', 'organization', 'schemaorg', 0],

with

        ['plugin', 'localbusiness', 'schemaorg', 0],
        ['plugin', 'organization', 'schemaorg', 0],

Step 4: Add the Plugin

Download the localbusiness plugin folder from mortezahonar/joomla-cms/plugins/schemaorg/localbusiness and place it here:

plugins/schemaorg/localbusiness

The folder should contain:

plugins/schemaorg/localbusiness/
├── localbusiness.xml
├── forms/
│   └── schemaorg.xml
├── services/
│   └── provider.php
└── src/
    └── Extension/
        └── Localbusiness.php

Step 5: Install Joomla

Install Joomla using your modified nightly build package.


Step 6: Test the Plugin

  1. After installation, go to Extensions → Plugins
  2. Find Schema.org - Localbusiness and make sure it is enabled
  3. Go to System → Clear Cache
  4. Create or edit an article
  5. Go to the "Schema" tab
  6. Select "LocalBusiness" from the schema type dropdown
  7. Fill in the fields (Name, Address, Telephone, etc.)
  8. Save the article
  9. View the article on the frontend
  10. Check the page source (Ctrl+U) for <script type="application/ld+json"> with @type: "LocalBusiness"

Expected Result

The LocalBusiness schema type appears in the dropdown, form fields are displayed, data is saved to the database and appears as JSON-LD in the frontend with @type: "LocalBusiness".

Link to documentations

Please select:

  • Documentation link for guide.joomla.org:

  • No documentation changes for guide.joomla.org needed

  • Pull Request link for manual.joomla.org:

  • No documentation changes for manual.joomla.org needed

avatar mortezahonar mortezahonar - open - 23 Apr 2026
avatar mortezahonar mortezahonar - change - 23 Apr 2026
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 23 Apr 2026
Category Administration Language & Strings Front End Plugins
avatar mortezahonar mortezahonar - change - 23 Apr 2026
The description was changed
avatar mortezahonar mortezahonar - edited - 23 Apr 2026
avatar mortezahonar mortezahonar - change - 23 Apr 2026
The description was changed
avatar mortezahonar mortezahonar - edited - 23 Apr 2026
avatar mortezahonar mortezahonar - change - 23 Apr 2026
The description was changed
avatar mortezahonar mortezahonar - edited - 23 Apr 2026
avatar mortezahonar mortezahonar - change - 23 Apr 2026
The description was changed
avatar mortezahonar mortezahonar - edited - 23 Apr 2026
avatar mortezahonar mortezahonar - change - 23 Apr 2026
Labels Added: Language Change PR-6.2-dev
avatar mortezahonar mortezahonar - change - 26 Apr 2026
Status Pending Closed
Closed_Date 0000-00-00 00:00:00 2026-04-26 17:44:14
Closed_By mortezahonar
avatar mortezahonar mortezahonar - close - 26 Apr 2026
avatar mortezahonar mortezahonar - change - 26 Apr 2026
Status Closed New
Closed_Date 2026-04-26 17:44:14
Closed_By mortezahonar
avatar mortezahonar mortezahonar - change - 26 Apr 2026
Status New Pending
avatar mortezahonar mortezahonar - reopen - 26 Apr 2026
avatar mortezahonar
mortezahonar - comment - 26 Apr 2026

Sorry, I wanted to change my branch name, which caused the PR to close. I have reopened it, and I won't change the branch name until this PR is reviewed. Sorry for adding a few unnecessary commits.

avatar mortezahonar mortezahonar - change - 27 Apr 2026
The description was changed
avatar mortezahonar mortezahonar - edited - 27 Apr 2026
avatar exlemor
exlemor - comment - 30 Apr 2026

Hi @mortezahonar - thank you for this PR, potentially great addition to Joomla. You mention:

Install the plugin by copying the localbusiness folder to /plugins/schemaorg/ or install via zip.

I could not find a zip file or a localbusiness folder that you are referring to. Could you please provide that attachment and update the TESTING INSTRUCTIONS? thank you so much.

avatar mortezahonar
mortezahonar - comment - 1 May 2026

Thanks, Emmanuel. Yes, unfortunately the file hasn't been uploaded.
I'll put the download link but please let me know if the link is accessible to you or not.

https://cdn.imgurl.ir/uploads/e47035_localbusiness.zip

avatar mortezahonar
mortezahonar - comment - 1 May 2026

Thanks, Emmanuel. Yes, unfortunately the file hasn't been uploaded.
I'll put the download link but please let me know if the link is accessible to you or not.

https://cdn.imgurl.ir/uploads/l25406_localbusiness.zip

avatar mortezahonar
mortezahonar - comment - 1 May 2026

Thanks, Emmanuel. Yes, unfortunately the file hasn't been uploaded.
I'll put the download link but please let me know if the link is accessible to you or not.

https://cdn.imgurl.ir/uploads/l25406_localbusiness.zip

avatar mortezahonar
mortezahonar - comment - 1 May 2026

Thanks, Emmanuel. Yes, unfortunately the file hasn't been uploaded.
I'll put the download link but please let me know if the link is accessible to you or not.

https://cdn.imgurl.ir/uploads/l25406_localbusiness.zip

avatar YadakGostar
YadakGostar - comment - 2 May 2026

I have tested this item ✅ successfully

avatar brianteeman
brianteeman - comment - 2 May 2026

This pr needs to have sql changes in the installation sql so that the plugin is avilable on new installs and update sql for updated sites

avatar joomla-cms-bot joomla-cms-bot - change - 2 May 2026
Category Administration Language & Strings Front End Plugins Administration Language & Strings SQL Installation Front End Plugins
avatar joomla-cms-bot joomla-cms-bot - change - 2 May 2026
Category Administration Language & Strings Front End Plugins SQL Installation Administration Language & Strings SQL Installation Postgresql Front End Plugins
avatar mortezahonar
mortezahonar - comment - 2 May 2026

This pr needs to have sql changes in the installation sql so that the plugin is avilable on new installs and update sql for updated sites

Are the mysql/base.sql and postgresql/base.sql files what you meant?

avatar mortezahonar
mortezahonar - comment - 2 May 2026

This pr needs to have sql changes in the installation sql so that the plugin is avilable on new installs and update sql for updated sites
@brianteeman
Are the mysql/base.sql and postgresql/base.sql files what you meant?

avatar mortezahonar
mortezahonar - comment - 3 May 2026

Hi @mortezahonar - thank you for this PR, potentially great addition to Joomla. You mention:

Install the plugin by copying the localbusiness folder to /plugins/schemaorg/ or install via zip.

I could not find a zip file or a localbusiness folder that you are referring to. Could you please provide that attachment and update the TESTING INSTRUCTIONS? thank you so much.

@exlemor

Testing Instructions

Prerequisite:
Download the latest Joomla 6.2 Nightly Build from developer.joomla.org/nightly-builds.html


Step 1: Add Language Files

Download the following two language files from mortezahonar/joomla-cms:

  • administrator/language/en-GB/plg_schemaorg_localbusiness.ini
  • administrator/language/en-GB/plg_schemaorg_localbusiness.sys.ini

Copy both files to the same path on your Joomla installation:
administrator/language/en-GB/


Step 2: Modify Database Installation Files

Edit the following SQL files inside your nightly build package:

  • installation/sql/mysql/base.sql
  • installation/sql/postgresql/base.sql

Find this section:

(0, 'plg_schemaorg_organization', 'plugin', 'organization', 'schemaorg', 0, 1, 1, 0, 1, '', '{}', '', 6, 0),
(0, 'plg_schemaorg_person', 'plugin', 'person', 'schemaorg', 0, 1, 1, 0, 1, '', '{}', '', 7, 0),
(0, 'plg_schemaorg_recipe', 'plugin', 'recipe', 'schemaorg', 0, 1, 1, 0, 1, '', '{}', '', 8, 0),
(0, 'plg_schemaorg_custom', 'plugin', 'custom', 'schemaorg', 0, 1, 1, 0, 1, '', '{}', '', 9, 0),

Replace with:

(0, 'plg_schemaorg_localbusiness', 'plugin', 'localbusiness', 'schemaorg', 0, 1, 1, 0, 1, '', '{}', '', 6, 0),
(0, 'plg_schemaorg_organization', 'plugin', 'organization', 'schemaorg', 0, 1, 1, 0, 1, '', '{}', '', 7, 0),
(0, 'plg_schemaorg_person', 'plugin', 'person', 'schemaorg', 0, 1, 1, 0, 1, '', '{}', '', 8, 0),
(0, 'plg_schemaorg_recipe', 'plugin', 'recipe', 'schemaorg', 0, 1, 1, 0, 1, '', '{}', '', 9, 0),
(0, 'plg_schemaorg_custom', 'plugin', 'custom', 'schemaorg', 0, 1, 1, 0, 1, '', '{}', '', 10, 0),

Step 3: Modify ExtensionHelper.php

Edit the following file in your nightly build package:

libraries/src/Extension/ExtensionHelper.php

Find this section (around lines 283-292):

        // Core plugin extensions - schemaorg
        ['plugin', 'article', 'schemaorg', 0],
        ['plugin', 'blogposting', 'schemaorg', 0],
        ['plugin', 'book', 'schemaorg', 0],
        ['plugin', 'custom', 'schemaorg', 0],
        ['plugin', 'event', 'schemaorg', 0],
        ['plugin', 'jobposting', 'schemaorg', 0],
        ['plugin', 'localbusiness', 'schemaorg', 0],
        ['plugin', 'organization', 'schemaorg', 0],
        ['plugin', 'person', 'schemaorg', 0],
        ['plugin', 'recipe', 'schemaorg', 0],

Replace the organization line with:

        ['plugin', 'localbusiness', 'schemaorg', 0],
        ['plugin', 'organization', 'schemaorg', 0],

Step 4: Add the Plugin

Download the localbusiness plugin folder from mortezahonar/joomla-cms/plugins/schemaorg/localbusiness and place it here:

plugins/schemaorg/localbusiness

The folder should contain:

plugins/schemaorg/localbusiness/
├── localbusiness.xml
├── forms/
│   └── schemaorg.xml
├── services/
│   └── provider.php
└── src/
    └── Extension/
        └── Localbusiness.php

Step 5: Install Joomla

Install Joomla using your modified nightly build package.


Step 6: Test the Plugin

  1. After installation, go to Extensions → Plugins
  2. Find Schema.org - Localbusiness and make sure it is enabled
  3. Go to System → Clear Cache
  4. Create or edit an article
  5. Go to the "Schema" tab
  6. Select "LocalBusiness" from the schema type dropdown
  7. Fill in the fields (Name, Address, Telephone, etc.)
  8. Save the article
  9. View the article on the frontend
  10. Check the page source (Ctrl+U) for <script type="application/ld+json"> with @type: "LocalBusiness"

Expected Result

The LocalBusiness schema type appears in the dropdown, form fields are displayed, data is saved to the database and appears as JSON-LD in the frontend with @type: "LocalBusiness".


Note: I apologize for not being able to upload the files directly to GitHub at this time due to internet restrictions. I will upload them as soon as possible. Thank you for your understanding.

avatar mortezahonar
mortezahonar - comment - 3 May 2026

Hi @mortezahonar - thank you for this PR, potentially great addition to Joomla. You mention:

Install the plugin by copying the localbusiness folder to /plugins/schemaorg/ or install via zip.

I could not find a zip file or a localbusiness folder that you are referring to. Could you please provide that attachment and update the TESTING INSTRUCTIONS? thank you so much.

@exlemor

Testing Instructions

Prerequisite:
Download the latest Joomla 6.2 Nightly Build from developer.joomla.org/nightly-builds.html


Step 1: Add Language Files

Download the following two language files from mortezahonar/joomla-cms:

  • administrator/language/en-GB/plg_schemaorg_localbusiness.ini
  • administrator/language/en-GB/plg_schemaorg_localbusiness.sys.ini

Copy both files to the same path on your Joomla installation:
administrator/language/en-GB/


Step 2: Modify Database Installation Files

Edit the following SQL files inside your nightly build package:

  • installation/sql/mysql/base.sql
  • installation/sql/postgresql/base.sql

Find this section:

(0, 'plg_schemaorg_organization', 'plugin', 'organization', 'schemaorg', 0, 1, 1, 0, 1, '', '{}', '', 6, 0),
(0, 'plg_schemaorg_person', 'plugin', 'person', 'schemaorg', 0, 1, 1, 0, 1, '', '{}', '', 7, 0),
(0, 'plg_schemaorg_recipe', 'plugin', 'recipe', 'schemaorg', 0, 1, 1, 0, 1, '', '{}', '', 8, 0),
(0, 'plg_schemaorg_custom', 'plugin', 'custom', 'schemaorg', 0, 1, 1, 0, 1, '', '{}', '', 9, 0),

Replace with:

(0, 'plg_schemaorg_localbusiness', 'plugin', 'localbusiness', 'schemaorg', 0, 1, 1, 0, 1, '', '{}', '', 6, 0),
(0, 'plg_schemaorg_organization', 'plugin', 'organization', 'schemaorg', 0, 1, 1, 0, 1, '', '{}', '', 7, 0),
(0, 'plg_schemaorg_person', 'plugin', 'person', 'schemaorg', 0, 1, 1, 0, 1, '', '{}', '', 8, 0),
(0, 'plg_schemaorg_recipe', 'plugin', 'recipe', 'schemaorg', 0, 1, 1, 0, 1, '', '{}', '', 9, 0),
(0, 'plg_schemaorg_custom', 'plugin', 'custom', 'schemaorg', 0, 1, 1, 0, 1, '', '{}', '', 10, 0),

Step 3: Modify ExtensionHelper.php

Edit the following file in your nightly build package:

libraries/src/Extension/ExtensionHelper.php

Find this section :

        // Core plugin extensions - schemaorg
        ['plugin', 'article', 'schemaorg', 0],
        ['plugin', 'blogposting', 'schemaorg', 0],
        ['plugin', 'book', 'schemaorg', 0],
        ['plugin', 'custom', 'schemaorg', 0],
        ['plugin', 'event', 'schemaorg', 0],
        ['plugin', 'jobposting', 'schemaorg', 0],
        ['plugin', 'localbusiness', 'schemaorg', 0],
        ['plugin', 'organization', 'schemaorg', 0],
        ['plugin', 'person', 'schemaorg', 0],
        ['plugin', 'recipe', 'schemaorg', 0],

Replace the organization line with:

        ['plugin', 'localbusiness', 'schemaorg', 0],
        ['plugin', 'organization', 'schemaorg', 0],

Step 4: Add the Plugin

Download the localbusiness plugin folder from mortezahonar/joomla-cms/plugins/schemaorg/localbusiness and place it here:

plugins/schemaorg/localbusiness

The folder should contain:

plugins/schemaorg/localbusiness/
├── localbusiness.xml
├── forms/
│   └── schemaorg.xml
├── services/
│   └── provider.php
└── src/
    └── Extension/
        └── Localbusiness.php

Step 5: Install Joomla

Install Joomla using your modified nightly build package.


Step 6: Test the Plugin

  1. After installation, go to Extensions → Plugins
  2. Find Schema.org - Localbusiness and make sure it is enabled
  3. Go to System → Clear Cache
  4. Create or edit an article
  5. Go to the "Schema" tab
  6. Select "LocalBusiness" from the schema type dropdown
  7. Fill in the fields (Name, Address, Telephone, etc.)
  8. Save the article
  9. View the article on the frontend
  10. Check the page source (Ctrl+U) for <script type="application/ld+json"> with @type: "LocalBusiness"

Expected Result

The LocalBusiness schema type appears in the dropdown, form fields are displayed, data is saved to the database and appears as JSON-LD in the frontend with @type: "LocalBusiness".


Note: I apologize for not being able to upload the files directly to GitHub at this time due to internet restrictions. I will upload them as soon as possible. Thank you for your understanding.

avatar mortezahonar
mortezahonar - comment - 3 May 2026

Hi @mortezahonar - thank you for this PR, potentially great addition to Joomla. You mention:

Install the plugin by copying the localbusiness folder to /plugins/schemaorg/ or install via zip.

I could not find a zip file or a localbusiness folder that you are referring to. Could you please provide that attachment and update the TESTING INSTRUCTIONS? thank you so much.

@exlemor

Testing Instructions

Prerequisite:
Download the latest Joomla 6.2 Nightly Build from developer.joomla.org/nightly-builds.html


Step 1: Add Language Files

Download the following two language files from mortezahonar/joomla-cms:

  • administrator/language/en-GB/plg_schemaorg_localbusiness.ini
  • administrator/language/en-GB/plg_schemaorg_localbusiness.sys.ini

Copy both files to the same path on your Joomla installation:
administrator/language/en-GB/


Step 2: Modify Database Installation Files

Edit the following SQL files inside your nightly build package:

  • installation/sql/mysql/base.sql
  • installation/sql/postgresql/base.sql

Find this section:

(0, 'plg_schemaorg_organization', 'plugin', 'organization', 'schemaorg', 0, 1, 1, 0, 1, '', '{}', '', 6, 0),
(0, 'plg_schemaorg_person', 'plugin', 'person', 'schemaorg', 0, 1, 1, 0, 1, '', '{}', '', 7, 0),
(0, 'plg_schemaorg_recipe', 'plugin', 'recipe', 'schemaorg', 0, 1, 1, 0, 1, '', '{}', '', 8, 0),
(0, 'plg_schemaorg_custom', 'plugin', 'custom', 'schemaorg', 0, 1, 1, 0, 1, '', '{}', '', 9, 0),

Replace with:

(0, 'plg_schemaorg_localbusiness', 'plugin', 'localbusiness', 'schemaorg', 0, 1, 1, 0, 1, '', '{}', '', 6, 0),
(0, 'plg_schemaorg_organization', 'plugin', 'organization', 'schemaorg', 0, 1, 1, 0, 1, '', '{}', '', 7, 0),
(0, 'plg_schemaorg_person', 'plugin', 'person', 'schemaorg', 0, 1, 1, 0, 1, '', '{}', '', 8, 0),
(0, 'plg_schemaorg_recipe', 'plugin', 'recipe', 'schemaorg', 0, 1, 1, 0, 1, '', '{}', '', 9, 0),
(0, 'plg_schemaorg_custom', 'plugin', 'custom', 'schemaorg', 0, 1, 1, 0, 1, '', '{}', '', 10, 0),

Step 3: Modify ExtensionHelper.php

Edit the following file in your nightly build package:

libraries/src/Extension/ExtensionHelper.php

Find this section :

        // Core plugin extensions - schemaorg
        ['plugin', 'article', 'schemaorg', 0],
        ['plugin', 'blogposting', 'schemaorg', 0],
        ['plugin', 'book', 'schemaorg', 0],
        ['plugin', 'custom', 'schemaorg', 0],
        ['plugin', 'event', 'schemaorg', 0],
        ['plugin', 'jobposting', 'schemaorg', 0],
        ['plugin', 'localbusiness', 'schemaorg', 0],
        ['plugin', 'organization', 'schemaorg', 0],
        ['plugin', 'person', 'schemaorg', 0],
        ['plugin', 'recipe', 'schemaorg', 0],

Replace the organization line with:

        ['plugin', 'organization', 'schemaorg', 0],

with

        ['plugin', 'localbusiness', 'schemaorg', 0],
        ['plugin', 'organization', 'schemaorg', 0],

Step 4: Add the Plugin

Download the localbusiness plugin folder from mortezahonar/joomla-cms/plugins/schemaorg/localbusiness and place it here:

plugins/schemaorg/localbusiness

The folder should contain:

plugins/schemaorg/localbusiness/
├── localbusiness.xml
├── forms/
│   └── schemaorg.xml
├── services/
│   └── provider.php
└── src/
    └── Extension/
        └── Localbusiness.php

Step 5: Install Joomla

Install Joomla using your modified nightly build package.


Step 6: Test the Plugin

  1. After installation, go to Extensions → Plugins
  2. Find Schema.org - Localbusiness and make sure it is enabled
  3. Go to System → Clear Cache
  4. Create or edit an article
  5. Go to the "Schema" tab
  6. Select "LocalBusiness" from the schema type dropdown
  7. Fill in the fields (Name, Address, Telephone, etc.)
  8. Save the article
  9. View the article on the frontend
  10. Check the page source (Ctrl+U) for <script type="application/ld+json"> with @type: "LocalBusiness"

Expected Result

The LocalBusiness schema type appears in the dropdown, form fields are displayed, data is saved to the database and appears as JSON-LD in the frontend with @type: "LocalBusiness".


Note: I apologize for not being able to upload the files directly to GitHub at this time due to internet restrictions. I will upload them as soon as possible. Thank you for your understanding.

avatar mortezahonar
mortezahonar - comment - 3 May 2026

Hi @mortezahonar - thank you for this PR, potentially great addition to Joomla. You mention:

Install the plugin by copying the localbusiness folder to /plugins/schemaorg/ or install via zip.

I could not find a zip file or a localbusiness folder that you are referring to. Could you please provide that attachment and update the TESTING INSTRUCTIONS? thank you so much.

@exlemor

Testing Instructions

Prerequisite:
Download the latest Joomla 6.2 Nightly Build from developer.joomla.org/nightly-builds.html


Step 1: Add Language Files

Download the following two language files from mortezahonar/joomla-cms:

  • administrator/language/en-GB/plg_schemaorg_localbusiness.ini
  • administrator/language/en-GB/plg_schemaorg_localbusiness.sys.ini

Copy both files to the same path on your Joomla installation:
administrator/language/en-GB/


Step 2: Modify Database Installation Files

Edit the following SQL files inside your nightly build package:

  • installation/sql/mysql/base.sql
  • installation/sql/postgresql/base.sql

Find this section:

(0, 'plg_schemaorg_organization', 'plugin', 'organization', 'schemaorg', 0, 1, 1, 0, 1, '', '{}', '', 6, 0),
(0, 'plg_schemaorg_person', 'plugin', 'person', 'schemaorg', 0, 1, 1, 0, 1, '', '{}', '', 7, 0),
(0, 'plg_schemaorg_recipe', 'plugin', 'recipe', 'schemaorg', 0, 1, 1, 0, 1, '', '{}', '', 8, 0),
(0, 'plg_schemaorg_custom', 'plugin', 'custom', 'schemaorg', 0, 1, 1, 0, 1, '', '{}', '', 9, 0),

Replace with:

(0, 'plg_schemaorg_localbusiness', 'plugin', 'localbusiness', 'schemaorg', 0, 1, 1, 0, 1, '', '{}', '', 6, 0),
(0, 'plg_schemaorg_organization', 'plugin', 'organization', 'schemaorg', 0, 1, 1, 0, 1, '', '{}', '', 7, 0),
(0, 'plg_schemaorg_person', 'plugin', 'person', 'schemaorg', 0, 1, 1, 0, 1, '', '{}', '', 8, 0),
(0, 'plg_schemaorg_recipe', 'plugin', 'recipe', 'schemaorg', 0, 1, 1, 0, 1, '', '{}', '', 9, 0),
(0, 'plg_schemaorg_custom', 'plugin', 'custom', 'schemaorg', 0, 1, 1, 0, 1, '', '{}', '', 10, 0),

Step 3: Modify ExtensionHelper.php

Edit the following file in your nightly build package:

libraries/src/Extension/ExtensionHelper.php

Find this section :

        // Core plugin extensions - schemaorg
        ['plugin', 'article', 'schemaorg', 0],
        ['plugin', 'blogposting', 'schemaorg', 0],
        ['plugin', 'book', 'schemaorg', 0],
        ['plugin', 'custom', 'schemaorg', 0],
        ['plugin', 'event', 'schemaorg', 0],
        ['plugin', 'jobposting', 'schemaorg', 0],
        ['plugin', 'localbusiness', 'schemaorg', 0],
        ['plugin', 'organization', 'schemaorg', 0],
        ['plugin', 'person', 'schemaorg', 0],
        ['plugin', 'recipe', 'schemaorg', 0],

Replace the organization line with:

        ['plugin', 'organization', 'schemaorg', 0],

with

        ['plugin', 'localbusiness', 'schemaorg', 0],
        ['plugin', 'organization', 'schemaorg', 0],

Step 4: Add the Plugin

Download the localbusiness plugin folder from mortezahonar/joomla-cms/plugins/schemaorg/localbusiness and place it here:

plugins/schemaorg/localbusiness

The folder should contain:

plugins/schemaorg/localbusiness/
├── localbusiness.xml
├── forms/
│   └── schemaorg.xml
├── services/
│   └── provider.php
└── src/
    └── Extension/
        └── Localbusiness.php

Step 5: Install Joomla

Install Joomla using your modified nightly build package.


Step 6: Test the Plugin

  1. After installation, go to Extensions → Plugins
  2. Find Schema.org - Localbusiness and make sure it is enabled
  3. Go to System → Clear Cache
  4. Create or edit an article
  5. Go to the "Schema" tab
  6. Select "LocalBusiness" from the schema type dropdown
  7. Fill in the fields (Name, Address, Telephone, etc.)
  8. Save the article
  9. View the article on the frontend
  10. Check the page source (Ctrl+U) for <script type="application/ld+json"> with @type: "LocalBusiness"

Expected Result

The LocalBusiness schema type appears in the dropdown, form fields are displayed, data is saved to the database and appears as JSON-LD in the frontend with @type: "LocalBusiness".


Note: I apologize for not being able to upload the files directly to GitHub at this time due to internet restrictions. I will upload them as soon as possible. Thank you for your understanding.


Testing instructions have been revised and are now fully updated.

avatar mortezahonar
mortezahonar - comment - 3 May 2026

Hi @mortezahonar - thank you for this PR, potentially great addition to Joomla. You mention:

Install the plugin by copying the localbusiness folder to /plugins/schemaorg/ or install via zip.

I could not find a zip file or a localbusiness folder that you are referring to. Could you please provide that attachment and update the TESTING INSTRUCTIONS? thank you so much.

@exlemor

Testing Instructions

Prerequisite:
Download the latest Joomla 6.2 Nightly Build from developer.joomla.org/nightly-builds.html


Step 1: Add Language Files

Download the following two language files from mortezahonar/joomla-cms:

  • administrator/language/en-GB/plg_schemaorg_localbusiness.ini
  • administrator/language/en-GB/plg_schemaorg_localbusiness.sys.ini

Copy both files to the same path on your Joomla installation:
administrator/language/en-GB/


Step 2: Modify Database Installation Files

Edit the following SQL files inside your nightly build package:

  • installation/sql/mysql/base.sql
  • installation/sql/postgresql/base.sql

Find this section:

(0, 'plg_schemaorg_organization', 'plugin', 'organization', 'schemaorg', 0, 1, 1, 0, 1, '', '{}', '', 6, 0),
(0, 'plg_schemaorg_person', 'plugin', 'person', 'schemaorg', 0, 1, 1, 0, 1, '', '{}', '', 7, 0),
(0, 'plg_schemaorg_recipe', 'plugin', 'recipe', 'schemaorg', 0, 1, 1, 0, 1, '', '{}', '', 8, 0),
(0, 'plg_schemaorg_custom', 'plugin', 'custom', 'schemaorg', 0, 1, 1, 0, 1, '', '{}', '', 9, 0),

Replace with:

(0, 'plg_schemaorg_localbusiness', 'plugin', 'localbusiness', 'schemaorg', 0, 1, 1, 0, 1, '', '{}', '', 6, 0),
(0, 'plg_schemaorg_organization', 'plugin', 'organization', 'schemaorg', 0, 1, 1, 0, 1, '', '{}', '', 7, 0),
(0, 'plg_schemaorg_person', 'plugin', 'person', 'schemaorg', 0, 1, 1, 0, 1, '', '{}', '', 8, 0),
(0, 'plg_schemaorg_recipe', 'plugin', 'recipe', 'schemaorg', 0, 1, 1, 0, 1, '', '{}', '', 9, 0),
(0, 'plg_schemaorg_custom', 'plugin', 'custom', 'schemaorg', 0, 1, 1, 0, 1, '', '{}', '', 10, 0),

Step 3: Modify ExtensionHelper.php

Edit the following file in your nightly build package:

libraries/src/Extension/ExtensionHelper.php

Find this section :

        // Core plugin extensions - schemaorg
        ['plugin', 'article', 'schemaorg', 0],
        ['plugin', 'blogposting', 'schemaorg', 0],
        ['plugin', 'book', 'schemaorg', 0],
        ['plugin', 'custom', 'schemaorg', 0],
        ['plugin', 'event', 'schemaorg', 0],
        ['plugin', 'jobposting', 'schemaorg', 0],
        ['plugin', 'localbusiness', 'schemaorg', 0],
        ['plugin', 'organization', 'schemaorg', 0],
        ['plugin', 'person', 'schemaorg', 0],
        ['plugin', 'recipe', 'schemaorg', 0],

Replace the organization line with:

        ['plugin', 'organization', 'schemaorg', 0],

with

        ['plugin', 'localbusiness', 'schemaorg', 0],
        ['plugin', 'organization', 'schemaorg', 0],

Step 4: Add the Plugin

Download the localbusiness plugin folder from mortezahonar/joomla-cms/plugins/schemaorg/localbusiness and place it here:

plugins/schemaorg/localbusiness

The folder should contain:

plugins/schemaorg/localbusiness/
├── localbusiness.xml
├── forms/
│   └── schemaorg.xml
├── services/
│   └── provider.php
└── src/
    └── Extension/
        └── Localbusiness.php

Step 5: Install Joomla

Install Joomla using your modified nightly build package.


Step 6: Test the Plugin

  1. After installation, go to Extensions → Plugins
  2. Find Schema.org - Localbusiness and make sure it is enabled
  3. Go to System → Clear Cache
  4. Create or edit an article
  5. Go to the "Schema" tab
  6. Select "LocalBusiness" from the schema type dropdown
  7. Fill in the fields (Name, Address, Telephone, etc.)
  8. Save the article
  9. View the article on the frontend
  10. Check the page source (Ctrl+U) for <script type="application/ld+json"> with @type: "LocalBusiness"

Expected Result

The LocalBusiness schema type appears in the dropdown, form fields are displayed, data is saved to the database and appears as JSON-LD in the frontend with @type: "LocalBusiness".


Note: I apologize for not being able to upload the files directly to GitHub at this time due to internet restrictions. I will upload them as soon as possible. Thank you for your understanding.


Note: Testing instructions updated based on @alikon's guidance in the next comment.

avatar mortezahonar
mortezahonar - comment - 3 May 2026

Hi @mortezahonar - thank you for this PR, potentially great addition to Joomla. You mention:

Install the plugin by copying the localbusiness folder to /plugins/schemaorg/ or install via zip.

I could not find a zip file or a localbusiness folder that you are referring to. Could you please provide that attachment and update the TESTING INSTRUCTIONS? thank you so much.

@exlemor

Testing Instructions

Prerequisite:
Download the latest Joomla 6.2 Nightly Build from developer.joomla.org/nightly-builds.html


Step 1: Add Language Files

Download the following two language files from mortezahonar/joomla-cms:

  • administrator/language/en-GB/plg_schemaorg_localbusiness.ini
  • administrator/language/en-GB/plg_schemaorg_localbusiness.sys.ini

Copy both files to the same path on your Joomla installation:
administrator/language/en-GB/


Step 2: Modify Database Installation Files

Edit the following SQL files inside your nightly build package:

  • installation/sql/mysql/base.sql
  • installation/sql/postgresql/base.sql

Find this section:

(0, 'plg_schemaorg_organization', 'plugin', 'organization', 'schemaorg', 0, 1, 1, 0, 1, '', '{}', '', 6, 0),
(0, 'plg_schemaorg_person', 'plugin', 'person', 'schemaorg', 0, 1, 1, 0, 1, '', '{}', '', 7, 0),
(0, 'plg_schemaorg_recipe', 'plugin', 'recipe', 'schemaorg', 0, 1, 1, 0, 1, '', '{}', '', 8, 0),
(0, 'plg_schemaorg_custom', 'plugin', 'custom', 'schemaorg', 0, 1, 1, 0, 1, '', '{}', '', 9, 0),

Replace with:

(0, 'plg_schemaorg_localbusiness', 'plugin', 'localbusiness', 'schemaorg', 0, 1, 1, 0, 1, '', '{}', '', 6, 0),
(0, 'plg_schemaorg_organization', 'plugin', 'organization', 'schemaorg', 0, 1, 1, 0, 1, '', '{}', '', 7, 0),
(0, 'plg_schemaorg_person', 'plugin', 'person', 'schemaorg', 0, 1, 1, 0, 1, '', '{}', '', 8, 0),
(0, 'plg_schemaorg_recipe', 'plugin', 'recipe', 'schemaorg', 0, 1, 1, 0, 1, '', '{}', '', 9, 0),
(0, 'plg_schemaorg_custom', 'plugin', 'custom', 'schemaorg', 0, 1, 1, 0, 1, '', '{}', '', 10, 0),

Step 3: Modify ExtensionHelper.php

Edit the following file in your nightly build package:

libraries/src/Extension/ExtensionHelper.php

Find this section :

        // Core plugin extensions - schemaorg
        ['plugin', 'article', 'schemaorg', 0],
        ['plugin', 'blogposting', 'schemaorg', 0],
        ['plugin', 'book', 'schemaorg', 0],
        ['plugin', 'custom', 'schemaorg', 0],
        ['plugin', 'event', 'schemaorg', 0],
        ['plugin', 'jobposting', 'schemaorg', 0],
        ['plugin', 'localbusiness', 'schemaorg', 0],
        ['plugin', 'organization', 'schemaorg', 0],
        ['plugin', 'person', 'schemaorg', 0],
        ['plugin', 'recipe', 'schemaorg', 0],

Replace the organization line with:

        ['plugin', 'organization', 'schemaorg', 0],

with

        ['plugin', 'localbusiness', 'schemaorg', 0],
        ['plugin', 'organization', 'schemaorg', 0],

Step 4: Add the Plugin

Download the localbusiness plugin folder from mortezahonar/joomla-cms/plugins/schemaorg/localbusiness and place it here:

plugins/schemaorg/localbusiness

The folder should contain:

plugins/schemaorg/localbusiness/
├── localbusiness.xml
├── forms/
│   └── schemaorg.xml
├── services/
│   └── provider.php
└── src/
    └── Extension/
        └── Localbusiness.php

Step 5: Install Joomla

Install Joomla using your modified nightly build package.


Step 6: Test the Plugin

  1. After installation, go to Extensions → Plugins
  2. Find Schema.org - Localbusiness and make sure it is enabled
  3. Go to System → Clear Cache
  4. Create or edit an article
  5. Go to the "Schema" tab
  6. Select "LocalBusiness" from the schema type dropdown
  7. Fill in the fields (Name, Address, Telephone, etc.)
  8. Save the article
  9. View the article on the frontend
  10. Check the page source (Ctrl+U) for <script type="application/ld+json"> with @type: "LocalBusiness"

Expected Result

The LocalBusiness schema type appears in the dropdown, form fields are displayed, data is saved to the database and appears as JSON-LD in the frontend with @type: "LocalBusiness".


Note: I apologize for not being able to upload the files directly to GitHub at this time due to internet restrictions. I will upload them as soon as possible. Thank you for your understanding.


** Testing instructions updated based on @alikon's guidance in the next comment.**

avatar mortezahonar
mortezahonar - comment - 3 May 2026

Hi @mortezahonar - thank you for this PR, potentially great addition to Joomla. You mention:

Install the plugin by copying the localbusiness folder to /plugins/schemaorg/ or install via zip.

I could not find a zip file or a localbusiness folder that you are referring to. Could you please provide that attachment and update the TESTING INSTRUCTIONS? thank you so much.

@exlemor

Testing Instructions

Prerequisite:
Download the latest Joomla 6.2 Nightly Build from developer.joomla.org/nightly-builds.html


Step 1: Add Language Files

Download the following two language files from mortezahonar/joomla-cms:

  • administrator/language/en-GB/plg_schemaorg_localbusiness.ini
  • administrator/language/en-GB/plg_schemaorg_localbusiness.sys.ini

Copy both files to the same path on your Joomla installation:
administrator/language/en-GB/


Step 2: Modify Database Installation Files

Edit the following SQL files inside your nightly build package:

  • installation/sql/mysql/base.sql
  • installation/sql/postgresql/base.sql

Find this section:

(0, 'plg_schemaorg_organization', 'plugin', 'organization', 'schemaorg', 0, 1, 1, 0, 1, '', '{}', '', 6, 0),
(0, 'plg_schemaorg_person', 'plugin', 'person', 'schemaorg', 0, 1, 1, 0, 1, '', '{}', '', 7, 0),
(0, 'plg_schemaorg_recipe', 'plugin', 'recipe', 'schemaorg', 0, 1, 1, 0, 1, '', '{}', '', 8, 0),
(0, 'plg_schemaorg_custom', 'plugin', 'custom', 'schemaorg', 0, 1, 1, 0, 1, '', '{}', '', 9, 0),

Replace with:

(0, 'plg_schemaorg_localbusiness', 'plugin', 'localbusiness', 'schemaorg', 0, 1, 1, 0, 1, '', '{}', '', 6, 0),
(0, 'plg_schemaorg_organization', 'plugin', 'organization', 'schemaorg', 0, 1, 1, 0, 1, '', '{}', '', 7, 0),
(0, 'plg_schemaorg_person', 'plugin', 'person', 'schemaorg', 0, 1, 1, 0, 1, '', '{}', '', 8, 0),
(0, 'plg_schemaorg_recipe', 'plugin', 'recipe', 'schemaorg', 0, 1, 1, 0, 1, '', '{}', '', 9, 0),
(0, 'plg_schemaorg_custom', 'plugin', 'custom', 'schemaorg', 0, 1, 1, 0, 1, '', '{}', '', 10, 0),

Step 3: Modify ExtensionHelper.php

Edit the following file in your nightly build package:

libraries/src/Extension/ExtensionHelper.php

Find this section :

        // Core plugin extensions - schemaorg
        ['plugin', 'article', 'schemaorg', 0],
        ['plugin', 'blogposting', 'schemaorg', 0],
        ['plugin', 'book', 'schemaorg', 0],
        ['plugin', 'custom', 'schemaorg', 0],
        ['plugin', 'event', 'schemaorg', 0],
        ['plugin', 'jobposting', 'schemaorg', 0],
        ['plugin', 'localbusiness', 'schemaorg', 0],
        ['plugin', 'organization', 'schemaorg', 0],
        ['plugin', 'person', 'schemaorg', 0],
        ['plugin', 'recipe', 'schemaorg', 0],

Replace the organization line with:

        ['plugin', 'organization', 'schemaorg', 0],

with

        ['plugin', 'localbusiness', 'schemaorg', 0],
        ['plugin', 'organization', 'schemaorg', 0],

Step 4: Add the Plugin

Download the localbusiness plugin folder from mortezahonar/joomla-cms/plugins/schemaorg/localbusiness and place it here:

plugins/schemaorg/localbusiness

The folder should contain:

plugins/schemaorg/localbusiness/
├── localbusiness.xml
├── forms/
│   └── schemaorg.xml
├── services/
│   └── provider.php
└── src/
    └── Extension/
        └── Localbusiness.php

Step 5: Install Joomla

Install Joomla using your modified nightly build package.


Step 6: Test the Plugin

  1. After installation, go to Extensions → Plugins
  2. Find Schema.org - Localbusiness and make sure it is enabled
  3. Go to System → Clear Cache
  4. Create or edit an article
  5. Go to the "Schema" tab
  6. Select "LocalBusiness" from the schema type dropdown
  7. Fill in the fields (Name, Address, Telephone, etc.)
  8. Save the article
  9. View the article on the frontend
  10. Check the page source (Ctrl+U) for <script type="application/ld+json"> with @type: "LocalBusiness"

Expected Result

The LocalBusiness schema type appears in the dropdown, form fields are displayed, data is saved to the database and appears as JSON-LD in the frontend with @type: "LocalBusiness".


Note: I apologize for not being able to upload the files directly to GitHub at this time due to internet restrictions. I will upload them as soon as possible. Thank you for your understanding.


Testing instructions updated based on @alikon's guidance in the next comment.

avatar mortezahonar
mortezahonar - comment - 3 May 2026

Hi @mortezahonar - thank you for this PR, potentially great addition to Joomla. You mention:

Install the plugin by copying the localbusiness folder to /plugins/schemaorg/ or install via zip.

I could not find a zip file or a localbusiness folder that you are referring to. Could you please provide that attachment and update the TESTING INSTRUCTIONS? thank you so much.

Testing Instructions for PR #47667

Prerequisite:
Download the latest Joomla 6.2 Nightly Build from developer.joomla.org/nightly-builds.html


Step 1: Add Language Files

Download the following two language files from mortezahonar/joomla-cms:

  • administrator/language/en-GB/plg_schemaorg_localbusiness.ini
  • administrator/language/en-GB/plg_schemaorg_localbusiness.sys.ini

Copy both files to the same path on your Joomla installation:
administrator/language/en-GB/


Step 2: Modify Database Installation Files

Edit the following SQL files inside your nightly build package:

  • installation/sql/mysql/base.sql
  • installation/sql/postgresql/base.sql

Find this section:

(0, 'plg_schemaorg_organization', 'plugin', 'organization', 'schemaorg', 0, 1, 1, 0, 1, '', '{}', '', 6, 0),
(0, 'plg_schemaorg_person', 'plugin', 'person', 'schemaorg', 0, 1, 1, 0, 1, '', '{}', '', 7, 0),
(0, 'plg_schemaorg_recipe', 'plugin', 'recipe', 'schemaorg', 0, 1, 1, 0, 1, '', '{}', '', 8, 0),
(0, 'plg_schemaorg_custom', 'plugin', 'custom', 'schemaorg', 0, 1, 1, 0, 1, '', '{}', '', 9, 0),

Replace with:

(0, 'plg_schemaorg_localbusiness', 'plugin', 'localbusiness', 'schemaorg', 0, 1, 1, 0, 1, '', '{}', '', 6, 0),
(0, 'plg_schemaorg_organization', 'plugin', 'organization', 'schemaorg', 0, 1, 1, 0, 1, '', '{}', '', 7, 0),
(0, 'plg_schemaorg_person', 'plugin', 'person', 'schemaorg', 0, 1, 1, 0, 1, '', '{}', '', 8, 0),
(0, 'plg_schemaorg_recipe', 'plugin', 'recipe', 'schemaorg', 0, 1, 1, 0, 1, '', '{}', '', 9, 0),
(0, 'plg_schemaorg_custom', 'plugin', 'custom', 'schemaorg', 0, 1, 1, 0, 1, '', '{}', '', 10, 0),

Step 3: Add the Plugin

Download the localbusiness plugin folder from mortezahonar/joomla-cms and place it here:

plugins/schemaorg/localbusiness

The folder should contain:

plugins/schemaorg/localbusiness/
├── localbusiness.xml
├── forms/
│   └── schemaorg.xml
├── services/
│   └── provider.php
└── src/
    └── Extension/
        └── Localbusiness.php

Step 4: Install Joomla

Install Joomla using your modified nightly build package.


Step 5: Test the Plugin

  1. After installation, go to Extensions → Plugins
  2. Find and enable "Schema.org - Localbusiness"
  3. Go to System → Clear Cache
  4. Create or edit an article
  5. Go to the "Schema" tab
  6. Select "LocalBusiness" from the schema type dropdown
  7. Fill in the fields (Name, Address, Telephone, etc.)
  8. Save the article
  9. View the article on the frontend
  10. Check the page source (Ctrl+U) for <script type="application/ld+json"> with @type: "LocalBusiness"

Expected Result

The LocalBusiness schema type appears in the dropdown, form fields are displayed, data is saved to the database and appears as JSON-LD in the frontend with @type: "LocalBusiness".


Note: I apologize for not being able to upload the files directly to GitHub at this time due to internet restrictions. I will upload them as soon as possible. Thank you for your understanding.

avatar mortezahonar
mortezahonar - comment - 3 May 2026

Hi @mortezahonar - thank you for this PR, potentially great addition to Joomla. You mention:

Install the plugin by copying the localbusiness folder to /plugins/schemaorg/ or install via zip.

I could not find a zip file or a localbusiness folder that you are referring to. Could you please provide that attachment and update the TESTING INSTRUCTIONS? thank you so much.

@exlemor

Testing Instructions for PR #47667

Prerequisite:
Download the latest Joomla 6.2 Nightly Build from developer.joomla.org/nightly-builds.html


Step 1: Add Language Files

Download the following two language files from mortezahonar/joomla-cms:

  • administrator/language/en-GB/plg_schemaorg_localbusiness.ini
  • administrator/language/en-GB/plg_schemaorg_localbusiness.sys.ini

Copy both files to the same path on your Joomla installation:
administrator/language/en-GB/


Step 2: Modify Database Installation Files

Edit the following SQL files inside your nightly build package:

  • installation/sql/mysql/base.sql
  • installation/sql/postgresql/base.sql

Find this section:

(0, 'plg_schemaorg_organization', 'plugin', 'organization', 'schemaorg', 0, 1, 1, 0, 1, '', '{}', '', 6, 0),
(0, 'plg_schemaorg_person', 'plugin', 'person', 'schemaorg', 0, 1, 1, 0, 1, '', '{}', '', 7, 0),
(0, 'plg_schemaorg_recipe', 'plugin', 'recipe', 'schemaorg', 0, 1, 1, 0, 1, '', '{}', '', 8, 0),
(0, 'plg_schemaorg_custom', 'plugin', 'custom', 'schemaorg', 0, 1, 1, 0, 1, '', '{}', '', 9, 0),

Replace with:

(0, 'plg_schemaorg_localbusiness', 'plugin', 'localbusiness', 'schemaorg', 0, 1, 1, 0, 1, '', '{}', '', 6, 0),
(0, 'plg_schemaorg_organization', 'plugin', 'organization', 'schemaorg', 0, 1, 1, 0, 1, '', '{}', '', 7, 0),
(0, 'plg_schemaorg_person', 'plugin', 'person', 'schemaorg', 0, 1, 1, 0, 1, '', '{}', '', 8, 0),
(0, 'plg_schemaorg_recipe', 'plugin', 'recipe', 'schemaorg', 0, 1, 1, 0, 1, '', '{}', '', 9, 0),
(0, 'plg_schemaorg_custom', 'plugin', 'custom', 'schemaorg', 0, 1, 1, 0, 1, '', '{}', '', 10, 0),

Step 3: Add the Plugin

Download the localbusiness plugin folder from mortezahonar/joomla-cms and place it here:

plugins/schemaorg/localbusiness

The folder should contain:

plugins/schemaorg/localbusiness/
├── localbusiness.xml
├── forms/
│   └── schemaorg.xml
├── services/
│   └── provider.php
└── src/
    └── Extension/
        └── Localbusiness.php

Step 4: Install Joomla

Install Joomla using your modified nightly build package.


Step 5: Test the Plugin

  1. After installation, go to Extensions → Plugins
  2. Find and enable "Schema.org - Localbusiness"
  3. Go to System → Clear Cache
  4. Create or edit an article
  5. Go to the "Schema" tab
  6. Select "LocalBusiness" from the schema type dropdown
  7. Fill in the fields (Name, Address, Telephone, etc.)
  8. Save the article
  9. View the article on the frontend
  10. Check the page source (Ctrl+U) for <script type="application/ld+json"> with @type: "LocalBusiness"

Expected Result

The LocalBusiness schema type appears in the dropdown, form fields are displayed, data is saved to the database and appears as JSON-LD in the frontend with @type: "LocalBusiness".


Note: I apologize for not being able to upload the files directly to GitHub at this time due to internet restrictions. I will upload them as soon as possible. Thank you for your understanding.

avatar mortezahonar
mortezahonar - comment - 3 May 2026

Hi @mortezahonar - thank you for this PR, potentially great addition to Joomla. You mention:

Install the plugin by copying the localbusiness folder to /plugins/schemaorg/ or install via zip.

I could not find a zip file or a localbusiness folder that you are referring to. Could you please provide that attachment and update the TESTING INSTRUCTIONS? thank you so much.

@exlemor

Testing Instructions for PR #47667

Prerequisite:
Download the latest Joomla 6.2 Nightly Build from developer.joomla.org/nightly-builds.html


Step 1: Add Language Files

Download the following two language files from mortezahonar/joomla-cms:

  • administrator/language/en-GB/plg_schemaorg_localbusiness.ini
  • administrator/language/en-GB/plg_schemaorg_localbusiness.sys.ini

Copy both files to the same path on your Joomla installation:
administrator/language/en-GB/


Step 2: Modify Database Installation Files

Edit the following SQL files inside your nightly build package:

  • installation/sql/mysql/base.sql
  • installation/sql/postgresql/base.sql

Find this section:

(0, 'plg_schemaorg_organization', 'plugin', 'organization', 'schemaorg', 0, 1, 1, 0, 1, '', '{}', '', 6, 0),
(0, 'plg_schemaorg_person', 'plugin', 'person', 'schemaorg', 0, 1, 1, 0, 1, '', '{}', '', 7, 0),
(0, 'plg_schemaorg_recipe', 'plugin', 'recipe', 'schemaorg', 0, 1, 1, 0, 1, '', '{}', '', 8, 0),
(0, 'plg_schemaorg_custom', 'plugin', 'custom', 'schemaorg', 0, 1, 1, 0, 1, '', '{}', '', 9, 0),

Replace with:

(0, 'plg_schemaorg_localbusiness', 'plugin', 'localbusiness', 'schemaorg', 0, 1, 1, 0, 1, '', '{}', '', 6, 0),
(0, 'plg_schemaorg_organization', 'plugin', 'organization', 'schemaorg', 0, 1, 1, 0, 1, '', '{}', '', 7, 0),
(0, 'plg_schemaorg_person', 'plugin', 'person', 'schemaorg', 0, 1, 1, 0, 1, '', '{}', '', 8, 0),
(0, 'plg_schemaorg_recipe', 'plugin', 'recipe', 'schemaorg', 0, 1, 1, 0, 1, '', '{}', '', 9, 0),
(0, 'plg_schemaorg_custom', 'plugin', 'custom', 'schemaorg', 0, 1, 1, 0, 1, '', '{}', '', 10, 0),

Step 3: Add the Plugin

Download the localbusiness plugin folder from mortezahonar/joomla-cms/plugins/schemaorg/localbusiness and place it here:

plugins/schemaorg/localbusiness

The folder should contain:

plugins/schemaorg/localbusiness/
├── localbusiness.xml
├── forms/
│   └── schemaorg.xml
├── services/
│   └── provider.php
└── src/
    └── Extension/
        └── Localbusiness.php

Step 4: Install Joomla

Install Joomla using your modified nightly build package.


Step 5: Test the Plugin

  1. After installation, go to Extensions → Plugins
  2. Find and enable "Schema.org - Localbusiness"
  3. Go to System → Clear Cache
  4. Create or edit an article
  5. Go to the "Schema" tab
  6. Select "LocalBusiness" from the schema type dropdown
  7. Fill in the fields (Name, Address, Telephone, etc.)
  8. Save the article
  9. View the article on the frontend
  10. Check the page source (Ctrl+U) for <script type="application/ld+json"> with @type: "LocalBusiness"

Expected Result

The LocalBusiness schema type appears in the dropdown, form fields are displayed, data is saved to the database and appears as JSON-LD in the frontend with @type: "LocalBusiness".


Note: I apologize for not being able to upload the files directly to GitHub at this time due to internet restrictions. I will upload them as soon as possible. Thank you for your understanding.

avatar mortezahonar
mortezahonar - comment - 3 May 2026

Hi @mortezahonar - thank you for this PR, potentially great addition to Joomla. You mention:

Install the plugin by copying the localbusiness folder to /plugins/schemaorg/ or install via zip.

I could not find a zip file or a localbusiness folder that you are referring to. Could you please provide that attachment and update the TESTING INSTRUCTIONS? thank you so much.

@exlemor

Testing Instructions for PR #47667

Prerequisite:
Download the latest Joomla 6.2 Nightly Build from developer.joomla.org/nightly-builds.html


Step 1: Add Language Files

Download the following two language files from mortezahonar/joomla-cms:

  • administrator/language/en-GB/plg_schemaorg_localbusiness.ini
  • administrator/language/en-GB/plg_schemaorg_localbusiness.sys.ini

Copy both files to the same path on your Joomla installation:
administrator/language/en-GB/


Step 2: Modify Database Installation Files

Edit the following SQL files inside your nightly build package:

  • installation/sql/mysql/base.sql
  • installation/sql/postgresql/base.sql

Find this section:

(0, 'plg_schemaorg_organization', 'plugin', 'organization', 'schemaorg', 0, 1, 1, 0, 1, '', '{}', '', 6, 0),
(0, 'plg_schemaorg_person', 'plugin', 'person', 'schemaorg', 0, 1, 1, 0, 1, '', '{}', '', 7, 0),
(0, 'plg_schemaorg_recipe', 'plugin', 'recipe', 'schemaorg', 0, 1, 1, 0, 1, '', '{}', '', 8, 0),
(0, 'plg_schemaorg_custom', 'plugin', 'custom', 'schemaorg', 0, 1, 1, 0, 1, '', '{}', '', 9, 0),

Replace with:

(0, 'plg_schemaorg_localbusiness', 'plugin', 'localbusiness', 'schemaorg', 0, 1, 1, 0, 1, '', '{}', '', 6, 0),
(0, 'plg_schemaorg_organization', 'plugin', 'organization', 'schemaorg', 0, 1, 1, 0, 1, '', '{}', '', 7, 0),
(0, 'plg_schemaorg_person', 'plugin', 'person', 'schemaorg', 0, 1, 1, 0, 1, '', '{}', '', 8, 0),
(0, 'plg_schemaorg_recipe', 'plugin', 'recipe', 'schemaorg', 0, 1, 1, 0, 1, '', '{}', '', 9, 0),
(0, 'plg_schemaorg_custom', 'plugin', 'custom', 'schemaorg', 0, 1, 1, 0, 1, '', '{}', '', 10, 0),

Step 3: Add the Plugin

Download the localbusiness plugin folder from mortezahonar/joomla-cms/plugins/schemaorg/localbusiness and place it here:

plugins/schemaorg/localbusiness

The folder should contain:

plugins/schemaorg/localbusiness/
├── localbusiness.xml
├── forms/
│   └── schemaorg.xml
├── services/
│   └── provider.php
└── src/
    └── Extension/
        └── Localbusiness.php

Step 4: Install Joomla

Install Joomla using your modified nightly build package.


Step 5: Test the Plugin

  1. After installation, go to Extensions → Plugins
  2. Find Schema.org - Localbusiness and make sure it is enabled
  3. Go to System → Clear Cache
  4. Create or edit an article
  5. Go to the "Schema" tab
  6. Select "LocalBusiness" from the schema type dropdown
  7. Fill in the fields (Name, Address, Telephone, etc.)
  8. Save the article
  9. View the article on the frontend
  10. Check the page source (Ctrl+U) for <script type="application/ld+json"> with @type: "LocalBusiness"

Expected Result

The LocalBusiness schema type appears in the dropdown, form fields are displayed, data is saved to the database and appears as JSON-LD in the frontend with @type: "LocalBusiness".


Note: I apologize for not being able to upload the files directly to GitHub at this time due to internet restrictions. I will upload them as soon as possible. Thank you for your understanding.

avatar mortezahonar
mortezahonar - comment - 3 May 2026

Hi @mortezahonar - thank you for this PR, potentially great addition to Joomla. You mention:

Install the plugin by copying the localbusiness folder to /plugins/schemaorg/ or install via zip.

I could not find a zip file or a localbusiness folder that you are referring to. Could you please provide that attachment and update the TESTING INSTRUCTIONS? thank you so much.

@exlemor

Testing Instructions

Prerequisite:
Download the latest Joomla 6.2 Nightly Build from developer.joomla.org/nightly-builds.html


Step 1: Add Language Files

Download the following two language files from mortezahonar/joomla-cms:

  • administrator/language/en-GB/plg_schemaorg_localbusiness.ini
  • administrator/language/en-GB/plg_schemaorg_localbusiness.sys.ini

Copy both files to the same path on your Joomla installation:
administrator/language/en-GB/


Step 2: Modify Database Installation Files

Edit the following SQL files inside your nightly build package:

  • installation/sql/mysql/base.sql
  • installation/sql/postgresql/base.sql

Find this section:

(0, 'plg_schemaorg_organization', 'plugin', 'organization', 'schemaorg', 0, 1, 1, 0, 1, '', '{}', '', 6, 0),
(0, 'plg_schemaorg_person', 'plugin', 'person', 'schemaorg', 0, 1, 1, 0, 1, '', '{}', '', 7, 0),
(0, 'plg_schemaorg_recipe', 'plugin', 'recipe', 'schemaorg', 0, 1, 1, 0, 1, '', '{}', '', 8, 0),
(0, 'plg_schemaorg_custom', 'plugin', 'custom', 'schemaorg', 0, 1, 1, 0, 1, '', '{}', '', 9, 0),

Replace with:

(0, 'plg_schemaorg_localbusiness', 'plugin', 'localbusiness', 'schemaorg', 0, 1, 1, 0, 1, '', '{}', '', 6, 0),
(0, 'plg_schemaorg_organization', 'plugin', 'organization', 'schemaorg', 0, 1, 1, 0, 1, '', '{}', '', 7, 0),
(0, 'plg_schemaorg_person', 'plugin', 'person', 'schemaorg', 0, 1, 1, 0, 1, '', '{}', '', 8, 0),
(0, 'plg_schemaorg_recipe', 'plugin', 'recipe', 'schemaorg', 0, 1, 1, 0, 1, '', '{}', '', 9, 0),
(0, 'plg_schemaorg_custom', 'plugin', 'custom', 'schemaorg', 0, 1, 1, 0, 1, '', '{}', '', 10, 0),

Step 3: Add the Plugin

Download the localbusiness plugin folder from mortezahonar/joomla-cms/plugins/schemaorg/localbusiness and place it here:

plugins/schemaorg/localbusiness

The folder should contain:

plugins/schemaorg/localbusiness/
├── localbusiness.xml
├── forms/
│   └── schemaorg.xml
├── services/
│   └── provider.php
└── src/
    └── Extension/
        └── Localbusiness.php

Step 4: Install Joomla

Install Joomla using your modified nightly build package.


Step 5: Test the Plugin

  1. After installation, go to Extensions → Plugins
  2. Find Schema.org - Localbusiness and make sure it is enabled
  3. Go to System → Clear Cache
  4. Create or edit an article
  5. Go to the "Schema" tab
  6. Select "LocalBusiness" from the schema type dropdown
  7. Fill in the fields (Name, Address, Telephone, etc.)
  8. Save the article
  9. View the article on the frontend
  10. Check the page source (Ctrl+U) for <script type="application/ld+json"> with @type: "LocalBusiness"

Expected Result

The LocalBusiness schema type appears in the dropdown, form fields are displayed, data is saved to the database and appears as JSON-LD in the frontend with @type: "LocalBusiness".


Note: I apologize for not being able to upload the files directly to GitHub at this time due to internet restrictions. I will upload them as soon as possible. Thank you for your understanding.

avatar brianteeman
brianteeman - comment - 3 May 2026

We understand the internet restrictions you are facing at this time and hope they will be over soon.

avatar alikon
alikon - comment - 4 May 2026

you need to add this new plugin here

// Core plugin extensions - schemaorg
['plugin', 'article', 'schemaorg', 0],
['plugin', 'blogposting', 'schemaorg', 0],
['plugin', 'book', 'schemaorg', 0],
['plugin', 'custom', 'schemaorg', 0],
['plugin', 'event', 'schemaorg', 0],
['plugin', 'jobposting', 'schemaorg', 0],
['plugin', 'organization', 'schemaorg', 0],
['plugin', 'person', 'schemaorg', 0],
['plugin', 'recipe', 'schemaorg', 0],

avatar joomla-cms-bot joomla-cms-bot - change - 4 May 2026
Category Administration Language & Strings Front End Plugins SQL Installation Postgresql Administration Language & Strings SQL Installation Postgresql Libraries Front End Plugins
avatar mortezahonar
mortezahonar - comment - 4 May 2026

you need to add this new plugin here

// Core plugin extensions - schemaorg
['plugin', 'article', 'schemaorg', 0],
['plugin', 'blogposting', 'schemaorg', 0],
['plugin', 'book', 'schemaorg', 0],
['plugin', 'custom', 'schemaorg', 0],
['plugin', 'event', 'schemaorg', 0],
['plugin', 'jobposting', 'schemaorg', 0],
['plugin', 'organization', 'schemaorg', 0],
['plugin', 'person', 'schemaorg', 0],
['plugin', 'recipe', 'schemaorg', 0],

Thank you for the guidance, @alikon.
The change has been committed.

avatar mortezahonar
mortezahonar - comment - 4 May 2026

you need to add this new plugin here

// Core plugin extensions - schemaorg
['plugin', 'article', 'schemaorg', 0],
['plugin', 'blogposting', 'schemaorg', 0],
['plugin', 'book', 'schemaorg', 0],
['plugin', 'custom', 'schemaorg', 0],
['plugin', 'event', 'schemaorg', 0],
['plugin', 'jobposting', 'schemaorg', 0],
['plugin', 'organization', 'schemaorg', 0],
['plugin', 'person', 'schemaorg', 0],
['plugin', 'recipe', 'schemaorg', 0],

Thank you for the guidance, @alikon.
The change has been committed.

avatar mortezahonar
mortezahonar - comment - 4 May 2026

you need to add this new plugin here

Thank you for the guidance, @alikon.
The change has been committed.

avatar mortezahonar
mortezahonar - comment - 4 May 2026

you need to add this new plugin here

Thank you for the guidance, @alikon.
The change has been committed.

avatar joomla-cms-bot joomla-cms-bot - change - 4 May 2026
Category Administration Language & Strings Front End Plugins SQL Installation Postgresql Libraries Administration Language & Strings SQL Installation Postgresql Front End Plugins
avatar joomla-cms-bot joomla-cms-bot - change - 4 May 2026
Category Administration Language & Strings Front End Plugins SQL Installation Postgresql Administration Language & Strings SQL Installation Postgresql Libraries Front End Plugins
avatar mortezahonar mortezahonar - change - 5 May 2026
Status Pending Closed
Closed_Date 0000-00-00 00:00:00 2026-05-05 14:36:26
Closed_By mortezahonar
avatar mortezahonar mortezahonar - close - 5 May 2026
avatar mortezahonar mortezahonar - change - 5 May 2026
Status Closed New
Closed_Date 2026-05-05 14:36:26
Closed_By mortezahonar
avatar mortezahonar mortezahonar - change - 5 May 2026
Status New Pending
avatar mortezahonar mortezahonar - reopen - 5 May 2026
avatar mortezahonar
mortezahonar - comment - 5 May 2026

I see two checks in failing/pending state:

Is there anything I need to fix on my side? Or could this be related to the internet restrictions I'm currently facing?

If not, I will wait and leave it to the maintainers' discretion.

Thank you.

avatar mortezahonar
mortezahonar - comment - 5 May 2026

I see two checks in failing/pending state:

  • continuous-integration/drone/pr — Build is failing (red)

  • DownloadExpected — Waiting for status to be reported (orange)

Is there anything I need to fix on my side? Or could this be related to the internet restrictions I'm currently facing?

If not, I will wait and leave it to the maintainers' discretion.

Thank you.

avatar alikon
alikon - comment - 5 May 2026

No there Is nothing you can do from your side, i see the same happens tò other pr as well, something wrong on drone

avatar mortezahonar mortezahonar - change - 12 May 2026
The description was changed
avatar mortezahonar mortezahonar - edited - 12 May 2026
avatar mortezahonar mortezahonar - change - 12 May 2026
The description was changed
avatar mortezahonar mortezahonar - edited - 12 May 2026

Add a Comment

Login with GitHub to post a comment