dccfoux Posted July 14, 2014 Report Share Posted July 14, 2014 I was wondering if I could edit a PHP template so that my Blesta installation would use a text-based logo, for responsiveness reasons. I know that Blesta uses IonCube to protect the source so I'm wondering if It's even possible. Quote Link to comment Share on other sites More sharing options...
0 Michael Posted July 14, 2014 Report Share Posted July 14, 2014 Le Structure.pdt /app/views/clients/bootstrap/structure.pdt. Blesta only encodes 3 files for license reasons. Quote Link to comment Share on other sites More sharing options...
0 dccfoux Posted July 14, 2014 Author Report Share Posted July 14, 2014 Le Structure.pdt /app/views/clients/bootstrap/structure.pdt. Blesta only encodes 3 files for license reasons. Oh sweet! Thanks! I tried making a change but it hasn't been applied. Should I restart the web server? Quote Link to comment Share on other sites More sharing options...
0 Michael Posted July 14, 2014 Report Share Posted July 14, 2014 Oh sweet! Thanks! I tried making a change but it hasn't been applied. Should I restart the web server? What are you editing Find: <div class="logo"> <a href="<?php echo $this->Html->safe($this->base_uri);?>"> <?php if (!empty($theme_logo)) { ?> <img src="<?php $this->Html->_($theme_logo);?>" alt="Logo" /> <?php } elseif (!empty($blesta_logo)) { ?> <img src="<?php $this->Html->_($blesta_logo);?>" alt="Blesta" /> <?php } else { ?> <img src="<?php echo $this->view_dir;?>images/logo.png" alt="Blesta" /> <?php } ?> </a> </div> Replace with: <div class="logo"> <a href="<?php echo $this->Html->safe($this->base_uri);?>"> <h1>Logo Name here</h1> </a> </div> Quote Link to comment Share on other sites More sharing options...
0 dccfoux Posted July 14, 2014 Author Report Share Posted July 14, 2014 What are you editing? First I changed the logo from an image to a simple <h3> for testing purposes, then the logo link. So far it's made no difference. Quote Link to comment Share on other sites More sharing options...
0 Michael Posted July 14, 2014 Report Share Posted July 14, 2014 First I changed the logo from an image to a simple <h3> for testing purposes, then the logo link. So far it's made no difference. Try the above. Quote Link to comment Share on other sites More sharing options...
0 Tyson Posted July 15, 2014 Report Share Posted July 15, 2014 Clear your browser's cache, or if in the admin area, clear the navigation cache by going to edit your staff group, and simply click to save the settings. Quote Link to comment Share on other sites More sharing options...
0 dccfoux Posted July 15, 2014 Author Report Share Posted July 15, 2014 Try the above. That is what I did. Clear your browser's cache, or if in the admin area, clear the navigation cache by going to edit your staff group, and simply click to save the settings. Did both, still nothing. Quote Link to comment Share on other sites More sharing options...
0 Michael Posted July 15, 2014 Report Share Posted July 15, 2014 That is what I did. Did both, still nothing. Are you using a caching software like opcache? Quote Link to comment Share on other sites More sharing options...
0 dccfoux Posted July 15, 2014 Author Report Share Posted July 15, 2014 Are you using a caching software like opcache? Not purposefully, just a clean install of Apache. Quote Link to comment Share on other sites More sharing options...
0 Michael Posted July 15, 2014 Report Share Posted July 15, 2014 Not purposefully, just a clean install of Apache. Weird never experienced this before. Quote Link to comment Share on other sites More sharing options...
0 flangefrog Posted July 15, 2014 Report Share Posted July 15, 2014 If you've upgraded from a previous version of Blesta you'll also have the "default" theme so make sure you're not changing the wrong file. Quote Link to comment Share on other sites More sharing options...
0 dccfoux Posted July 15, 2014 Author Report Share Posted July 15, 2014 If you've upgraded from a previous version of Blesta you'll also have the "default" theme so make sure you're not changing the wrong file. Nope, I'm new to Blesta so it's just the Bootstrap theme. Quote Link to comment Share on other sites More sharing options...
0 Daniel B Posted July 15, 2014 Report Share Posted July 15, 2014 Nope, I'm new to Blesta so it's just the Bootstrap theme. Perhaps give us a link so we can see if it's just a caching issue on your end? (if you are comfortable with that). Quote Link to comment Share on other sites More sharing options...
0 dccfoux Posted July 15, 2014 Author Report Share Posted July 15, 2014 Perhaps give us a link so we can see if it's just a caching issue on your end? (if you are comfortable with that). Yeah sure it's http://billing.nitrohosting.org/ however I've tried on several computers of mine. Quote Link to comment Share on other sites More sharing options...
0 Michael Posted July 15, 2014 Report Share Posted July 15, 2014 Yeah sure it's http://billing.nitrohosting.org/ however I've tried on several computers of mine. Yes I get the logo too. go to the cache folder and delete the 1 folder see if that works. Quote Link to comment Share on other sites More sharing options...
0 dccfoux Posted July 19, 2014 Author Report Share Posted July 19, 2014 Yes I get the logo too. go to the cache folder and delete the 1 folder see if that works. Wow nevermind the whole problem was just me. I got too used to Coda2 automatically saving the file to the server that when I used it to open the file from FileZilla I forgot I had to say "yes" to replacing the file in FileZilla. Michael 1 Quote Link to comment Share on other sites More sharing options...
0 Michael Posted July 19, 2014 Report Share Posted July 19, 2014 Wow nevermind the whole problem was just me. I got too used to Coda2 automatically saving the file to the server that when I used it to open the file from FileZilla I forgot I had to say "yes" to replacing the file in FileZilla. Easy thing to do Quote Link to comment Share on other sites More sharing options...
Question
dccfoux
I was wondering if I could edit a PHP template so that my Blesta installation would use a text-based logo, for responsiveness reasons.
I know that Blesta uses IonCube to protect the source so I'm wondering if It's even possible.
Link to comment
Share on other sites
17 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.