Jump to content

Recommended Posts

Posted

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

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.

Posted

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

  • 3 weeks later...
  • 3 months later...
Posted

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

  • 1 month later...
Posted

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.

  • 6 months later...
Posted

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

Posted

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

  • 3 years later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...