mben4 Posted May 24, 2016 Share Posted May 24, 2016 Hi Everyone, I'm trying to edit the overall look of the default-bootstrap theme and am having a hard time location the right files and variables. For instance I want to change the phone number 0123-456-7890 at the top of the page and everything I've read tells me to edit the tpl file located in themes/YOUR-THEME/modules/blockcontact/nav.tpl. but it shows the following: {if $telnumber} <span class="shop-phone"> <i class="icon-phone"></i>{l s='Call us now:' mod='blockcontact'} <strong>{$telnumber}</strong> </span>{/if} where is the $telnumber content? Thanks very much. Link to comment Share on other sites More sharing options...
shokinro Posted May 25, 2016 Share Posted May 25, 2016 it is from a module called blockcontact the phone number is in database which is configurable via the module the theme file is /themes/default-bootstrap/modules/blockcontact/nav.tpl 1 Link to comment Share on other sites More sharing options...
mben4 Posted May 25, 2016 Author Share Posted May 25, 2016 Thanks Shokinro... but I've looked in there and as I wrote it has a variable $telnumber.... where can I edit that variable? Link to comment Share on other sites More sharing options...
shokinro Posted May 25, 2016 Share Posted May 25, 2016 As in mentioned previously. This is saved in database. You can change the phone number from the module configuration screen. Back office Modules & Services Search the module and click "configure". 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