FPA reports language constants as components from JCE Topic is solved

This Forum board is about discussions about the FPA tool.

Moderator: General Support Moderators

Locked
User avatar
toivo
Joomla! Master
Joomla! Master
Posts: 17435
Joined: Thu Feb 15, 2007 5:48 am
Location: Sydney, Australia

FPA reports language constants as components from JCE

Post by toivo » Wed Apr 12, 2023 10:29 pm

The FPA lists language constants as site components.

Test Environment

Wampserver 3.3.1 64bit on Windows 11
PHP 8.1.16
Joomla 4.2.9
JCE 2.9.36 free version
FPA 1.6.6

Example

Extensions Discovered :: wrote:Components :: Site ::
Core ::
3rd Party:: WF_AGGREGATOR_AUDIO_TITLE (2.9.36) ? | WF_AGGREGATOR_DAILYMOTION_TITLE (2.9.36) ? | WF_AGGREGATOR_VIDEO_TITLE (2.9.36) ? | WF_AGGREGATOR_VIMEO_TITLE (2.9.36) ? | WF_AGGREGATOR_[youtube]_TITLE (2.9.36) ? | WF_FILESYSTEM_JOOMLA_TITLE (2.9.36) ? | WF_LINKS_JOOMLALINKS_TITLE (2.9.36) ? | WF_POPUPS_JCEMEDIABOX_TITLE (2.9.36) ? | WF_LINK_SEARCH_TITLE (2.9.36) ? | WF_ANCHOR_TITLE (2.9.36) ? | WF_ARTICLE_TITLE (2.9.36) ? | WF_ATTRIBUTES_TITLE (2.9.36) ? | WF_AUTOSAVE_TITLE (2.9.36) ? | WF_BROWSER_TITLE (2.9.36) ? | WF_CHARMAP_TITLE (2.9.36) ? | WF_CLEANUP_TITLE (2.9.36) ? | WF_CLIPBOARD_TITLE (2.9.36) ? | WF_CONTEXTMENU_TITLE (2.9.36) ? | WF_DIRECTIONALITY_TITLE (2.9.36) ? | WF_EMOTIONS_TITLE (2.9.36) ? | WF_FONTCOLOR_TITLE (2.9.36) ? | WF_FONTSELECT_TITLE (2.9.36) ? | WF_FONTSIZESELECT_TITLE (2.9.36) ? | WF_FORMATSELECT_TITLE (2.9.36) ? | WF_FULLSCREEN_TITLE (2.9.36) ? | WF_HELP_TITLE (2.9.36) ? | WF_HR_TITLE (2.9.36) ? | WF_IMGMANAGER_TITLE (2.9.36) ? | WF_KITCHENSINK_TITLE (2.9.36) ? | WF_LANGCODE_TITLE (2.9.36) ? | WF_LINK_TITLE (2.9.36) ? | WF_LISTS_TITLE (2.9.36) ? | WF_MEDIA_TITLE (2.9.36) ? | WF_NONBREAKING_TITLE (2.9.36) ? | JCE - Noneditable (1.0.0) ? | WF_PREVIEW_TITLE (2.9.36) ? | WF_PRINT_TITLE (2.9.36) ? | WF_REFERENCE_TITLE (2.9.36) ? | WF_SEARCHREPLACE_TITLE (2.9.36) ? | WF_SOURCE_TITLE (2.9.36) ? | WF_SPELLCHECKER_TITLE (2.9.36) ? | WF_STYLE_TITLE (2.9.36) ? | WF_STYLESELECT_TITLE (2.9.36) ? | WF_TABLE_TITLE (2.9.36) ? | WF_TEXTCASE_TITLE (2.9.36) ? | WF_VISUALBLOCKS_TITLE (2.9.36) ? | WF_VISUALCHARS_TITLE (2.9.36) ? | WF_WORDCOUNT_TITLE (2.9.36) ? |
Toivo Talikka, Global Moderator

frostmakk
Joomla! Explorer
Joomla! Explorer
Posts: 262
Joined: Sun Dec 28, 2014 9:30 am
Location: Stavanger, Norway

Re: FPA reports language constants as components from JCE

Post by frostmakk » Thu Apr 13, 2023 11:26 am

The FPA read the manifest files. These "language constants" are how JCE name these components in the manifest.
They don't exist in the #_extensions table as indicated with a question mark in the FPA.
Here an example from root\components\com_jce\editor\extensions\aggregator\audio.xml:

Code: Select all

<?xml version="1.0" ?>
<extension version="3.4" type="plugin" group="jce" method="upgrade">
	<name>WF_AGGREGATOR_AUDIO_TITLE</name>
	<version>2.9.32</version>
	<creationDate>01-11-2022</creationDate>
	<author>Ryan Demmer</author>
	<authorEmail>[email protected]</authorEmail>
	<authorUrl>https://www.joomlacontenteditor.net/</authorUrl>
	<copyright>Copyright (C) 2006 - 2022 Ryan Demmer. All rights reserved</copyright>
	<license>GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html</license>
	<description>WF_AGGREGATOR_AUDIO_DESC</description>
	<files>
		<filename>audio.php</filename>
		<folder>audio</folder>
	</files>

User avatar
toivo
Joomla! Master
Joomla! Master
Posts: 17435
Joined: Thu Feb 15, 2007 5:48 am
Location: Sydney, Australia

Re: FPA reports language constants as components from JCE

Post by toivo » Thu Apr 13, 2023 1:23 pm

According to your manifest example, the type of the extension is supposed to be plugin, not component.
Toivo Talikka, Global Moderator

frostmakk
Joomla! Explorer
Joomla! Explorer
Posts: 262
Joined: Sun Dec 28, 2014 9:30 am
Location: Stavanger, Norway

Re: FPA reports language constants as components from JCE

Post by frostmakk » Thu Apr 13, 2023 3:30 pm

JCE has put it in the components folder, so that is where it is sorted. That's just how the FPA works.

User avatar
toivo
Joomla! Master
Joomla! Master
Posts: 17435
Joined: Thu Feb 15, 2007 5:48 am
Location: Sydney, Australia

Re: FPA reports language constants as components from JCE

Post by toivo » Thu Apr 13, 2023 9:53 pm

So, the way JCE or the Widget Factory makes available its or TinyMCE's plugins is the primary reason and the logic in the FPA, to search manifests beyond the top level of components, is the secondary reason. Understood.
Toivo Talikka, Global Moderator


Locked

Return to “Forum Post Assistant (FPA)”