Git Product home page Git Product logo

oxid-module-devutils's Introduction

[vt] Dev Utils for OXID eShop v6.2

Current Version: v2.0.0-RC (release candidate)

this version is the first updated version for OXID v6, it still might have some bugs.

Functions

  • clearing tmp in oxid admin
  • overview of all cached module metadata like controllers, extensions, templates, blocks
  • viewing metadata of a particular module
  • gui for viewing apache error log and oxideshop.log
  • preview for emails
  • gui for viewing values in oxconfig table
  • put template names in front of cache file names, so you could easily find them in tmp/smarty/ folder

Installation

composer require -n vanilla-thunder/oxid-module-devutils

Old version for OXID v4

you can find the old module version for OXID versions before v6 here:
https://github.com/vanilla-thunder/oxid-module-devutils/tree/oxid-v4

Detailed Information

Full description of all functions can be found in the repository wiki:
https://github.com/vanilla-thunder/oxid-module-devutils/wiki

oxid-module-devutils's People

Contributors

alfredbez avatar kermie avatar preya avatar stroebjo avatar vanilla-thunder avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

oxid-module-devutils's Issues

Oxid 6 / Composer

Ho!

I've updatet some dev packages to install it into Oxid 6 via composer. Maybe u want me to create a pull request into a Oxid-6 branch?

Maybe you could registrate'em to packagist, so it would be possible to install it via composer?

Have nice day

tmp won't clear if directory is at non-default location

Suggested fix: replace line 6 of navigation_vtdu.php as follows:

change

$aFiles = glob('../tmp/*');

to

$aFiles = glob( $this->getConfig()->getConfigParam( 'sCompileDir' ) . '/*' );

Thanks again for contributing this dev tool, very useful now that I've migrated OXID from 4.5 to 4.6.

No ressource vt_dev_header/footer.tpl?

I installed the plugin (and the core plugin). It works well when I visit the "Metadata" menu entry/page. But when I want to look at the Metadata tab of a specific module, I get some Smarty errors about resources which can't be found.

Warning: Smarty error: unable to read resource: "vt_dev_header.tpl" in /var/www/html/source/core/smarty/Smarty.class.php on line 1094

Warning: Smarty error: unable to read resource: "vt_dev_footer.tpl" in /var/www/html/source/core/smarty/Smarty.class.php on line 1094

I also cannot find any of these template files in the repository? Are they missing?

Email preview throws error

Hi!

On a fresh EE 6.2.2 the email preview for Order(User) and order(Owner) throws the following:

[2020-11-03 11:09:19] OXID Logger.ERROR: Call to a member function getRawValue() on bool ["[object] (Error(code: 0): Call to a member function getRawValue() on bool at source/tmp/smarty/cd5334d3f33da5b460f9eb32f6b6483a^%%3E^3E2^3E2C254F%%order_cust.tpl.php:394)[stacktrace]#0 vendor/smarty/smarty/libs/Smarty.class.php(1270): include()#1 vendor/oxid-esales/oxideshop-ce/source/Internal/Framework/Smarty/Legacy/LegacySmartyEngine.php(68): Smarty->fetch('email/plain/ord...')#2 vendor/oxid-esales/oxideshop-ce/source/Internal/Framework/Templating/TemplateRenderer.php(35): OxidEsales\\EshopCommunity\\Internal\\Framework\\Smarty\\Legacy\\LegacySmartyEngine->render('email/plain/ord...', Array)#3 vendor/oxid-esales/oxideshop-ce/source/Core/Email.php(594): OxidEsales\\EshopCommunity\\Internal\\Framework\\Templating\\TemplateRenderer->renderTemplate('email/plain/ord...', Array)#4 source/modules/vt/devutils/Application/Controller/DevMails.php(65): OxidEsales\\EshopCommunity\\Core\\Email->sendOrderEmailToUser(Object(VanillaThunder\\DevUtils\\Application\\Extend\\Order))#5 vendor/oxid-esales/oxideshop-ce/source/Core/Controller/BaseController.php(534): VanillaThunder\\DevUtils\\Application\\Controller\\DevMails->preview()#6 vendor/oxid-esales/oxideshop-ce/source/Core/ShopControl.php(347): OxidEsales\\EshopCommunity\\Core\\Controller\\BaseController->executeFunction('preview')#7 vendor/oxid-esales/oxideshop-ce/source/Core/ShopControl.php(280): OxidEsales\\EshopCommunity\\Core\\ShopControl->executeAction(Object(VanillaThunder\\DevUtils\\Application\\Controller\\DevMails), 'preview')#8 vendor/oxid-esales/oxideshop-ce/source/Core/ShopControl.php(142): OxidEsales\\EshopCommunity\\Core\\ShopControl->_process('VanillaThunder\\\\...', 'preview', NULL, NULL)#9 vendor/oxid-esales/oxideshop-ce/source/Core/Oxid.php(27): OxidEsales\\EshopCommunity\\Core\\ShopControl->start()#10 source/index.php(16): OxidEsales\\EshopCommunity\\Core\\Oxid::run()#11 {main}"] []
--

Any ideas about that? Would be greatfull for an advice in fixing that.

Regards
ben

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.