No Code Attached Yet
avatar stephan-ansems
stephan-ansems
2 May 2022

According to the documentation (read it here) the manifest file of a component must be named manifest.xml or <extension_name>.xml.

However if you use the name manifest.xml the component will install properly, but fail to work. Probably you'll get errors lile 'Class ... not found' or 'Layout default not found'. It took me ages to figure out if i made some typo somewhere, but it turns out that the manual and documentation is wrong:

The following line in the code expects the manifext to be called <extension_name>.xml and that you component declares it namespace tag in the manifest, otherwise it will not generate an entry in the namespace map and you'll end up wasting time.

$file = $extensionPath . $name . '.xml';

Either update the doc, or add a line for manifest.xml to the code.

avatar stephan-ansems stephan-ansems - open - 2 May 2022
avatar joomla-cms-bot joomla-cms-bot - change - 2 May 2022
Labels Added: No Code Attached Yet
avatar joomla-cms-bot joomla-cms-bot - labeled - 2 May 2022
avatar chmst chmst - change - 2 May 2022
Status New Closed
Closed_Date 0000-00-00 00:00:00 2022-05-02 19:28:08
Closed_By chmst
avatar chmst chmst - close - 2 May 2022
avatar chmst
chmst - comment - 2 May 2022

Sorry but this is not the right place for your problem. Please ask here https://joomla.stackexchange.com/ or in forum.joomla.org.

avatar stephan-ansems
stephan-ansems - comment - 3 May 2022

It is not a support request, it is a bug in the code or the documentation.

Add a Comment

Login with GitHub to post a comment