Jump to content

cluster

Level 2 Member
  • Content count

    164
  • Joined

  • Last visited

Community Reputation

10 Good

About cluster

  • Rank
    Level 2 Member
  1. thanks! I have removed following two lines and it seems to work ;-) <input type='submit' name='auth' value='Login to Control Panel'/> <input type='submit' name='novnc' value='Open noVNC client'/>
  2. I would like to remove or hide the two buttons below from the ClientArea productdetails, is that possible? Login to ControlPanel open noVNC Client I use the VMmanager module https://marketplace.whmcs.com/product/3202
  3. include cookie bar

    yes, also the css part is now placed into the footer.tpl ... this cookie bar is now the last part of the nightmare terrorism of the EU website regulations!!!
  4. include cookie bar

    Now I've been working for about 3 weeks on this EU cr*p ... such a waste of time ;-)
  5. include cookie bar

    now it works, just the css needs to be adjusted ... Curly braces {} are the default delimiters in Smarty. If you don't want curly braces interpreted as Smarty tags, you must enclose them in {literal}{/literal} tags. {literal} <script type="text/javascript"> //<![CDATA[ jQuery(document).ready(function() { cli_show_cookiebar({ settings: '{"animate_speed_hide":"500","animate_speed_show":"500","background":"#444444","border":"#ffffff","border_on":true,"button_1_button_colour":"#dd8808","button_1_button_hover":"#b16d06","button_1_link_colour":"#fff","button_1_as_button":true,"button_2_button_colour":"#333","button_2_button_hover":"#292929","button_2_link_colour":"#ffffff","button_2_as_button":false,"button_3_button_colour":"#000","button_3_button_hover":"#000000","button_3_link_colour":"#fff","button_3_as_button":true,"font_family":"inherit","header_fix":false,"notify_animate_hide":false,"notify_animate_show":false,"notify_div_id":"#cookie-law-info-bar","notify_position_horizontal":"right","notify_position_vertical":"bottom","scroll_close":false,"scroll_close_reload":false,"showagain_tab":false,"showagain_background":"#fff","showagain_border":"#000","showagain_div_id":"#cookie-law-info-again","showagain_x_position":"100px","text":"#ffffff","show_once_yn":false,"show_once":"10000"}' }); }); //]]> </script> {/literal}
  6. include cookie bar

    hi Brian, it seems to be a problem with the brackets used for the parameters, it works w/o the parameter part like: <script type="text/javascript"> //<![CDATA[ jQuery(document).ready(function() { cli_show_cookiebar({ }); }); //]]> </script> I also tried to replace w/ parentheses but the function does not work after that "{" to "(" <script type="text/javascript"> //<![CDATA[ jQuery(document).ready(function() { cli_show_cookiebar({ settings: '("animate_speed_hide":"500","animate_speed_show":"500","background":"#444444","border":"#ffffff","border_on":true,"button_1_button_colour":"#dd8808","button_1_button_hover":"#b16d06","button_1_link_colour":"#fff","button_1_as_button":true,"button_2_button_colour":"#333","button_2_button_hover":"#292929","button_2_link_colour":"#ffffff","button_2_as_button":false,"button_3_button_colour":"#000","button_3_button_hover":"#000000","button_3_link_colour":"#fff","button_3_as_button":true,"font_family":"inherit","header_fix":false,"notify_animate_hide":false,"notify_animate_show":false,"notify_div_id":"#cookie-law-info-bar","notify_position_horizontal":"right","notify_position_vertical":"bottom","scroll_close":false,"scroll_close_reload":false,"showagain_tab":false,"showagain_background":"#fff","showagain_border":"#000","showagain_div_id":"#cookie-law-info-again","showagain_x_position":"100px","text":"#ffffff","show_once_yn":false,"show_once":"10000")' }); }); //]]> </script> I worked for 3 days w/ the WP bar integration because of above the fold problems with the scripts and design ... so now I would like to use this cookie bar in whmcs too ;-)
  7. include cookie bar

    I guess the problem are the <![CDATA[ parts w/ smarty ... is there any chance to wrap the parts so it can work w/ WHMCS? <script type='text/javascript'> /* <![CDATA[ */ var Cli_Data = {"nn_cookie_ids":null}; /* ]]> */ </script> and <script type="text/javascript"> //<![CDATA[ jQuery(document).ready(function() { cli_show_cookiebar({ settings: '{"animate_speed_hide":"500","animate_speed_show":"500","background":"#444444","border":"#ffffff","border_on":true,"button_1_button_colour":"#dd8808","button_1_button_hover":"#b16d06","button_1_link_colour":"#fff","button_1_as_button":true,"button_2_button_colour":"#333","button_2_button_hover":"#292929","button_2_link_colour":"#ffffff","button_2_as_button":false,"button_3_button_colour":"#000","button_3_button_hover":"#000000","button_3_link_colour":"#fff","button_3_as_button":true,"font_family":"inherit","header_fix":false,"notify_animate_hide":false,"notify_animate_show":false,"notify_div_id":"#cookie-law-info-bar","notify_position_horizontal":"right","notify_position_vertical":"bottom","scroll_close":false,"scroll_close_reload":false,"showagain_tab":false,"showagain_background":"#fff","showagain_border":"#000","showagain_div_id":"#cookie-law-info-again","showagain_x_position":"100px","text":"#ffffff","show_once_yn":false,"show_once":"10000"}' }); }); //]]> </script>
  8. include cookie bar

    I use WP for the main page and whmcs are installed in a subfolder as the order system ... this cookie bar plugin is installed in WP https://de.wordpress.org/plugins/cookie-law-info/ and I would like to integrate w/ WHMCS it uses WP jquery ... css and js are added into the whmcs header <script src="{$WEB_ROOT}/templates/{$template}/js/cookielawinfo.js"></script> <script src="{$WEB_ROOT}/templates/{$template}/css/cli-style.css"></script> if I now add this part in the footer, then breaks the footer (footer menu disappears) <div id="cookie-law-info-bar"><span>This website uses cookies to enable certain features of the site to operate. <a href="https://www.mydomain.tld/privacy-policy/" id="CONSTANT_OPEN_URL" class="cli-plugin-main-link" >Click here for more information</a> <a href="#" id="cookie_action_close_header" class="medium cli-plugin-button cli-plugin-main-button" >Accept</a></span></div> <script type="text/javascript"> //<![CDATA[ jQuery(document).ready(function() { cli_show_cookiebar({ settings: '{"animate_speed_hide":"500","animate_speed_show":"500","background":"#444444","border":"#ffffff","border_on":true,"button_1_button_colour":"#dd8808","button_1_button_hover":"#b16d06","button_1_link_colour":"#fff","button_1_as_button":true,"button_2_button_colour":"#333","button_2_button_hover":"#292929","button_2_link_colour":"#ffffff","button_2_as_button":false,"button_3_button_colour":"#000","button_3_button_hover":"#000000","button_3_link_colour":"#fff","button_3_as_button":true,"font_family":"inherit","header_fix":false,"notify_animate_hide":false,"notify_animate_show":false,"notify_div_id":"#cookie-law-info-bar","notify_position_horizontal":"right","notify_position_vertical":"bottom","scroll_close":false,"scroll_close_reload":false,"showagain_tab":false,"showagain_background":"#fff","showagain_border":"#000","showagain_div_id":"#cookie-law-info-again","showagain_x_position":"100px","text":"#ffffff","show_once_yn":false,"show_once":"10000"}' }); }); //]]> </script> could it be that I have to add jquery from WP also in WHMCS?
  9. Custom Fields - dropdown selected?

    great, many thanks!
  10. if I include a custom dropdown filed on checkout, then if nothing is selected "None" will be displayed ... would it be possible somehow hide this "None" or set an option as selected by default? e.g. -- empty -- (or option 1 as default) option 1 option 2 option 3
  11. thanks Brian, for now I was able to hide it from style.css, maybe I can use a second style2.css instead and it should work then ;-) #order-modern .domainregperiod { display: none; }
  12. maybe this JS function at the bottom of configureproductdomain.tpl can be adjusted like the last part? .hide().removeClass('hidden').slideDown(); It should only show "available or not" and the button "Next" function(data){ if (data=='') { window.location='cart.php?a=view'; } else if (data=='nodomains') { jQuery("#domainpopupcontainer").slideUp('slow',function() { jQuery("#greyout").fadeOut(); }); } else { jQuery("#prodconfigcontainer").html(data); jQuery(".domain-fade-out").fadeOut(); jQuery("#domainpopupcontainer").slideUp('slow',function() { jQuery("#greyout").fadeOut(); }); jQuery("#prodconfigcontainer").hide().removeClass('hidden').slideDown(); } });
  13. thanks I understand, I thougt that the dropdown list are included in the configureproductdomain.tpl
  14. what about a "hidden field" parameter for the dropdown list, is that possible?
  15. Sorry for my late reply, we had some ddos attacks ... The problem is I need to call it via a product url. I have a domain price list and I only use 12 month periods, maybe there is a possibility to hide the dropdown completely with the price from configureproductdomain.tpl? Thanks for your suggestions
×

Important Information

By using this site, you agree to our Terms of Use & Guidelines