Merge branch 'rel_ionCube_PHP56-70' of github.com:d3datadevelopment/contenttabs into rel_ionCube_PHP56-70

# Conflicts:
#	README.md
#	changelog.md
#	composer.json
#	docs/Precheck/d3precheck.php
#	docs/Precheck/modules/d3/contenttabs/Application/Controller/Admin/d3precheckinfolder.php
#	docs/Precheck/modules/d3/contenttabs/Setup/d3precheckinfolder.php
#	docs/Precheck/modules/d3/contenttabs/d3precheckinfolder.php
#	src/Application/Controller/Admin/contentTabList.php
#	src/Application/Controller/Admin/contentTabs.php
#	src/Application/Controller/Admin/settings.php
#	src/Application/Controller/Admin/support.php
#	src/Application/Model/contentTabs.php
#	src/Application/translations/de/d3_contenttabs_lang.php
#	src/Application/views/admin/de/d3_contenttabs_lang.php
#	src/Application/views/admin/tpl/contentTabList.tpl
#	src/Application/views/admin/tpl/contentTabs.tpl
#	src/IntelliSenseHelper.php
#	src/Setup/setupWizard.php
#	src/menu.xml
#	src/metadata.php
#	src/modules/Application/Component/Widget/d3_oxwarticledetails_contenttabs.php
#	src/modules/Application/Model/d3_oxarticle_longtexts.php
This commit is contained in:
Daniel Seifert 2018-10-19 15:53:55 +02:00
commit 9fe3684892
7 changed files with 2866 additions and 2870 deletions

View File

@ -1,18 +1,18 @@
# D³ Content Tabs für OXID eShop
Erweiterung der Produktdetailsseite mit weiteren "Tabs".
Dies ermöglicht es viele Produktionformationen sauber und übersichtlich auszulisten.
## Systemanforderungen:
- installierter OXID eShop
- PHP-Version, für die Installationspakete verfügbar sind
- Installation via Composer
- ionCubeLoader
- D3 Modul Connector
Die jeweils geforderten Versionen und sonstige Anforderungen entnehmen
Sie bitte der Dokumentation im docs-Verzeichnis dieses Paketes.
## Installation:
Verwenden Sie zur Installation bitte immer unser Quellenverzeichnis unter https://satis.oxidmodule.com.
Eine detaillierte Installationsanleitung finden Sie im docs-Verzeichnis dieses Pakets.
# D³ Content Tabs für OXID eShop
Erweiterung der Produktdetailsseite mit weiteren "Tabs".
Dies ermöglicht es viele Produktionformationen sauber und übersichtlich auszulisten.
## Systemanforderungen:
- installierter OXID eShop
- PHP-Version, für die Installationspakete verfügbar sind
- Installation via Composer
- ionCubeLoader
- D3 Modul Connector
Die jeweils geforderten Versionen und sonstige Anforderungen entnehmen
Sie bitte der Dokumentation im docs-Verzeichnis dieses Paketes.
## Installation:
Verwenden Sie zur Installation bitte immer unser Quellenverzeichnis unter https://satis.oxidmodule.com.
Eine detaillierte Installationsanleitung finden Sie im docs-Verzeichnis dieses Pakets.

View File

