Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 05/26/2016 in all areas

  1. Kurogane

    Universal Module

    I'm not sure if is a bug but when you create service option and have multiple options in "select" not store the option. How to reproduce it - Create a form and enable "Require Manual Review and Approval of All Orders" - Create a Service Options: Label: name Name: label_name Type: Select Value: test:Test|test2:Test2|test3:Test3|test4:Test4 - Now order the package and select Test3 (can you select whatever but not Test) - When you order it, go to pending and click manage the package you order it, - In the Field "name" you will see the service options we create it. - You will see the option is selected as default Test and not test3 we selected in order form Also other problem, i'm not sure how is work really, i not understand what is the differences between the option hidden and secret anyways, when you select secret in admin side and the same when click manage there is not display secret field
    1 point
  2. from your response I gather you are looking at the following, 1. cPanel server setup, complete including Easyapache, php, security, dns and email. 2. Blesta setup and system configuration. 3. For auto off site backup you will first need to provide a backup server, unless you want it included with the management service. 4. Job deemed complete after you find above in good work order. Is above what you are looking for?
    1 point
  3. Tyson

    Universal Module

    I was not able to duplicate the issue. When I go to manage the pending service, the correct drop-down options are selected for me. Can anyone else duplicate this behavior? The "Secret" field is only used for notifications as mentioned in the documentation. If you want the field to be displayed to just admins, you should use "Hidden".
    1 point
  4. Tyson

    Release 3.6.1

    Some code needs to be refactored to support the remaining features we're including for v4, so it's taking longer than expected to update the design and integrate those changes. Good news is that it will be a better integration in the long run. When these two tasks, CORE-1686 and CORE-1763, are complete it should be ready for beta.
    1 point
  5. Hi, I'm sharing a quick method for making custom static pages in blest system without any additional plugin. Please consider that any future update would require to take care of the changes made as they can be erased. In this example I'll be doing a static page that will be located in your_blesta_location.com/services 1.1 Creating a static page with custom HTML 1. Open plugins/cms/controller/main.php Find: else { $this->redirect($this->base_uri); } Replace for: else { switch($uri) { case 'services': $this->structure->set("page_title", "*** INSERT PAGE TITLE ***"); $this->structure->set("title", "*** INSERT TITLE SHOWN ON PORTAL TEMPLATE ***"); // Placeholders won't work with this method, so let's use variables $url = rtrim($this->base_url, "/"); $blesta_url = $this->Html->safe($url . WEBDIR); $html = <<<EOT <div class="col-md-4 col-sm-6 portal-box"> <a href="{$blesta_url}services> <div class="well"> <i class="fa fa-cogs fa-4x"></i> <h4>Foo</h4> <p>Bar.</p> </div> </a> </div> EOT; $this->set("content", $html); break; default: $this->redirect($this->base_uri); } } You can repeat the php case for making all the static pages you want, putting HTML between the EOT marks (There should be no space or characters after EOT; mark). If you don't like the broken indentation you can try another methods for doing multi line strings in PHP, but I think using nowdoc is more easy when you need to insert html. 1.2 Adding custom meta tags to the new static page (optional) 1. Open plugins/cms/controller/main.php Find $this->set("content", $html); Add Before: $metatags = <<<EOT <meta property="og:title" content="foo"/> <meta property="og:description" content="bar."/> <meta property="og:image" content="baz"/> <meta property="og:url" content="http://www.example.com/services"/> EOT; $this->structure->set("metatags" , $metatags); 2. Open /app/views/client/bootstrap/structure.pdt (or in your own template) Find <meta name="viewport" content="width=device-width, initial-scale=1.0"> Add after <?php echo $this->Html->ifSet($metatags) ?> Dev note: this could be easier if could find a way to get structure protected property values, then concat the metatags to an existing variable like $custom_head (Is there a method like $this->structure->get()?) Also, don't forget that the Portal plugin is being developed for being a fully functional CMS system, so this would not be needed in the future. Here is my result, I'm linking this custom static page from the blesta portal main page for linking to different order pages (currently in design and module coding process, blesta flexibility is awesome) Result: Setting what Facebook shows by modifying meta tags I hope somebody finds this useful Bye EDIT: fixed a detail in $url definition EDIT2: Added how to add custom html into <head> EDIT3. Confirming that this still works for Blesta 3.5.1
    1 point
×
×
  • Create New...