monicaamb Posted November 7, 2022 Share Posted November 7, 2022 Hello, when I click on one the categories iin the home of my website a new tab opens and I don't want this happens. You can check it by yourself: https://raylupaper.com/es/ Here: Link to comment Share on other sites More sharing options...
ps8modules Posted November 8, 2022 Share Posted November 8, 2022 (edited) Hi. It is a purchased template. This is a matter of some module that displays category blocks. There is definitely a tpl file in the module and there are links to categories in it. In this file, you need to find the <a href tag that contains target="_blank". Need to change to target="_self" Edited November 8, 2022 by 4you.software (see edit history) 1 Link to comment Share on other sites More sharing options...
monicaamb Posted November 8, 2022 Author Share Posted November 8, 2022 Hi. It is not a purchased template. I followed your advice and I think it is the following archive. I already changed to target="_self" but it still not working. Thank you in advanced Link to comment Share on other sites More sharing options...
ComGrafPL Posted November 8, 2022 Share Posted November 8, 2022 As above @4you.software said "_self" should work. Make sure to clear cache in VAR and browser cache. 2 Link to comment Share on other sites More sharing options...
monicaamb Posted November 8, 2022 Author Share Posted November 8, 2022 6 minutes ago, ComGrafPL said: As above @4you.software said "_self" should work. Make sure to clear cache in VAR and browser cache. Thank you for the reply. I cleaned cache, if I click in the title works good but when I click in the image a new tab opens. Link to comment Share on other sites More sharing options...
Mediacom87 Posted November 8, 2022 Share Posted November 8, 2022 Hi, currently if you modify the TPL in the module while it is overloaded in your theme, you are not working in the right file. Look in your theme directory if this file is overloaded and make the modification there. 1 Link to comment Share on other sites More sharing options...
monicaamb Posted November 8, 2022 Author Share Posted November 8, 2022 22 minutes ago, Mediacom87 said: Hi, currently if you modify the TPL in the module while it is overloaded in your theme, you are not working in the right file. Look in your theme directory if this file is overloaded and make the modification there. Finally, it is working. THANK YOU VERY MUCH 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now