@ -1,137 +1,137 @@
# Changelog
All notable changes to this project will be documented in this file.
## 4.0.0.2 (2018-10-19)
- Freigabe für OXID 6.1.x
- Fehlerhinweise eingefügt, wenn Langtexte nicht ausreichend befüllt sind
- bugfix: Schreibschutz für Langtexte an Artikelvarianten entfernt
## 4.0.0.1 (2018-03-01)
- Exception im Admin unter /Content Tabs/Tabverwaltung/Stamm/
## 4.0.0.0 (2018-03-01)
- Kompatibilität und Support ab Oxid 6.0.0
- Integration eines eigenen Admin-Bereich "D³ Content Tabs"
- Titel und Langtexte der Tabs werden in einer eigenen Tabelle gespeichert
- Langtexte haben eine "Aktiv" - Option erhalten, welche im Frontend zusätzlich geprüft wird
- Altlasten und unnötige Dateien entfernt
- Umstellung auf Namespaces
- Grundinstallation via Composer
## 3.2.0.1 (2016-12-19)
- Support für Apache 2.4
- Paketbereitstellung für ionCube
## 3.2.0.0 (2016-07-22)
- drop: techn. Support für Shopversionen 4.7.x eingestellt
- add: Freigabe für 4.10.x
- add: Prüfung auf gültige Modul-Dateien implementiert
- add feature: Support für Oxid-Theme Flow
## 3.1.0.2 (2015-10-07)
- bugfix: "Shop offline" Anzeige nach der Wahl einer Variante im Frontend
- bugfix: gepflegte Tab-Inhalte wurden nicht angezeigt
## 3.1.0.1 (2015-09-03)
- automatische Installation aufgeteilt, Anlegen der Datenbankfelder erfolgt "step by step"
- Übernahme Moduleigener Templates in copy_this und Verweis zur Überladung siehe FAQ
- fehlende Übersetzungen im Shopadmin nachgetragen
- Modulfreigabe für php5.5 und php5.6
- Aktualisierung Vorabprüfung und Installationsanleitung
## 3.1.0.0 (2014-11-12)
- support for mobile-themes
- adjustment of the structure
- update precheck
## 3.0.1.0 (2014-08-08)
- Module compatible with Shopvesion 4.8.7
- Show Message in Backend if Module is not active
- rename module-tab-Templates
- adjustment of the structure
- delete deprecated files in autoupdate
- fix module entrys in shopconfiguration
## 3.0.0.3 (2014-05-05)
- Update Precheck
## 3.0.0.2 (2014-03-18)
- bugfix for saving longdesc in admin
## 3.0.0.1 (2013-02-22)
- bugfix when module is inactive, tabs will be shown in frontend
## 3.0.0.0 (2013-02-19)
- restructured for 4.7 / 5.0
## 2.4.6.2 (2013-06-27)
- add funktionality for Edition EE
- add Versioncheck in oxarticle-extension
till 4.5.x other method for getting Longdescription than in 4.6.x
## 2.4.6.1 (2013-03-12)
- bugfix in update.sql
## 2.4.6.0 (2013-02-01)
- tab content moved to templates, add extendable blocks
## 2.4.5.0 (2012-09-05)
- added 4.6.0 functionality
## 2.4.4 (2012-05-31)
- bug fix: javaScript fallback causes shop-in-tab-problem
## 2.4.3 (2011-11-02)
- added templates for 451 - 454
- added javaScript fallback for non js user
## 2.4.2 (2011-09-19)
- bug fix price doesn't save
- bug fix showed empty tabs
## 2.4.1 (2011-08-16)
- inheritance implemented
- bug in save function fixed
## 2.4.0 (2011-07-19)
- restructured
- removed Ajax lib, switched to jQuery
- removed ox_cmp module
- renamed fields (from oxlongdescXXX to d3longdescXXX) in database
- added 4.5.0 templates
## 2.1 (2009-11-13)
- Xajax-Implementierung au neues Intergrationsschema umgestellt
- langtext- und templatebasierte Versionen zusammengeführt
- Fallback-Funktion für Nicht-JavaScript-Einsatz
- Langtexte in einem Admin-Tab zusammengefaßt
- Langtext mehrsprachig verfügbar
## 2.0 (2009-08-26)
- auf PE4 portiert
## 1.1 (2008-09-22)
- Fallback-Funktion für Nicht-JavaScript-Einsatz (tpl)
- Attribute und Bewertungen stehen nun ebenfalls zur Verfügung (tpl)
## 1.0 (2008-09-12)
- Grundfunktion zum Modul komplettiert
- Scriptbasis ist aktuelles Xajax-Integrationsschema
[3.2.0.0]: https://blog.oxidmodule.com/archives/610-Neues-Update-fuer-Modul-Content-Tabs-auf-Version-3.2.0.0.html
[3.1.0.2]: https://blog.oxidmodule.com/archives/541-Neuer-Patch-fuer-Modul-Content-Tabs-auf-Version-3.1.0.2.html
[3.1.0.1]: https://blog.oxidmodule.com/archives/539-Neues-Update-fuer-Modul-Content-Tabs-auf-Version-3.1.0.1.html
[3.1.0.0]: https://blog.oxidmodule.com/archives/473-Neues-Update-fuer-Modul-Content-Tabs-auf-Version-3.1.0.0.html
[3.0.1.0]: https://blog.oxidmodule.com/archives/441-Neues-Update-fuer-Modul-Content-Tabs-auf-Version-3.0.1.0.html
[3.0.0.2]: https://blog.oxidmodule.com/archives/389-Neuer-Patch-fuer-Modul-Content-Tabs-auf-Version-3.0.0.2.html
[3.0.0.0]: https://blog.oxidmodule.com/archives/251-Neues-Upgrade-fuer-Modul-Content-Tabs-auf-Version-3.0.0.0.html
[2.4.6.2]: https://blog.oxidmodule.com/archives/290-Neuer-Patch-fuer-Modul-Content-Tabs-auf-Version-2.4.6.2.html
[2.4.6.0]: https://blog.oxidmodule.com/archives/246-Neues-Update-fuer-Modul-Content-Tabs-auf-Version-2.4.6.0.html
[2.4.5.0]: https://blog.oxidmodule.com/archives/211-Neuer-Patch-fuer-Modul-Content-Tabs-auf-Version-2.4.5.0.html
[2.4.4.0]: https://blog.oxidmodule.com/archives/188-Neuer-Patch-fuer-Modul-Content-Tabs-auf-Version-2.4.4.html
[2.4.3.0]: https://blog.oxidmodule.com/archives/144-Neues-Patch-fuer-Modul-Content-Tabs-auf-Version-2.4.3.html
[2.4.2.0]: https://blog.oxidmodule.com/archives/130-Neues-Patch-fuer-Modul-Content-Tabs-auf-Version-2.4.2.html
[2.4.0.0]: https://blog.oxidmodule.com/archives/116-Update-Content-Tabs-fuer-OXID-PE-4.5.html
[2.0.0.0]: https://blog.oxidmodule.com/archives/28-Modul-Content-Tabs.html
# Changelog
All notable changes to this project will be documented in this file.
## 4.0.0.2 (2018-10-19)
- Freigabe für OXID 6.1.x
- Fehlerhinweise eingefügt, wenn Langtexte nicht ausreichend befüllt sind
- bugfix: Schreibschutz für Langtexte an Artikelvarianten entfernt
## 4.0.0.1 (2018-03-01)
- Exception im Admin unter /Content Tabs/Tabverwaltung/Stamm/
## 4.0.0.0 (2018-03-01)
- Kompatibilität und Support ab Oxid 6.0.0
- Integration eines eigenen Admin-Bereich "D³ Content Tabs"
- Titel und Langtexte der Tabs werden in einer eigenen Tabelle gespeichert
- Langtexte haben eine "Aktiv" - Option erhalten, welche im Frontend zusätzlich geprüft wird
- Altlasten und unnötige Dateien entfernt
- Umstellung auf Namespaces
- Grundinstallation via Composer
## 3.2.0.1 (2016-12-19)
- Support für Apache 2.4
- Paketbereitstellung für ionCube
## 3.2.0.0 (2016-07-22)
- drop: techn. Support für Shopversionen 4.7.x eingestellt
- add: Freigabe für 4.10.x
- add: Prüfung auf gültige Modul-Dateien implementiert
- add feature: Support für Oxid-Theme Flow
## 3.1.0.2 (2015-10-07)
- bugfix: "Shop offline" Anzeige nach der Wahl einer Variante im Frontend
- bugfix: gepflegte Tab-Inhalte wurden nicht angezeigt
## 3.1.0.1 (2015-09-03)
- automatische Installation aufgeteilt, Anlegen der Datenbankfelder erfolgt "step by step"
- Übernahme Moduleigener Templates in copy_this und Verweis zur Überladung siehe FAQ
- fehlende Übersetzungen im Shopadmin nachgetragen
- Modulfreigabe für php5.5 und php5.6
- Aktualisierung Vorabprüfung und Installationsanleitung
## 3.1.0.0 (2014-11-12)
- support for mobile-themes
- adjustment of the structure
- update precheck
## 3.0.1.0 (2014-08-08)
- Module compatible with Shopvesion 4.8.7
- Show Message in Backend if Module is not active
- rename module-tab-Templates
- adjustment of the structure
- delete deprecated files in autoupdate
- fix module entrys in shopconfiguration
## 3.0.0.3 (2014-05-05)
- Update Precheck
## 3.0.0.2 (2014-03-18)
- bugfix for saving longdesc in admin
## 3.0.0.1 (2013-02-22)
- bugfix when module is inactive, tabs will be shown in frontend
## 3.0.0.0 (2013-02-19)
- restructured for 4.7 / 5.0
## 2.4.6.2 (2013-06-27)
- add funktionality for Edition EE
- add Versioncheck in oxarticle-extension
till 4.5.x other method for getting Longdescription than in 4.6.x
## 2.4.6.1 (2013-03-12)
- bugfix in update.sql
## 2.4.6.0 (2013-02-01)
- tab content moved to templates, add extendable blocks
## 2.4.5.0 (2012-09-05)
- added 4.6.0 functionality
## 2.4.4 (2012-05-31)
- bug fix: javaScript fallback causes shop-in-tab-problem
## 2.4.3 (2011-11-02)
- added templates for 451 - 454
- added javaScript fallback for non js user
## 2.4.2 (2011-09-19)
- bug fix price doesn't save
- bug fix showed empty tabs
## 2.4.1 (2011-08-16)
- inheritance implemented
- bug in save function fixed
## 2.4.0 (2011-07-19)
- restructured
- removed Ajax lib, switched to jQuery
- removed ox_cmp module
- renamed fields (from oxlongdescXXX to d3longdescXXX) in database
- added 4.5.0 templates
## 2.1 (2009-11-13)
- Xajax-Implementierung au neues Intergrationsschema umgestellt
- langtext- und templatebasierte Versionen zusammengeführt
- Fallback-Funktion für Nicht-JavaScript-Einsatz
- Langtexte in einem Admin-Tab zusammengefaßt
- Langtext mehrsprachig verfügbar
## 2.0 (2009-08-26)
- auf PE4 portiert
## 1.1 (2008-09-22)
- Fallback-Funktion für Nicht-JavaScript-Einsatz (tpl)
- Attribute und Bewertungen stehen nun ebenfalls zur Verfügung (tpl)
## 1.0 (2008-09-12)
- Grundfunktion zum Modul komplettiert
- Scriptbasis ist aktuelles Xajax-Integrationsschema
[3.2.0.0]: https://blog.oxidmodule.com/archives/610-Neues-Update-fuer-Modul-Content-Tabs-auf-Version-3.2.0.0.html
[3.1.0.2]: https://blog.oxidmodule.com/archives/541-Neuer-Patch-fuer-Modul-Content-Tabs-auf-Version-3.1.0.2.html
[3.1.0.1]: https://blog.oxidmodule.com/archives/539-Neues-Update-fuer-Modul-Content-Tabs-auf-Version-3.1.0.1.html
[3.1.0.0]: https://blog.oxidmodule.com/archives/473-Neues-Update-fuer-Modul-Content-Tabs-auf-Version-3.1.0.0.html
[3.0.1.0]: https://blog.oxidmodule.com/archives/441-Neues-Update-fuer-Modul-Content-Tabs-auf-Version-3.0.1.0.html
[3.0.0.2]: https://blog.oxidmodule.com/archives/389-Neuer-Patch-fuer-Modul-Content-Tabs-auf-Version-3.0.0.2.html
[3.0.0.0]: https://blog.oxidmodule.com/archives/251-Neues-Upgrade-fuer-Modul-Content-Tabs-auf-Version-3.0.0.0.html
[2.4.6.2]: https://blog.oxidmodule.com/archives/290-Neuer-Patch-fuer-Modul-Content-Tabs-auf-Version-2.4.6.2.html
[2.4.6.0]: https://blog.oxidmodule.com/archives/246-Neues-Update-fuer-Modul-Content-Tabs-auf-Version-2.4.6.0.html
[2.4.5.0]: https://blog.oxidmodule.com/archives/211-Neuer-Patch-fuer-Modul-Content-Tabs-auf-Version-2.4.5.0.html
[2.4.4.0]: https://blog.oxidmodule.com/archives/188-Neuer-Patch-fuer-Modul-Content-Tabs-auf-Version-2.4.4.html
[2.4.3.0]: https://blog.oxidmodule.com/archives/144-Neues-Patch-fuer-Modul-Content-Tabs-auf-Version-2.4.3.html
[2.4.2.0]: https://blog.oxidmodule.com/archives/130-Neues-Patch-fuer-Modul-Content-Tabs-auf-Version-2.4.2.html
[2.4.0.0]: https://blog.oxidmodule.com/archives/116-Update-Content-Tabs-fuer-OXID-PE-4.5.html
[2.0.0.0]: https://blog.oxidmodule.com/archives/28-Modul-Content-Tabs.html

