How can I add DHL Market Place in my Magento 2 admin? Been searching on how to enable it but can't find any solution. Should I just copy the download file into the app folder? or do I need to go to the admin panel?
Note: Beginner here
Ok for those who will be encountering the same issue as I have here is the answer and I'm referring this to the answer that the developer gave me.
If you are running in PHP 7+ and want to install via VCS then below are the command you need to run and DON'T use installation that they provided in the README.md specially for version 0.10.0. It lacks the proper instruction on how to install it in Magento 2.3 using version 0.10.0 Below are the correct command needed to run and install DHL in your Magento project
composer config repositories.dhl-shipping-m2 vcs git#github.com:netresearch/dhl-module-shipping-m2.git <-- This is the important part to make it work
composer require dhl/module-shipping-m2:0.10.0
Magento2 follows a structure to add custom modules .. Their are two ways to add extensions in m2..
1 : Install it from the composer Eg: for DHL to install from composer
composer require dhl/module-shipping-m2:0.10.0
It will directly saved in vendor folder
2 : Manual installation , Download the extension and copy that into the magento root ie.. app/code/yourextension
Related
Question:
Is there a way to install a downloaded NBM (Netbeans Module) into an already installed Netbeans IDE via CLI?
Current setup
Netbeans 12.3 with Windows 10
Netbeans 12.3 with Linux Mint 20.1
Relevant scenario
If the question comes to your mind 'why aren't you just using the GUI?' or anything like that. Think of the following scenario. When working on an air gapped network with 50 computers you're the one having to install Netbeans plugins on all of that PCs. You're able to put files on those PCs and execute a command via console and you don't want to run around all the buildings and clicking through the process.
Thank you very much in advance.
I think I found a solution. I'll post it here to reflect my research because I've never found a answer on stackoverflow.
When Netbeans is already installed you can use the --help parameter like:
C:\Program Files\NetBeans\netbeans\bin\netbeans64.exe --help
This lists lot of available parameters (which I haven't found a list of on the web) like (shortened):
General options:
--help show this help
--jdkhome <path> path to JDK
--console new open new console for output
Module reload options:
--reload /path/to/module.jar install or reinstall a module JAR file
Additional module options:
--modules
--refresh Refresh all catalogs
--list Prints the list of all modules, their versions and enablement status
--install <arg1>...<argN> Installs provided JAR files as modules
--disable <arg1>...<argN> Disable modules for specified codebase names
--enable <arg1>...<argN> Enable modules for specified codebase names
--update <arg1>...<argN> Updates all or specified modules
--update-all Updates all modules
Core options:
--fontsize <size> set the base font size of the user interface, in points
--userdir <path> use specified directory to store user settings
--nosplash do not show the splash screen
In my case the solution was to use the --install parameter pointing to the jar file to install.Be aware that the NBM files are just containers containing the jar file and some more meta data files like config xml files. You're able to open it via 7zip for example. And you'll have to take care of all the dependencies yourself.
I was trying to create windows .exe file to install moodle local plugin.
Is this doable installing plugin with .exe file?
Appreciate your suggestions. Reference to documentation access!
Are you trying to install Moodle? There are packages available for installing Moodle on a Windows machine:
https://docs.moodle.org/39/en/Complete_install_packages_for_Windows
Otherwise, using an exe to install a local plugin doesn't make any sense. You just need to copy the code to the local folder. Or unzip the code into a local folder.
Then either upgrade via your site yourmoodlesite/admin/ or use the command line:
php admin/cli/upgrade.php
See https://docs.moodle.org/39/en/Administration_via_command_line#Upgrading
short question. I got a site in Typo3 8.7 it was created in Classic Mode.
I installed a lot of extensions ( Realurl and stuff).
Now i want to port that to composer mode.
Is there a way to generate a composer.json/.lock from my site and then bring it over to my composer typo3 installation and let it download everything?
There is a good list of steps you need to take for switching from classic to composer mode from Mathias Brodala.
https://stackoverflow.com/a/46450927/1375055
No, not to my knowledge. You'll have to kickstart your composer.json manually (or with the composer cli interface) and evolve it until you reach a similar combination of dependencies in your project.
There is no Automated way of dooing this but a quick hack would be
the following bash command do get a list of all packages names of the extensions
for f in $(ls typo3conf/ext); do echo "typo3-ter/$f"; done;
Am new to drupal, am working on version 8.3.5 trying to install a new module administration menu to my localhost without FTP.
I have extracted all files of module to /sites/all/modules folder.The menu is displaying in 'Extend' section but not displaying in my website.
The modules are 'checked' too, but how to enable it and display in my website? Thanks
I have executed this command sudo chown -R www-data sites/all/modules
too.
Current output:-(Only one admin toolbar already there after installation of drupal)
Current Settings in Extend section: (Admin toolbar always checked and unable to uncheck too.How to activate and deactivate this module here?)
Expected Output is two admin toolbar like this:- (Below screenshot is an example of administration menu module in drupal7)
Thanks
Steps to install new modules
Download and extract the module to to the modules folder.Since it is a contibute module better add it in a folder named contrib. So the path will be drupal_folder/modules/contrib/your_module
Now your_module will be available in the List section on http://your_site.com/admin/modules
Check ane enable your_module
Now the enabled module will be checked in the List section and also available in the Uninstall section(http://your_site.com/admin/modules/uninstall)
Clear cache
Using drush
Download and install modules with drush from terminal
drush dl module_name
drush en module_name
Try to clear caches using drush from the terminal.
drush cr
Update drush
Note: Drupal8 requires latest version of drush
To find current version of Drush use the command:
drush --version
If its alower version please update drush using composer, if composer already installed skip the step to install composer.
cd ~
curl -sS https://getcomposer.org/installer | php
export PATH="$HOME/.composer/vendor/bin:$PATH"
source ~/.bashrc
composer global require drush/drush:8.*
drush --version
In Drupal 8, the correct location for modules is the modules/ folder which is at the root of your project. People also add a contrib/ and custom/ folder inside modules/ to differentiate the ones you create from the ones you install.
I'm curious about how the module has been discovered being at the location you indicated. Anyway, you say that the administration menu module is checked so it should be installed. Do you have a toolbar at the top of your website pages? What is the name of the module that is checked in Extend?
I just started learn Laravel 4, i have problem when install laravel's package, in this case it is: http://packalyst.com/packages/package/greggilbert/recaptcha
I do all steps, but it always display: Class 'Greggilbert\Recaptcha\RecaptchaServiceProvider' not found
I think problem is i don't know where to put recaptcha-master.zip, root folder? or in Vendor folder? i don't know :(
Please help, thank you so much :(
First you need to add "greggilbert/recaptcha": "dev-master" to the require section of your composer.json file found in the Laravel root.
Once thats done you then need to install composer globally or download a copy of composer.phar and move it to your Laravel root.
Once either of those methods have been completed, you then need to run either composer update if you installed composer globally or php composer.phar update in order to install the new packages.
After, and only after composer has updated with the new dependencies you should then add the service providers and other configurations to Laravel.
Heres a link to the composer site. http://getcomposer.org/