Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Nivo slider module does not contain any .info.yml file for 8.x-1.4.
Comment | File | Size | Author |
---|---|---|---|
#15 | Renaming-and-Replacing-2800413-15.patch | 1.7 KB | MaskyS |
Comments
Comment #2
nehakhadke CreditAttribution: nehakhadke commentedComment #3
IAmThatStrangeMe CreditAttribution: IAmThatStrangeMe commentedHi nehakhadke I really would like to use this but I'm so sorry I've no clue how to apply the patch. I downloaded the module and the patch but couldn't find any help.
Thanks
Comment #4
shobhit_juyal CreditAttribution: shobhit_juyal commentedI am subscribing this issue, as I download this module via drush and GUI, but it does not contains Drupal 8 file extensions. It is still having D7 files like "nivo_slider.info".
What its D8 realease contains those files ? Please suggest, if we can still work with those files in D7 !!.
Comment #5
dreamlabmedia CreditAttribution: dreamlabmedia commentedI have the same issue. I've seen other posts like this but no one has given a solution to this. I really liked nivosliver on older drupal installations. Please help.
When I try to install I get the following "nivo_slider-8.x-1.4.tar.gz does not contain any .info.yml files."
Comment #6
dreamlabmedia CreditAttribution: dreamlabmedia commentedI applied the patch nehakhadke provided and it did not work. To apply a patch you have to download the module and unzip to access the .info file. You rename the film to nivo_slider.info.yml and then open that file and add the patch by clicking on the patch link and you copy the content in that, and past it into the nivo_slider.info.yml file. Save that then rezip your nivoslider file and upload the module from your computer.
I found another patch I tried first which I was able to upload, but needed to install the dev version of Libraries API. I did that, then enabled the nivo module, but this broke my website giving me an error due to line 37 in the nivoslider module. So I had to manually delete the module to fix the website. So I tried adding nehakhadke's patch and I was not able to upload. It says it cannot upload.
So, I still haven't found a solution, but wanted to warn people that you might break your website. Uninstalling the module from inside drupal is also not working. At one point I had to manually upload the folder again, then delete it to get things working again.
Just putting this out there in case someone runs into this as I did.
Comment #7
nehakhadke CreditAttribution: nehakhadke commentedComment #8
MaskyS CreditAttribution: MaskyS at Google Code-In commentedComment #9
nehakhadke CreditAttribution: nehakhadke at Invezza Technologies commentedComment #10
MaskyS CreditAttribution: MaskyS at Google Code-In commenteddreamlabmedia, that is not how you apply a patch. Please have a look at the following link for more info. https://www.drupal.org/node/620014
However, nehakhadke's patch will not apply even if you applied the patch correctly. That is because the patch was generated in a wrong way. I'm currently working on the patch and will post it shortly. (Warning: I'll be posting testing patches here often, so please don't download as soon as it comes online. I post them here to pass them through simplytest.me, and if it doesn't work I or a GCI mentor should update this issue within a few hrs.)
Comment #11
MaskyS CreditAttribution: MaskyS at Google Code-In commentedHere is a patch that should replace .info with info.yml and also rename readme.txt to README.txt.
Comment #12
MaskyS CreditAttribution: MaskyS at Google Code-In commentedYet another patch. The previous one wasn't working and I don't expect this one to either.
Comment #13
MaskyS CreditAttribution: MaskyS at Google Code-In commentedComment #14
MaskyS CreditAttribution: MaskyS at Google Code-In commentedComment #15
MaskyS CreditAttribution: MaskyS at Google Code-In commentedThis patch should work!
EDIT: This patch will work correctly for offline use, which means that it will NOT work on simplytest.me(because stable versions are not supposed to be mutable). However, I have contacted the module creator about this and hopefully, he will release a new stable version soon to fix this.
Comment #16
MaskyS CreditAttribution: MaskyS at Google Code-In commentedComment #17
denutkarsh CreditAttribution: denutkarsh at Google Code-In commented@kifah-meeran I applied it to stable 8.x-1.4 version of this module using git and it failed. I am setting the issue status as "Needs Work" for now.
Comment #18
neerajpandey CreditAttribution: neerajpandey at Google Code-In commented@denutkarsh I applied it too but it worked for me.
Changing the status to needs review.
Comment #19
MaskyS CreditAttribution: MaskyS at Google Code-In commentedPlease make sure that you are using the 8.x-1.4 version of this module instead of 8.x-1.x. You HAVE to download from https://www.drupal.org/project/nivo_slider/releases/8.x-1.4 , otherwise, you won't get the correct version. Here are the exact steps to be followed(type in terminal):
1. wget https://ftp.drupal.org/files/projects/nivo_slider-8.x-1.4.tar.gz
OR
1. wget https://ftp.drupal.org/files/projects/nivo_slider-8.x-1.4.zip
This will download the zip or tar file depending on what option you choose. You should do this inside your /modules folder if you want to use the module right away or you will have to copy it later to the /modules. If you ARE SURE that you ALREADY have THE 8.x-1.4 version, then you do not need to do this step and the one that follows.
Use:
2. tar -xzvf nivo_slider-8.x-1.4.tar.gz
OR
2. unzip -j nivo_slider-8.x-1.4.zip
3. cd nivo_slider
4. wget https://www.drupal.org/files/issues/Renaming-and-Replacing-2800413-15.patch
5. git apply -v Renaming-and-Replacing-2800413-15.patch
That's it!
Comment #20
denutkarsh CreditAttribution: denutkarsh at Google Code-In commented@kifah-meeran Anyways it would be better if the current users can use the development release for this module until it becomes stable.
Comment #21
MaskyS CreditAttribution: MaskyS at Google Code-In commented@denutkarsh The whole module is unusable right now, stable or dev version because there are a lot of files which are still d7(no .routing.yml, for example.). The last commit was one year ago, so I guess I'll have to work on the porting later on. :)
Comment #22
MaskyS CreditAttribution: MaskyS at Google Code-In commentedComment #23
andrey.troeglazov CreditAttribution: andrey.troeglazov at DrupalJedi commentedComment #24
andrey.troeglazov CreditAttribution: andrey.troeglazov at DrupalJedi commentedInfo file is present in the dev version. Will roll stable release after .routing.yml is added.