View File

@ -12,10 +12,10 @@
],
"authors": [
{
"name": "D3 Data Development (Inh. Thomas Dartsch)",
"email": "info@shopmodule.com",
"homepage": "http://www.d3data.de",
"role": "Owner"
"name": "D3 Data Development (Inh. Thomas Dartsch)",
"email": "info@shopmodule.com",
"homepage": "http://www.d3data.de",
"role": "Owner"
}
],
"support": {
@ -32,13 +32,13 @@
}
},
"require": {
"php": "5.6 - 7.0", "ext-ionCube-Loader": "*",
"oxid-esales/oxideshop-metapackage-ce": "~6.0.1 || ~6.1.0",
"d3/modcfg": "^5.1.0.000"
},
"autoload": {
"psr-4": {
"D3\\Contenttabs\\": "../../../source/modules/d3/contenttabs"
}
"php": "5.6 - 7.0", "ext-ionCube-Loader": "*",
"oxid-esales/oxideshop-metapackage-ce": "~6.0.1 || ~6.1.0",
"d3/modcfg": "^5.1.0.000"
},
"autoload": {
"psr-4": {
"D3\\Contenttabs\\": "../../../source/modules/d3/contenttabs"
}
}
}

File diff suppressed because it is too large Load Diff

View File

@ -1,98 +0,0 @@
4.0.0.0
- Kompatibilität und Support ab Oxid 6.0.0
- Integration eines eigenen Admin-Bereich "D³ Content Tabs"
- Titel und Langtexte der Tabs werden in einer eigenen Tabelle gespeichert
- Langtexte haben eine "Aktiv" - Option erhalten, welche im Frontend zusätzlich geprüft wird
- Altlasten und unnötige Dateien entfernt
3.2.0.1
- Support für Apache 2.4
- Paketbereitstellung für ionCube
3.2.0.0
- drop: techn. Support für Shopversionen 4.7.x eingestellt
- add: Freigabe für 4.10.x
- add: Prüfung auf gültige Modul-Dateien implementiert
- add feature: Support für Oxid-Theme Flow
3.1.0.2
- bugfix: "Shop offline" Anzeige nach der Wahl einer Variante im Frontend
- bugfix: gepflegte Tab-Inhalte wurden nicht angezeigt
3.1.0.1
- automatische Installation aufgeteilt, Anlegen der Datenbankfelder erfolgt "step by step"
- Übernahme Moduleigener Templates in copy_this und Verweis zur Überladung siehe FAQ
- fehlende Übersetzungen im Shopadmin nachgetragen
- Modulfreigabe für php5.5 und php5.6
- Aktualisierung Vorabprüfung und Installationsanleitung
3.1.0.0
- support for mobile-themes
- adjustment of the structure
- update precheck
3.0.1.0
- Module compatible with Shopvesion 4.8.7
- Show Message in Backend if Module is not active
- rename module-tab-Templates
- adjustment of the structure
- delete deprecated files in autoupdate
- fix module entrys in shopconfiguration
3.0.0.3
- Update Precheck
3.0.0.2
- bugfix for saving longdesc in admin
3.0.0.1
- bugfix when module is inactive, tabs will be shown in frontend
3.0.0.0
- restructured for 4.7 / 5.0
2.4.6.0
- tab content moved to templates, add extendable blocks
2.4.5.0 2012-09-05
- added 4.6.0 functionality
2.4.4 2012-05-31
- bug fix: javaScript fallback causes shop-in-tab-problem
2.4.3 2011-11-02
- added templates for 451 - 454
- added javaScript fallback for non js user
2.4.2 2011-09-19
- bug fix price doesn't save
- bug fix showed empty tabs
2.4.1 2011-08-16
- inheritance implemented
- bug in save function fixed
2.4.0 2011-07-19
- restructured
- removed Ajax lib, switched to jQuery
- removed ox_cmp module
- renamed fields (from oxlongdescXXX to d3longdescXXX) in database
- added 4.5.0 templates
2.1 2009-11-13
- Xajax-Implementierung au neues Intergrationsschema umgestellt
- langtext- und templatebasierte Versionen zusammengeführt
- Fallback-Funktion für Nicht-JavaScript-Einsatz
- Langtexte in einem Admin-Tab zusammengefaßt
- Langtext mehrsprachig verfügbar
2.0 2009-08-26
- auf PE4 portiert
1.1 PE3 (tpl) 2008-09-22
- Fallback-Funktion für Nicht-JavaScript-Einsatz
- Attribute und Bewertungen stehen nun ebenfalls zur Verfügung
1.0 PE3 2008-09-12
- Grundfunktion zum Modul komplettiert
- Scriptbasis ist aktuelles Xajax-Integrationsschema

