mirror of
https://github.com/nextcloud/documentation.git
synced 2026-01-04 02:36:49 +07:00
more clarifications
This commit is contained in:
@@ -85,18 +85,18 @@ Now change into your app directory::
|
||||
|
||||
Modfiy Advanced Apptemplate
|
||||
---------------------------
|
||||
Certain things are still apptemplate specific and you will have to convert them to match your app.
|
||||
|
||||
.. todo::
|
||||
|
||||
Provide some sed commands for simple transformation
|
||||
You will want to replace the boilerplate code in the Apptemplate.
|
||||
|
||||
The following things will need to be changed:
|
||||
|
||||
* In every file: AGPL Headers
|
||||
* In every file: **namespace OCA\\AppTemplateAdvanced** to **namespace OCA\\YourAppName**
|
||||
* :file:`dependencyinjection/dicontainer.php`: The **parent::__construct('apptemplateadvanced')** to **parent::__construct('yourappname')**
|
||||
* :file:`appinfo/info.xml`: Your data
|
||||
* :file:`appinfo/info.xml`: :ref:`your personal settings <xml>`
|
||||
* :file:`appinfo/app.php`: the correct navigation settings
|
||||
* :file:`appinfo/routes.php`: the name of the routes
|
||||
* :file:`coffee/app.coffee`: the route names
|
||||
|
||||
.. todo::
|
||||
|
||||
Provide some sed commands for simple transformation
|
||||
@@ -37,6 +37,8 @@ You'll need to give some information on your app for instance the name. To do th
|
||||
|
||||
?>
|
||||
|
||||
.. _xml:
|
||||
|
||||
The second place where app specifc information is stored is in :file:`appinfo/info.xml`
|
||||
|
||||
.. code-block:: xml
|
||||
@@ -50,7 +52,6 @@ The second place where app specifc information is stored is in :file:`appinfo/in
|
||||
<licence>AGPL</licence>
|
||||
<author>Your Name</author>
|
||||
<require>4</require>
|
||||
<standalone/>
|
||||
<types>
|
||||
<filesystem/>
|
||||
</types>
|
||||
|
||||
Reference in New Issue
Block a user