emilyoct Posted September 6, 2016 Share Posted September 6, 2016 I am trying to disable Bestkit custom blocks on mobile only, but display on computer screen. I went into Modules>Bestkit custom blocks and click the arrow and click disable on mobiles, but it doesn't work at all, can anyone please help? Thanks!! :( Link to comment Share on other sites More sharing options...
emilyoct Posted September 8, 2016 Author Share Posted September 8, 2016 anyone Please? Link to comment Share on other sites More sharing options...
rocky Posted September 8, 2016 Share Posted September 8, 2016 I don't know why that option isn't working for you, but I can suggest that you edit the module's TPL files and add the following to the top: {if !$mobile_device} and the following at the end: {/if} This will at least stop the HTML being added if you're on a mobile device. 1 Link to comment Share on other sites More sharing options...
emilyoct Posted September 12, 2016 Author Share Posted September 12, 2016 Hi rocky, Thank you very much for your reply. Could you please able to tell me where can I find the "Bestkit custom blocks" module's TPL file? I went to modules/bestkit_customblocks and I can't find .tpl, but .php only I don't know why that option isn't working for you, but I can suggest that you edit the module's TPL files and add the following to the top: {if !$mobile_device} and the following at the end: {/if} This will at least stop the HTML being added if you're on a mobile device. Link to comment Share on other sites More sharing options...
rocky Posted September 13, 2016 Share Posted September 13, 2016 Sorry, I'm not familiar with that module, so I don't know its structure or how it works. Have you contacted the module's developer for support? 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