简体   繁体   English

自己的typo3 扩展没有显示在扩展管理器(作曲家模式)中

[英]own typo3 Extension doesn't get shown in Extension Manager (Composer Mode)

Im trying to set up my own Extension, for having in the all kind of changes to my Site.我正在尝试设置我自己的扩展程序,以便对我的站点进行各种更改。 I set up typo3 9.5.5 via.我通过设置typo3 9.5.5。 Composer.作曲家。 The next step was building up my own extension.下一步是建立我自己的扩展。 I followed the official docs and also added a composer.json, but it wont show up in the Extension Manager.我遵循了官方文档并添加了一个 composer.json,但它不会出现在扩展管理器中。

ext_emconf ext_emconf

<?php
$EM_CONF[$_EXTKEY]=[
'title'=>'MS Site Extension',
'description'=>'TYPO3 Site Extionsion',
'category'=>'plugin',
'author'=>'-',
'author_company'=>'-',
'author_email'=>'-',
'state'=>'alpha',
'clearCacheOnLoad'=>true,
'version'=>'0.0.1',
'constraints'=>[
  'depends'=>[
    'typo3'=>'9.5.5-9.9.99',
  ],
],
'autoload'=>[
  'psr-4'=>[
    'Ms\\MsSite\\'=>'Classes'
  ],
],
]; 

composer.json of the extension扩展的 composer.json

{
"name": "ms/ms_site",
"type": "typo3-cms-extension",
"description": "MS SITE",
"license": [
"GPL-2.0+"
],
"keywords": [
  "typo3",
  "cms",
  "ms",
  "ms_site"
],
"version": "0.0.1-dev",
"require": {
  "typo3/cms": "^9.5"
},
"autoload-dev": {
  "psr-4": {
    "Ms\\MsSite\\": "Classes/"
  },
  "replace": {
    "hellotypo3": "self.version",
    "typo3-ter/ms_site": "self.version"
  },
  "extra": {
    "typo3/cms": {
      "extension-key": "ms_site"
    }
  }
}
}

I'm a bit confused what I have to do now, the only place where my extension currently is, is at: typo3conf/ext, I configured it in the ext_emconf and the composer.json of the extension.我有点困惑我现在必须做什么,我的扩展目前唯一的地方是:typo3conf/ext,我在扩展的 ext_emconf 和 composer.json 中配置了它。

How do I solve this problem?我该如何解决这个问题?

Edit: Hmm my console tells me that ms_site is added to PackageStates but I still can't see my Extension in my Backend ...编辑:嗯,我的控制台告诉我 ms_site 已添加到 PackageStates 但我仍然无法在后端看到我的扩展...

在此处输入图片说明

I'm just tilted and dumb, after over 4 hours of searching I recognized my mistake ... I just didnt uploaded the data to my server.我只是倾斜和愚蠢,经过 4 个多小时的搜索,我意识到我的错误......我只是没有将数据上传到我的服务器。 :) I thought that I enabled an auto upload but it wasn't. :) 我以为我启用了自动上传,但事实并非如此。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM