Link to home
Start Free TrialLog in
Avatar of Yuri Boyz
Yuri BoyzFlag for Uganda

asked on

How to install this Drupal Module two times with different names?

Hello,

I have installed this module in my drupal website and it works fine.
https://www.ivinco.com/software/drupal-sphinx-search-module-tutorial/

Open in new window


In my website I want to use it at one more different location with some customization. For this purpose I want to install this module again with different name. I have tried by changing the module name with different name and use that name in different locations but the module cannot visible in Admin Section .

Anyone with Drupal experience can help?
Avatar of oliverpolden
oliverpolden
Flag of United Kingdom of Great Britain and Northern Ireland image

The short answer: you can’t.

The long answer: you can but why would you? It would probably cause you all kinds of problems especially when it comes to data storage etc. They way you would do it is to rename all occurrences of the module name in function names etc. Unless you’re a programmer and have an understanding of Drupal and module development then I would not do this. It’s highly likely you will end up with a broken site. Again, why would you want to do this? It doesn’t make sense to.
Avatar of Yuri Boyz

ASKER

Actually I am using a Drupal Module and due to that the Main Website Search works.
Now I need to add search with few customizations to use it at some other page. You can say it a secondary or mini search.
Due to that I want to reuse that module.

And I have knowledge of drupal. Hope you got my point.
The search module comes with a block that you can place on any page. I'm sure you should find you can do what you want without duplicating the module.
Yes i know that it has a block. but In the second block I want to show different results like I want to change the format of search results page.
This question needs an answer!
Become an EE member today
7 DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform.
View membership options
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.