Jump to content


Regular Collector
  • Content Count

  • Joined

  • Last visited

Community Reputation

1 Neutral

About system32

  • Rank
  1. Hello, I'm integrating a theme. But I need your help with something. Example. header.TPL is like the last div attachment below. <div class="container-fluid relative animatedParent animateOnce my-3"> this is the Div attachment viewticket.the TPL field should be as follows. <div class="container-fluid relative animatedParent animateOnce p-0"> Everything is normal on the main page you'll understand, but on other pages there is a shift in certain areas. Thank you in advance.
  2. Thanks for your reply. I did it like you said, and it happened. It was exactly what I wanted.
  3. I've tried it. But I haven't been very successful. Because there is no product, we can only display the message I want. But the warning message does not disappear because it is the product.
  4. Hello, I'm developing a client panel. There's something I'm hanging out with. For example, if there is no product or order on the product services page, I just want to have a new order button. For example, the following image. Page URL: clientarea.php?action=services I want it to be page: https://prnt.sc/meyypo Of course, whenever an order or product is available, the products page will display normally.
  5. Thank you for your answer. I just wanted to show you on the customer's main page of product services and have shown. Only the buttons do not change depending on the product. The hook we used for this and the clientareahome.tpl codes are as follows. clientareahome.tpl {include file="$template/includes/tablelist.tpl" tableName="ServicesList" filterColumn="3"} <script type="text/javascript"> jQuery(document).ready( function () { var table = jQuery('#tableServicesList').removeClass('hidden').DataTable(); {if $orderby == 'product'} table.order([0, '{$sort}'], [3, 'asc']); {elseif $orderby == 'amount' || $orderby == 'billingcycle'} table.order(1, '{$sort}'); {elseif $orderby == 'nextduedate'} table.order(2, '{$sort}'); {elseif $orderby == 'domainstatus'} table.order(3, '{$sort}'); {/if} table.draw(); jQuery('#tableLoading').addClass('hidden'); }); </script> <div class="col-xl-8 col-lg-7"> <div class="token-transaction card card-full-height clearfix"> <div class="card-innr"> <div class="card-head has-aside"> <h4 class="card-title">{$LANG.manageproduct}</h4> <div class="card-opt"><a href="clientarea.php?action=services" class="link ucap">{$LANG.viewAll}<em class="fas fa-angle-right ml-2"></em></a></div> </div> <table id="tableServicesList" class="table tnx-table"> <thead> <tr> <th>{$LANG.orderproduct}</th> <th>{$LANG.invoicesamount}</th> <th class="d-none d-sm-table-cell tnx-date">{$LANG.nextdue}</th> <th class="tnx-type"> <div class="tnx-type-text"></div> </th> </tr> <!-- tr --> </thead> <!-- thead --> <tbody> {foreach key=num from=$services item=service} <td> <div class="d-flex align-items-center"> <div class="data-state data-state-approved"></div><span class="lead">{$service.product}</span></div> </td> <td><span><span class="lead">{$service.amount} </span><span class="sub"> {$service.billingcycle} <em class="fas fa-info-circle" data-toggle="tooltip" data-placement="bottom" data-original-title="Aylık Tutar Gösterilmektedir."></em></span></span> </td> <td class="d-none d-sm-table-cell tnx-date"><span class="sub sub-s2">{$service.nextduedate}</span></td> <td class="tnx-type"> <td class="tnx-type"><span class="tnx-type-md badge badge-outline badge-success badge-md status-{$service.status|strtolower}">{$service.domainstatus}</span><span class="tnx-type-sm badge badge-sq badge-outline badge-success badge-md">P</span></td> </tr> <!-- tr --> {/foreach} </tbody> <!-- tbody --> </table> <!-- .table --> </div> </div> </div> Hook; <?php use Illuminate\Database\Capsule\Manager as Capsule; function products_list_hook($vars) { $client = Menu::context('client'); $services = Capsule::table('tblhosting') ->join('tblproducts','tblhosting.packageid','=','tblproducts.id') ->where('userid',$client->id) ->select('tblhosting.*','tblproducts.name as product') ->get(); $encodedata = json_encode($services); $decodedata = json_decode($encodedata, true); return array("services" => $decodedata); } add_hook("ClientAreaPageHome", 1, "products_list_hook");
  6. I'm trying to integrate a customer panel. Product/services have been added to the customer's home page and are successful. But how can they change the buttons? Example, Active product button green. The suspended product button is yellow. The discontinued product button is red. This is already in the "six" theme. Font colors vary according to product situation. But unfortunately, my integrated theme does not work. I think a JavaScript file may not work because we have shown the product/services on the home page with a hook. Can you help me on this? Sample is attached. You can see the product/services buttons are all the same green.
  7. I want a currency option from the header section of our theme. I tried some resources, but it didn't. For example, the following codes. The menu does not open.
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated