Michael Posted August 29, 2013 Author Report Share Posted August 29, 2013 While $this->Html->_() escapes HTML content to avoid introducing XSS vulnerabilities, I think you should continue to use $this->Html->safe() for wrapping custom URLs. Using $this->Html->_() several times is not as clean and readable. Also, these statements are equivalent: <?php $this->Html->_($variable); echo $this->Html->_($variable, true); ?> So could we use this mate: <?php echo $this->Html->safe($system_company->hostname, true);?> Quote Link to comment Share on other sites More sharing options...
Tyson Posted August 29, 2013 Report Share Posted August 29, 2013 So could we use this mate: <?php echo $this->Html->safe($system_company->hostname, true);?> Variables should be checked to exist: <?php echo $this->Html->safe($this->Html->ifSet($system_company->hostname)); ?> The second parameter of "true" preserves tags (i.e. < > " ') which may or may not be what you want to do, depending on the context. Michael 1 Quote Link to comment Share on other sites More sharing options...
Michael Posted August 29, 2013 Author Report Share Posted August 29, 2013 Variables should be checked to exist: <?php echo $this->Html->safe($this->Html->ifSet($system_company->hostname)); ?> The second parameter of "true" preserves tags (i.e. < > " ') which may or may not be what you want to do, depending on the context. Thank you mate Quote Link to comment Share on other sites More sharing options...
R.W's Posted August 31, 2013 Report Share Posted August 31, 2013 Wow, the article is self explainatory Quote Link to comment Share on other sites More sharing options...
Michael Posted August 31, 2013 Author Report Share Posted August 31, 2013 Wow, the article is self explainatory Thank you Quote Link to comment Share on other sites More sharing options...
HarrisonLILY Posted September 16, 2013 Report Share Posted September 16, 2013 Nice write up mate, gives me a reference when I hit the template side of things Quote Link to comment Share on other sites More sharing options...
Michael Posted September 17, 2013 Author Report Share Posted September 17, 2013 Nice write up mate, gives me a reference when I hit the template side of things No problem, glad I helped you Quote Link to comment Share on other sites More sharing options...
Virtovo Posted December 31, 2013 Report Share Posted December 31, 2013 Excellent write up. Just out of interest; how would you handle image paths that are reference in CSS files instead? Quote Link to comment Share on other sites More sharing options...
Michael Posted December 31, 2013 Author Report Share Posted December 31, 2013 Excellent write up. Just out of interest; how would you handle image paths that are reference in CSS files instead? Same as you would in css maybe ../images or images Quote Link to comment Share on other sites More sharing options...
Chris Posted February 13, 2014 Report Share Posted February 13, 2014 I like this looks a bit challenging. one these days I'm going to have to play around with this .. I've manged to get few billing systems integrated. Michael 1 Quote Link to comment Share on other sites More sharing options...
Michael Posted February 13, 2014 Author Report Share Posted February 13, 2014 I like this looks a bit challenging. one these days I'm going to have to play around with this .. I've manged to get few billing systems integrated. The only hard bit mainly is stopping Bootstrap overwriting the CSS mate haha, should be easy in 3.2 though. Quote Link to comment Share on other sites More sharing options...
wfitg Posted September 9, 2014 Report Share Posted September 9, 2014 So you want to make your blesta installation to look like your website?Hope this is a easier tut to follow, I've tried to make it as simple as I can. Good luck customizing your Blesta. This is a GREAT tutorial mate! Thanks for making this. I'm going to try it Quote Link to comment Share on other sites More sharing options...
wfitg Posted September 9, 2014 Report Share Posted September 9, 2014 I think the Blesta coloring scheme works nice for matching something like a Wordpress Installation. That is what I have done.However, it would also be nice to only integrate a Wordpress Menu in to the Blesta. This way clients can navigate back to specific pages on the website too.When you have time, can you make a tutorial on that? Quote Link to comment Share on other sites More sharing options...
Stu Posted December 29, 2017 Report Share Posted December 29, 2017 HI, just coming back to my blesta project after a long time away from it. Is this tutorial still accurate for 4.2.0? Quote Link to comment Share on other sites More sharing options...
Web Hosting UK Posted January 1, 2018 Report Share Posted January 1, 2018 Nice guide. Quote Link to comment Share on other sites More sharing options...
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.