Skip to content

Commit

Permalink
redo media field
Browse files Browse the repository at this point in the history
  • Loading branch information
astridx committed Nov 8, 2022
1 parent 40f7a24 commit ff26775
Show file tree
Hide file tree
Showing 5 changed files with 70 additions and 253 deletions.
40 changes: 39 additions & 1 deletion aggpxtrack-update4.xml
Original file line number Diff line number Diff line change
Expand Up @@ -122,4 +122,42 @@
<sha256>ed8c3dd2f80f279758d4753e61950c3c0d255da83b319c4fc6535ca7595c7bbf</sha256>
<sha384>830321c8a8e4907b23de751f2d220bbc36e69004098192a57943402a81a2dba8261f6687abef8060f6dc3695fdcdd39f</sha384>
</update>
</updates>
<update>
<name>pkg_aggpxtrack</name>
<description>pkg_aggpxtrack</description>
<element>pkg_aggpxtrack</element>
<type>package</type>
<client>site</client>
<version>5.0.0</version>
<infourl title="aggpxtrack">https://github.com/astridx/pkg_aggpxtrack/blob/v5.0.0/README.md</infourl>
<downloads>
<downloadurl type="full" format="zip">https://github.com/astridx/pkg_aggpxtrack/releases/download/v5.0.0/pkg-aggpxtrack-5.0.0.zip</downloadurl>
</downloads>
<tags>
<tag>stable</tag>
</tags>
<maintainer>Astrid Günther</maintainer>
<maintainerurl>https://astrid-guenther.de</maintainerurl>
<targetplatform name="joomla" version="4.*"/>
<sha256>e0d19fa728f8806e9e61ce8c85377961036611167eeb3615e5ba90faf1e7ba51</sha256>
<sha384>546671c3c59b2c268f017ed95c9c78e87bb6d73a5d6a1b72a2b798359a93d4e34ce0f847edb4d15111324c9f9d8adf2d</sha384>
</update>
<update>
<name>pkg_aggpxtrack</name>
<description>pkg_aggpxtrack</description>
<element>pkg_aggpxtrack</element>
<type>package</type>
<client>site</client>
<version>5.0.1</version>
<infourl title="aggpxtrack">https://github.com/astridx/pkg_aggpxtrack/blob/v5.0.1/README.md</infourl>
<downloads>
<downloadurl type="full" format="zip">https://github.com/astridx/pkg_aggpxtrack/releases/download/v5.0.1/pkg-aggpxtrack-5.0.1.zip</downloadurl>
</downloads>
<tags>
<tag>stable</tag>
</tags>
<maintainer>Astrid Günther</maintainer>
<maintainerurl>https://astrid-guenther.de</maintainerurl>
<targetplatform name="joomla" version="4.*"/>
</update>
</updates>
16 changes: 16 additions & 0 deletions changelog.xml
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,20 @@
<item>Correct Panel Layer</item>
</note>
</changelog>
<changelog>
<element>pkg_aggpxtrack</element>
<type>package</type>
<version>5.0.0</version>
<note>
<item>Use Textfield instead of Mediafield</item>
</note>
</changelog>
<changelog>
<element>pkg_aggpxtrack</element>
<type>package</type>
<version>5.0.1</version>
<note>
<item>Use the Mediafield again</item>
</note>
</changelog>
</changelogs>
236 changes: 0 additions & 236 deletions j4/pkg_aggpxtrack/changelog.xml

This file was deleted.

2 changes: 1 addition & 1 deletion j4/pkg_aggpxtrack/jorobo.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
extension = aggpxtrack
version = 4.0.6
version = 5.0.1
source = src
target = package

Expand Down
29 changes: 14 additions & 15 deletions j4/pkg_aggpxtrack/src/plugins/fields/aggpxtrack/aggpxtrack.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,19 +19,18 @@
*/
class PlgFieldsAggpxtrack extends \Joomla\Component\Fields\Administrator\Plugin\FieldsPlugin
{
/**
* Constructor
*
* @param object &$subject The object to observe
* @param array $config An array that holds the plugin configuration
*
* @since 1.5
*/
public function __construct(&$subject, $config)
{
parent::__construct($subject, $config);

/**
* Constructor
*
* @param object &$subject The object to observe
* @param array $config An array that holds the plugin configuration
*
* @since 1.5
*/
public function __construct(&$subject, $config)
{
parent::__construct($subject, $config);

FormHelper::addFieldPath(__DIR__ . '/field');
}
}
FormHelper::addFieldPath(__DIR__ . '/field');
}
}

0 comments on commit ff26775

Please sign in to comment.