Jump to content

Michael

Moderators
  • Posts

    9,522
  • Joined

  • Last visited

  • Days Won

    186

Everything posted by Michael

  1. The bottom nav is Blesta's navigator which is pre-filled with plugin menus, etc you can add to it by finding it in the structure.pdt it should be something like: <div class="nav-content"> <div class="nav"> <nav class="navbar navbar-default" role="navigation"> <div class="navbar-header"> <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1"> <span class="sr-only"><?php $this->_("AppController.sreader.navigation");?></span> <span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span> </button> </div> <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1"> <div class="container"> <?php $active_nav = null; ?> <ul class="nav navbar-nav"> <?php foreach ($this->Html->ifSet($nav, array()) as $link => $value) { $attributes = array(); $link_attributes = array(); $dropdown = !empty($value['sub']); $active = false; if ($value['active']) { $active = true; $attributes['class'][] = "active"; $active_nav = $value; } if ($dropdown) { $attributes['class'][] = "dropdown"; $link_attributes['class'][] = "dropdown-toggle"; $link_attributes['data-toggle'][] = "dropdown"; // Set parent to active if child is if (!$active) { foreach ($this->Html->ifSet($value['sub'], array()) as $sub_link => $sub_value) { if ($sub_value['active']) { $attributes['class'][] = "active"; break; } } } } ?> <li<?php echo $this->Html->buildAttributes($attributes);?>> <a href="<?php $this->Html->_($link);?>"<?php echo $this->Html->buildAttributes($link_attributes);?>> <i class="<?php $this->Html->_($value['icon']);?>"></i> <?php $this->Html->_($value['name']); if ($dropdown) { ?> <b class="caret"></b> <?php } ?> </a> <?php if (!empty($value['sub'])) { ?> <ul class="dropdown-menu"> <?php foreach ($this->Html->ifSet($value['sub'], array()) as $sub_link => $sub_value) { ?> <li> <a href="<?php $this->Html->_($sub_link);?>"><i class="<?php $this->Html->_($sub_value['icon']);?>"></i> <?php $this->Html->_($sub_value['name']);?></a> </li> <?php } ?> </ul> <?php } ?> </li> <?php } ?> </ul> <ul class="nav navbar-nav navbar-right"> <li class="dropdown"> <a href="#" class="dropdown-toggle" data-toggle="dropdown"> <?php $this->Html->_($client->first_name);?> <?php $this->Html->_($client->last_name);?> <b class="caret"></b> </a> <ul class="dropdown-menu"> <li><a href="<?php echo $this->Html->safe($this->client_uri . "main/edit/");?>"><i class="fa fa-edit fa-fw"></i> <?php $this->_("AppController.client_structure.text_update_account");?></a></li> <?php if ($this->Html->ifSet($portal_installed, false)) { ?> <li><a href="<?php echo $this->Html->safe(WEBDIR);?>"><i class="fa fa-circle-o fa-fw"></i> <?php $this->_("AppController.client_structure.text_return_to_portal");?></a></li> <?php } ?> <li class="divider"></li> <li><a href="<?php echo $this->Html->safe($this->client_uri . "logout/");?>"><i class="fa fa-sign-out fa-fw"></i> <?php $this->_("AppController.client_structure.text_logout");?></a></li> </ul> </li> </ul> </div> </div><!-- /#header .navbar-collapse --> </nav> </div> </div> <?php } } ?> and you can add new links there in after this bit: </ul> <?php } ?> </li> Where you can add <li>Yourlink or stuff here</li> ------ As for the welcome back we have a tutorial here: Welcome the client or Welcome them back.
  2. Hi mate, depends on what you want to do? you can change the text in the theme structure.pdt look for: <?php if( $page_title != '' ){echo $page_title;}else{echo ($this->Html->ifSet($title) ? $this->Html->_($title, true) : $this->_("AppController.client_structure.default_title", true));}?> or <?php echo $this->Html->ifSet($title) ? $this->Html->_($title, true) : $this->_("AppController.client_structure.default_title", true));?>
  3. Michael

    create test account

    Click on clients and then add client and fill in your own details.
  4. Michael

    create test account

    Just make a client account for yourself
  5. correct mate, when it's running it shows that message and when it's finished it goes back green. Pm'd you mate
  6. I've noticed that when the "Download Tickets" is running it reports that the cron task has been running for 60 minutes. Last run: Task Last Ran: 14 Mar 2017 11:20:05 PM Finished: Task Last Ran: 14 Mar 2017 11:24:xx PM Then it goes green as normal. "The system is in good health and appears to be operating normally." It may be because I have a lot of departments (15).
  7. Blesta should send invoices fine to a 1000 customers, they aren't sent at the same time they will be put into a mail queue with your server / service if SMTP and sent out normally. Sending them all at once could crash your server or worse end up on a spammer list.
  8. Michael

    Upload an image?

    It sounds like you want to create a plugin which can be linked to a package like the download manager but where the client can upload an image instead of downloading a file. You would need the plugin to create a widget too.
  9. You need the moving blesta docs, just copy the blesta files over including the config files and the database.
  10. Just want to post here that the CMS is going to have a re-write so it may be delayed hopefully not after March but this will improve how we can upgrade / improve the plugin in the future and allow us to stay on the page we are editing. Eg: If you edit a blog post you don't want to end up clicking Blog again.
  11. PM'd you mate.
  12. Hi there mate, you can put it into the structure.pdt on the theme and it will need a bit of tweaking to integrate with the theme. If you don't have a theme I can link you to the theme we'll be including in 1.2.0.
  13. Welcome mate give me a bell if you need me
  14. Michael

    Timezone Error

    You should turn off errors, because that's a PHP error and if you have root of the server you can edit the php.ini.
  15. You need to create a order form. Packages > Order form. If you need help and have wire.com or google chrome remote access, I can show you around if you wish?
  16. Michael

    question

    Help with what? What is that domain? What's the question or is it spam?
  17. Nope sorry
  18. It's a module for VirtualMin: https://www.virtualmin.com it's an open source vps panel.
  19. Sounds like he's using the wrong currency (USD) but the package price isn't set. That or he has CloudFlare.
  20. I asked OnlineNic and they couldn't care less. NetEartheOne are close to their prices and they use the LogicBoxes module: http://reseller.netearthone.com/reseller.php?action=pricing
  21. whoop almost there
  22. don't change for me so wonder if its a ISP or browser cache issue
  23. Have you got the currency set-up correctly to allow clients to set a price or you can set-up the price for INR in the packages. See: Moved the thread to support as it's not a bug in 4.0.0
  24. that's due to the welcome email box. Copy what's in the box, empty the html box put the content into the text box and re-copy and paste.
×
×
  • Create New...