Hi Matthias,

your metadata.php ist missing some entries. Unfortunately you have to include 
all of them ('files'. 'extend', 'templates', 'blocks', 'events', 'settings') 
even if they are empty.

If entries are missing then you won't be able to activate the module. Yes, the 
non-existent error message does not help.

Good luck!

Gernot
________________________________________
Von: [email protected] 
<[email protected]> im Auftrag von Matthias Kluth 
<[email protected]>
Gesendet: Donnerstag, 1. August 2013 12:58
An: [email protected]
Betreff: Re: [oxid-dev-general] Oxid Vendor folder

Hi Johannes,

it looks like this:

<?php

/**
  * comment description
  *
  * PHP version 5
  *
  * @category An/Category
  * @package  Some/Package
  * @author   Matthias Kluth <[email protected]>
  * @license  http://www.example.org/license.html tba.
  * @link     http://www.abc.de
  */

/**
  * Metadata version
  */
$sMetadataVersion = '1.1';

$aModule = array(
     'id'        =>    'modulename',
     'title'        =>    'Some fancy title',
     'extend'    =>    array(
         'erp'    =>
'vendorname/modulename/application/controller/someclass',
         ),
     );

On 01.08.2013 11:46, Johannes Ackermann wrote:
> Hi,
>
> what does your metadata.php look like?
>
>
> --Johannes
>
> -----Ursprüngliche Nachricht-----
> Von: [email protected] 
> [mailto:[email protected]] Im Auftrag von Matthias Kluth
> Gesendet: Donnerstag, 1. August 2013 11:40
> An: [email protected]
> Betreff: [oxid-dev-general] Oxid Vendor folder
>
> Good morning,
>
> I'm just trying to add a new module-folder inside of a vendor folder.
> So my setup is:
>
> modules/
> |
> |--vendorname
>       |--vendormetadata.php
>       |--modulename
>           |
>           |--metadata.php
>
> But as I want to activate it inside my oxid installation, it only shows me 
> the vendorname as modulename and tells me: "Module has no metadata file, so 
> for registering..."
>
> So it doesn't seem to recognize my vendor folder, right?
> Did I miss something? I guess it's just a small error, but I can't find it.
>
> I really appreciate your help.
>
> Have a nice day,
>
> Matthias Kluth
> _______________________________________________
> dev-general mailing list
> [email protected]
> http://dir.gmane.org/gmane.comp.php.oxid.general
> _______________________________________________
> dev-general mailing list
> [email protected]
> http://dir.gmane.org/gmane.comp.php.oxid.general

_______________________________________________
dev-general mailing list
[email protected]
http://dir.gmane.org/gmane.comp.php.oxid.general


_______________________________________________
dev-general mailing list
[email protected]
http://dir.gmane.org/gmane.comp.php.oxid.general

Reply via email to