• Resolved jamesmona

    (@jamesmona)


    Hi, I am using the directory template with the Regions module, I am trying to overwrite the region selector template (region-selector.tpl.php). I added the file to my business-directory folder in my theme. Like I did with the other templates I wanted to overwrite, but it is not working for this template, the plugin is still using the region template from the directory regions module plugin. All the other templates were overwritten properly.

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Author Business Directory Plugin

    (@businessdirectoryplugin)

    Hi @jamesmona,

    Sorry that you ran into issues here!

    Not all files in BD are ones that can be overridden using the theme directory.

    We call out which ones you can do that with here:
    https://docs.businessdirectoryplugin.com/themes/customization.html

    The short answer on why is that some aspects of the code require that we be in control of the experience and we haven’t made them overriddable at this time. You can change them, but it requires direct modification of the code (and then you’ll have to manually apply the changes you make on each upgrade of the plugin to keep them).

    That’s why that isn’t working the way you expect.

Viewing 1 replies (of 1 total)
  • The topic ‘Trying to overwrite region selector template not working’ is closed to new replies.