Burti Posted February 12, 2015 Share Posted February 12, 2015 Hello {if $registrarcustombuttons}<li class="divider"></li> {foreach from=$registrarcustombuttons key=label item=command} <li><a href="clientarea.php?action=domaindetails&id={$domainid}&modop=custom&a={$command}">{$label}</a></li> {/foreach}{/if} how can I add custom button in my module? function betweentransfer_ClientArea($vars) { $registrarcustombuttons=array("val"=>"test"); return $registrarcustombuttons; } add_hook("ClientAreaFooterOutput", 1, "betweentransfer_ClientArea" ); does'nt works.. please help me 0 Quote Link to comment Share on other sites More sharing options...
Burti Posted February 12, 2015 Author Share Posted February 12, 2015 function betweentransfer_ClientArea($vars) { $registrarcustombuttons=array_push($vars["registrarcustombuttons"], "label"); return $registrarcustombuttons; } O use this function is working push the array but doesn't display code ? Whats the problem ? Please help me !! 0 Quote Link to comment Share on other sites More sharing options...
Burti Posted February 14, 2015 Author Share Posted February 14, 2015 HELP ME ? and D.Area is not working ! 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.