Jump to content
BlestaStore

Site Integration With Blesta 3.1.x

Recommended Posts

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);?>

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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 :D

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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 :)

Share this post


Link to post
Share on other sites

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? :D

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×