-
-
Notifications
You must be signed in to change notification settings - Fork 3.8k
[5.1] Implement Schema.org Product type plugin #42710
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
Closed
Changes from all commits
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
60d2afd
implements product schema plugin
krileon d6087fa
adds product schema form
krileon df992ea
adds product schema translations
krileon 36cd05d
adds product schema to known extensions list
krileon f41d5a7
adds product schema to install sql
krileon 0e7b2e4
adds product schema update scripts
krileon d704872
Update libraries/src/Extension/ExtensionHelper.php
krileon 2940695
sort lang strings
krileon d40c848
Merge branch 'product-schema' of https://github.com/krileon/joomla-cm…
krileon 30f0fec
fixes label order
krileon 82d2122
Apply suggestions from code review
krileon c08a710
Merge branch '5.1-dev' into product-schema
LadySolveig File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
2 changes: 2 additions & 0 deletions
2
administrator/components/com_admin/sql/updates/mysql/5.1.0-2024-01-25.sql
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,2 @@ | ||
| INSERT INTO `#__extensions` (`package_id`, `name`, `type`, `element`, `folder`, `client_id`, `enabled`, `access`, `protected`, `locked`, `manifest_cache`, `params`, `custom_data`, `ordering`, `state`) VALUES | ||
| (0, 'plg_schemaorg_product', 'plugin', 'product', 'schemaorg', 0, 1, 1, 0, 0, '', '{}', '', 0, 0); |
2 changes: 2 additions & 0 deletions
2
administrator/components/com_admin/sql/updates/postgresql/5.1.0-2024-01-25.sql
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,2 @@ | ||
| INSERT INTO "#__extensions" ("package_id", "name", "type", "element", "folder", "client_id", "enabled", "access", "protected", "locked", "manifest_cache", "params", "custom_data", "ordering", "state") VALUES | ||
| (0, 'plg_schemaorg_product', 'plugin', 'product', 'schemaorg', 0, 1, 1, 0, 0, '', '{}', '', 0, 0); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,39 @@ | ||
| ; Joomla! Project | ||
| ; (C) 2024 Open Source Matters, Inc. <https://www.joomla.org> | ||
| ; License GNU General Public License version 2 or later; see LICENSE.txt | ||
| ; Note : All ini files need to be saved as UTF-8 | ||
|
|
||
| PLG_SCHEMAORG_PRODUCT="Schema.org - Product" | ||
| PLG_SCHEMAORG_PRODUCT_DESCRIPTION_LABEL="More information on the Schema.org Product Type can be found at <a href=\"https://schema.org/Product\" target=\"_blank\" rel=\"noopener noreferrer\">https://schema.org/Product</a>" | ||
| PLG_SCHEMAORG_PRODUCT_FIELD_ADDRESS_LABEL="Address" | ||
| PLG_SCHEMAORG_PRODUCT_FIELD_BRAND_LABEL="Brand" | ||
| PLG_SCHEMAORG_PRODUCT_FIELD_CATEGORY_LABEL="Category" | ||
| PLG_SCHEMAORG_PRODUCT_FIELD_COLOR_LABEL="Color" | ||
| PLG_SCHEMAORG_PRODUCT_FIELD_CURRENCY_LABEL="Currency" | ||
| PLG_SCHEMAORG_PRODUCT_FIELD_DATE_PRODUCTION_LABEL="Date Produced" | ||
| PLG_SCHEMAORG_PRODUCT_FIELD_DATE_RELEASE_LABEL="Date Released" | ||
| PLG_SCHEMAORG_PRODUCT_FIELD_DEPTH_LABEL="Depth" | ||
| PLG_SCHEMAORG_PRODUCT_FIELD_DESCRIPTION_LABEL="Description" | ||
| PLG_SCHEMAORG_PRODUCT_FIELD_EMAIL_LABEL="Email" | ||
| PLG_SCHEMAORG_PRODUCT_FIELD_GENERIC_FIELD_LABEL="Generic Field" | ||
| PLG_SCHEMAORG_PRODUCT_FIELD_GENERIC_TITLE_LABEL="Title" | ||
| PLG_SCHEMAORG_PRODUCT_FIELD_GENERIC_VALUE_LABEL="Value" | ||
| PLG_SCHEMAORG_PRODUCT_FIELD_HEIGHT_LABEL="Height" | ||
| PLG_SCHEMAORG_PRODUCT_FIELD_IMAGE_LABEL="Image" | ||
| PLG_SCHEMAORG_PRODUCT_FIELD_LOCALITY_LABEL="Locality" | ||
| PLG_SCHEMAORG_PRODUCT_FIELD_LOGO_LABEL="Logo" | ||
| PLG_SCHEMAORG_PRODUCT_FIELD_MANUFACTURER_LABEL="Manufacturer" | ||
| PLG_SCHEMAORG_PRODUCT_FIELD_MATERIAL_LABEL="Material" | ||
| PLG_SCHEMAORG_PRODUCT_FIELD_MODEL_LABEL="Model" | ||
| PLG_SCHEMAORG_PRODUCT_FIELD_NAME_LABEL="Name" | ||
| PLG_SCHEMAORG_PRODUCT_FIELD_OFFERS_LABEL="Price" | ||
| PLG_SCHEMAORG_PRODUCT_FIELD_ORGANIZATION_LABEL="Organization" | ||
| PLG_SCHEMAORG_PRODUCT_FIELD_POSTAL_CODE_LABEL="Postal Code" | ||
| PLG_SCHEMAORG_PRODUCT_FIELD_SIZE_LABEL="Size" | ||
| PLG_SCHEMAORG_PRODUCT_FIELD_SKU_LABEL="SKU" | ||
| PLG_SCHEMAORG_PRODUCT_FIELD_STREET_ADDRESS_LABEL="Street Address" | ||
| PLG_SCHEMAORG_PRODUCT_FIELD_TYPE_LABEL="Type" | ||
| PLG_SCHEMAORG_PRODUCT_FIELD_URL_LABEL="Url" | ||
| PLG_SCHEMAORG_PRODUCT_FIELD_VALUE_LABEL="Value" | ||
| PLG_SCHEMAORG_PRODUCT_FIELD_WIDTH_LABEL="Width" | ||
| PLG_SCHEMAORG_PRODUCT_XML_DESCRIPTION="Adds Product as a new schema type in existing schemas." | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,7 @@ | ||
| ; Joomla! Project | ||
| ; (C) 2024 Open Source Matters, Inc. <https://www.joomla.org> | ||
| ; License GNU General Public License version 2 or later; see LICENSE.txt | ||
| ; Note : All ini files need to be saved as UTF-8 | ||
|
|
||
| PLG_SCHEMAORG_PRODUCT="Schema.org - Product" | ||
| PLG_SCHEMAORG_PRODUCT_XML_DESCRIPTION="Adds Product as a new schema type in existing schemas." |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.