View File

@ -0,0 +1,41 @@
<?php
/**
* This Software is the property of Data Development and is protected
* by copyright law - it is NOT Freeware.
*
* Any unauthorized use of this software without a valid license
* is a violation of the license agreement and will be prosecuted by
* civil and criminal law.
*
* http://www.shopmodule.com
*
* @copyright (C) D3 Data Development (Inh. Thomas Dartsch)
* @author D3 Data Development - Daniel Seifert <support@shopmodule.com>
* @link http://www.oxidmodule.com
*/
namespace D3\Contenttabs\Modules\Application\Component\Widget;
/**
* Class d3_oxwarticledetails_contenttabs
*/
use D3\Contenttabs\Application\Model\contentTabs as TabsModel;
use OxidEsales\Eshop\Application\Model\Article;
class d3_oxwarticledetails_contenttabs extends d3_oxwarticledetails_contenttabs_parent
{
/**
* @return array|null
*/
public function d3GetTabs()
{
/**
* @var Article
*/
$oArticle = $this->getProduct();
return oxNew(TabsModel::class, $oArticle)->getTabs();
}
}

View File

@ -0,0 +1,53 @@
<?php
/**
* This Software is the property of Data Development and is protected
* by copyright law - it is NOT Freeware.
*
* Any unauthorized use of this software without a valid license
* is a violation of the license agreement and will be prosecuted by
* civil and criminal law.
*
* http://www.shopmodule.com
*
* @copyright (C) D3 Data Development (Inh. Thomas Dartsch)
* @author D3 Data Development - Daniel Seifert <support@shopmodule.com>
* @link http://www.oxidmodule.com
*/
namespace D3\Contenttabs\Modules\Application\Model;
use D3\Contenttabs\Application\Model\contentTabs as TabsModel;
/**
* Article manager.
* Creates fully detailed article object, with such information as VAT,
* discounts, etc.
*
*/
class d3_oxarticle_longtexts extends d3_oxarticle_longtexts_parent
{
/**
* Deletes record and other information related to this article such as images from DB,
* also removes variants. Returns true if entry was deleted.
*
* @param string $sOXID Article id
*
* @throws \Exception
*
* @return bool
*/
public function delete($sOXID = null)
{
if (!$sOXID) {
$sOXID = $this->getId();
}
if (!$sOXID) {
return parent::delete($sOXID);
}
oxNew(TabsModel::class, $this)->deleteAllLongtexts($sOXID);
return parent::delete($sOXID);
}
}