I've removed the direct link. I'll setup using Blesta for registered user instead. Those who are interested can register and download it. I'll edit the link on the first post when it's ready.
Thanks
It depends on how you want to look on your custom theme, but I think Default client view has to standardize. Whether we going to remove the title div and place it at the nav area or are we going to move the title div after header or are we going hide the blue header on responsive and appear the logo on nav area on the left.
So, 1 or 2 rows on responsive. I prefer one. like here
Thanks pal, Blestatheme.com will focus more on the frontend especially on template/theme. From integration to custom web design development for Blesta. Blestatheme.com right now is working on and hoping to release an alternative free makeover client theme for Blesta. The rest of the release will be premium themes. as well as some freebies as contribution.
I know who to look for if there's custom development services for blesta.
Feedback? It's not 100% done. There are still many to tweak and need advice on this kind of style. I will also try not to change alot especially on the default blesta layout unless it's necessary.
I've removed the direct link. I'll setup using Blesta for registered user instead. Those who are interested can register and download it. I'll edit the link on the first post when it's ready.
Thanks
@lifehome: The wheel is already invented, so the only option we designners and programmars, have is to "Reinvent the wheel"
Im sure that DigitalOcean also (re)use some design aspects from outher sources
Feedback? It's not 100% done. There are still many to tweak and need advice on this kind of style. I will also try not to change alot especially on the default blesta layout unless it's necessary.
Often the login forms all look similar .... There is really not much to do on it (a couple of fields and either labels or icons and some text and a login button) so really you cannot judge.
Thanks pal, Blestatheme.com will focus more on the frontend especially on template/theme. From integration to custom web design development for Blesta. Blestatheme.com right now is working on and hoping to release an alternative free makeover client theme for Blesta. The rest of the release will be premium themes. as well as some freebies as contribution.
I know who to look for if there's custom development services for blesta.
Are you trying to say, the login looks like digitalocean? I went to take a look at digitalocean. Does digitalocean have font awesome icon on the input area? No. Is the color hex same? No. Is the layout, text align or fonts same? No.
I can as well do some research on how many sites are looking "similar" layout and colors. It's never ending when it comes to this type of discussion.
This freebie is an alternative client login for the community. It's up to you if you want to use it or not. I've made my contribution.
Thanks pal, Blestatheme.com will focus more on the frontend especially on template/theme. From integration to custom web design development for Blesta. Blestatheme.com right now is working on and hoping to release an alternative free makeover client theme for Blesta. The rest of the release will be premium themes. as well as some freebies as contribution.
I know who to look for if there's custom development services for blesta.
Thanks pal, Blestatheme.com will focus more on the frontend especially on template/theme. From integration to custom web design development for Blesta. Blestatheme.com right now is working on and hoping to release an alternative free makeover client theme for Blesta. The rest of the release will be premium themes. as well as some freebies as contribution.
I know who to look for if there's custom development services for blesta.
Feedback? It's not 100% done. There are still many to tweak and need advice on this kind of style. I will also try not to change alot especially on the default blesta layout unless it's necessary.
Feedback? It's not 100% done. There are still many to tweak and need advice on this kind of style. I will also try not to change alot especially on the default blesta layout unless it's necessary.
Feedback? It's not 100% done. There are still many to tweak and need advice on this kind of style. I will also try not to change alot especially on the default blesta layout unless it's necessary.
Login pdt does not have that or touch anything 'Powered by blesta' It is located at structure.pdt instead at line 243 to 248. You should contact Blesta if you are allowed to remove that. You need unbranded license.
So you want to make your blesta installation to look like your website?
First go to: app/views/client/default/
Make sure you Take a backup of the default folder or do make a new folder called default_backup and copy the files first before editing.
upload the folders you need from your website like /css and /images and even /js if you have custom JS.
Now go and edit: structure.pdt
Here you can see everything which displays the Top / Content / footer.
So remove everything except this:
<section id="outer_layout"<?php echo ($this->Html->ifSet($outer_class) ? " class=\"" . $this->Html->_($outer_class, true) . "\"" : "");?>>
<section class="layout">
<div class="page">
<?php echo $content;?>
</div>
</section>
As that is the middle content Which we want to keep the same of course.
Now copy the header from your website.
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>My site Name</title>
<meta name="author" content="Blesta" />
<meta name="rating" content="Safe For Kids" />
<link href="http://yoursite.com/css/bootstrap.css" rel="stylesheet">
<link href="http://yoursite.com/css/cubicwebs.css?v=2" rel="stylesheet">
</head>
<body>
<section id="outer_layout"<?php echo ($this->Html->ifSet($outer_class) ? " class=\"" . $this->Html->_($outer_class, true) . "\"" : "");?>>
<section class="layout">
<div class="page">
<?php echo $content;?>
</div>
</section>
Now replace the http://yoursite.com/ of your CSS / JS to: [Remember to leave the external links like google the same]
<?php echo $this->view_dir;?>
And replace the Title of your design to:
<?php echo (($page_title = (isset($page_title) ? $page_title : $this->_($page_title_lang, true, $get_params))) ? $this->Html->_($page_title, true) . " | " : "") . $this->Html->_($system_company->name, true);?>
Like:
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><?php echo (($page_title = (isset($page_title) ? $page_title : $this->_($page_title_lang, true, $get_params))) ? $this->Html->_($page_title, true) . " | " : "") . $this->Html->_($system_company->name, true);?></title>
<meta name="author" content="Blesta" />
<meta name="rating" content="Safe For Kids" />
<link href="<?php echo $this->view_dir;?>css/bootstrap.css" rel="stylesheet">
<link href="<?php echo $this->view_dir;?>css/cubicwebs.css?v=2" rel="stylesheet">
</head>
<body>
<section id="outer_layout"<?php echo ($this->Html->ifSet($outer_class) ? " class=\"" . $this->Html->_($outer_class, true) . "\"" : "");?>>
<section class="layout">
<div class="page">
<?php echo $content;?>
</div>
</section>
Now that will make the header the same. However we now need to add the final Blesta Header code, just above the </head><body> put the following code:
Show Login when not logged in, but show Log out when logged in:
<?php
if ($this->Html->ifSet($logged_in)) {
?>
<a href="<?php echo $this->Html->safe($this->client_uri . "logout/");?>">Logout</a>
<?php
}
else {
?>
<a href="<?php echo $this->Html->safe($this->client_uri . "login/");?>">Login</a>
<?php
}
?>
Show different navigation depending whether user is logged in or not:
<?php if ($this->Html->ifSet($logged_in)) { ?>
<a href="http://billing.yourdomain.com/customers/accounts/">Payment Accounts</a>
<a href="http://billing.yourdomain.com/customers/contacts/">Contacts</a>
<a href="http://billing.yourdomain.com/customers/plugin/download_manager/client_main/">Downloads</a>
<a href="http://billing.yourdomain.com/customers/plugin/support_manager/client_main/">Support</a>
<a href="https://billing.yourdomain.com/plugin/order/main/signup/register">Sign up</a>
<?php }else{ ?>
<a href="https://yourdomain.com/shared-hosting">WebHosting</a>
<a href="https://yourdomain.com/resellers">Resellers</a>
<a href="https://yourdomain.com/managed-vps">VPS</a>
<a href="https://yourdomain.com/shoutcasts">Streaming</a>
<a href="https://yourdomain.com/domains">Domains</a>
<a href="https://yourdomain.com/about-us">Company</a>
<a href="https://billing.yourdomain.com/plugin/order/main/signup/register">Sign up</a>
<?php } ?>
If you have Multi-company licenses and you want the urls to change per company you will need to use this style URLs:
Show the page title:
<?php
if ($this->Html->ifSet($title)) {
$this->Html->_($title);
}
else {
$this->_("AppController.client_structure.default_title");
}
?>
Showing Theme 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
}
else {
?>
<img src="<?php echo $this->view_dir;?>images/logo.png" alt="Blesta" />
<?php
}
?>
</a>
Showing your own logo with link to the index:
<a href="<?php echo $this->Html->safe($this->base_uri);?>"><img src="urltologo.png"></a>
or
<a href="<?php echo $this->Html->safe($this->base_uri);?>"><div class="logo"></div></a>
or
<a href="<?php echo $this->Html->safe($this->base_uri);?>" class="logo"></a>
Return to Admin panel message:
<?php
if ($this->Html->ifSet($staff_as_client)) {
?>
<div class="global_note"><?php $this->_("AppController.client_structure.staff_as_client_note", false, $this->Html->ifSet($this->admin_uri) . "clients/logoutasclient/");?></div>
<?php
}
?>
The buttons which say Login / Return to portal etc:
<?php
if ($this->Html->ifSet($logged_in)) {
?>
<span class="button"><a href="<?php echo $this->Html->safe($this->client_uri . "logout/");?>"><?php $this->_("AppController.client_structure.text_logout");?></a></span>
<?php
}
else {
?>
<span class="button"><a href="<?php echo $this->Html->safe($this->client_uri . "login/");?>"><?php $this->_("AppController.client_structure.text_login");?></a></span>
<?php
}
?>
<span class="button"><a href="<?php echo $this->Html->safe(WEBDIR);?>"><?php $this->_("AppController.client_structure.text_return_to_portal");?></a></span>
Navigation with Link / Link / Link / Link and the bar under the header on default:
<section class="outer_nav">
<section class="layout">
<div class="inner_layout">
<nav id="nav">
<ul>
<?php
$i = 0;
$nav_total = count($nav);
foreach ($this->Html->ifSet($nav, array()) as $link => $value) {
$attributes = array();
$link_attributes = array();
if ($value['active'])
$link_attributes['class'][] = "active";
if ($i == 0)
$attributes['class'][] = "first";
elseif ($i == $nav_total-1)
$attributes['class'][] = "last";
?>
<li<?php echo $this->Html->buildAttributes($attributes);?>>
<a href="<?php $this->Html->_($link);?>"<?php echo $this->Html->buildAttributes($link_attributes);?>><?php $this->Html->_($value['name']);?></a>
</li>
<?php
$i++;
}
unset($i);
?>
</ul>
</nav>
</div>
</section>
</section>
Hope this is a easier tut to follow, I've tried to make it as simple as I can. Good luck customizing your Blesta.