adamjedgar Posted March 31, 2019 Report Posted March 31, 2019 Hi guys, My website is setup as follows main website is https://mydomain.com.au Blesta is https://billing.mydomain.com.au I know how to establish my own custom logo in Blesta...ie edit the client template and change logo URL. However, i want the logo in https://billing.mydomain.com.au (when clicked on by a user) to take the browser back to my parent website https://mydomain.com.au How do i achieve this? Quote
0 Nelsa Posted April 1, 2019 Report Posted April 1, 2019 You will have to edit structure.pdt file in your template,blesta use variable(fetch from object) ,at this way it will fetch url from blesta settings but you can't change there since you will change also base url... ,so you will have to change that variable to hardcoded url..I would suggest you to first copy blesta default template and rename it to something unique,than edit url and after that go to settings--->look and feel-->templates and change template from blesta default template to customized one..At this way you will not loose customization with major upgrade or if you use full installation for upgrade instead patch. I don't remeber exact code you have to change..give me few minutes and I will post on what line and how to change...just to check.. Quote
0 Nelsa Posted April 1, 2019 Report Posted April 1, 2019 It should be line 32 in structure.pdt file(you'll see <div class="logo"> one line above...this is what you will see <div class="logo"> <a href="<?php echo $this->Html->safe($this->base_uri);?>"> Change second line to <a href="https//yourdomain.com"> (or what ever you want just use https...even if you redirect everything to https,you don't want to get warnings for unsecured content when visit over https) Dont change image source url,since you want only to change url when clicked ..just that one line structure.pdt file is in template directory(i.e bootsrap) and you can find it in blesta_install_dir/app/views/client/ You will probably have to delete cache in your browser to see changes instantly since images are cached Quote
Question
adamjedgar
Hi guys,
My website is setup as follows
main website is https://mydomain.com.au
Blesta is https://billing.mydomain.com.au
I know how to establish my own custom logo in Blesta...ie edit the client template and change logo URL.
However, i want the logo in https://billing.mydomain.com.au (when clicked on by a user) to take the browser back to my parent website https://mydomain.com.au
How do i achieve this?
2 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.