Jump to content

Search the Community

Showing results for tags 'custom page'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


WHMCS.Community

  • The latest WHMCS Release
  • WHMCS Beta Program
    • WHMCS Mobile App Technical Preview Feedback
  • The Latest from the WHMCS Team
    • News, Announcements & Blogs from WHMCS
  • WHMCS.Community
    • Community Announcements
    • Introduce Yourself
  • Using WHMCS
    • Pre-Sales Questions
    • Admin & Configuration Questions
    • Installation, Upgrade, and Import Support
    • Using WHMCS
    • Troubleshooting Issues
    • Vendor Discussions
  • WHMCS Showcase
    • Showcase Your Site
    • Share Your Best Practices & Tips
  • Developing & Extending WHMCS
    • Third Party Add-ons
    • Service Offers & Requests
    • Developer Corner
    • Building Modules
    • Share Ideas for WHMCS Modules
  • Community Competitions
    • Competitions
  • General Discussions
    • General Discussion
  • General Feedback & Assistance
    • Feedback
    • WHMCS.Community Tips & Tricks
  • Third Party Developers's Topics
  • Turkish International Discussions's Topics
  • Russian International Discussions's Topics
  • Spanish International Discussions's Topics
  • Portuguese International Discussions's Topics
  • French International Discussions's Topics
  • Italian International Discussions's Topics
  • German International Discussions's Topics
  • WHMCS Brasil's Topics
  • WHMCS Brasil's Tópicos
  • ModulesGarden Club's Topics
  • Hungarian International Discussions's Segítség
  • ThemeMetro Club's Topics
  • WHMCS Services Club's Topics
  • SwiftModders Club's Topics
  • WHMCS Global Services Club's Topics
  • Zomex Club's Topics

WHMCS Version

  • V7.10.x Hotfixes
  • V7.9.x Hotfixes
  • V7.8.x Hotfixes

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


About Me

Found 5 results

  1. Hello again, I am trying to add a currency selector on one of my custom page where I have display the product details. I want to allow my vistor to change the default currency from this custom page and view the product pricing accordingly. I have added this code in my custom.tpl <form method="post" action="" > <input type="hidden" name="token" value="{$LANG.go}"> <select name="currency" onchange="submit()" class="form-control"> <option value="">Change Currency (A$ AUD)</option> {foreach from=$currencies item=listcurr} <option value="{$listcurr.id}"{if $listcurr.id == $currency.id} selected{/if}>{$listcurr.prefix} {$listcurr.code}</option> {/foreach} </select> </form> But it is not working, everyytime I select the currency from dropdown, it refresh the page. but nothing changes, please guide what I am doing wrong. Thanks in advance Aqsa,
  2. Hello, I am trying to add client's products and services list to the custom.php page, I have use the local API and added this code in custom.php file, $command = 'GetClientsProducts'; $postData = array( 'clientid' => '1', 'stats' => true, ); $adminUsername = 'admin'; // Optional for WHMCS 7.2 and later $results = localAPI($command, $postData, $adminUsername); print_r($results); It displays the results in Json format with print_r, but I don't understand how I can use this in .tpl file to display the client's products on the page. Please Help!
  3. Hi to all. I had a task to migrate old custom page (from 5th version) to 7th version. I have a problem with a primary navbar I am getting navbar with 6 items in it count(Menu::primaryNavbar()->getChildren()); // 6 But on the site in the primary navbar, there are 7 items. I tried to check out in hook the code above and got 7; There is no 'affiliates' item in the navbar. Maybe someone knows how to get full primary navbar as in all pages on the site
  4. I am trying to create a custom WHMCS page without any sidebars. I only want it to show the top bar where clients can choose language, etc. I have this code currently: <?php define("CLIENTAREA",true); //define("FORCESSL",true); // Uncomment to force the page to use https:// require("init.php"); $ca = new WHMCS_ClientArea(); $ca->setPageTitle("Support Center"); $ca->addToBreadCrumb('index.php',$whmcs->get_lang('globalsystemname')); $ca->addToBreadCrumb('support.php','HostAble Support'); $ca->addToBreadCrumb('support-center.php','Support Center'); $ca->initPage(); # Check login status if ($ca->isLoggedIn()) { # User is logged in - put any code you like here # Here's an example to get the currently logged in clients first name $result = mysql_query("SELECT firstname FROM tblclients WHERE id=".$ca->getUserID()); $data = mysql_fetch_array($result); $clientname = $data[0]; $ca->assign('clientname', $clientname); } else { # User is not logged in } # Define the template filename to be used without the .tpl extension $ca->setTemplate('supportcenter'); $ca->output(); ?> But obviously it isnt working, it just shows the page but with the sidebars and navigation bar too. Thank you if you can help me :)
  5. Hi, I need some help with a custom page I have created. I have created a new custom page named whois (created with whoislookup.tpl and whoislookup.php), where I have put the code for the bulk search from bulkdomainchecker.tpl. The page is actually a copy of bulkdomaintransfer.tpl, but with different name and php file. I want to use it as a whois search, so the client searches for a registered domain and the results display the domain with the WHOIs button. My problem is that I can't make the page display any domain information. I have tried to include files from the feeds folder but nothing. Every element related to domain (domain results, pricing table etc) is empty. How can I make it work and display the results in this page? Any help would be appreciated. Thank you.
×
×
  • 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