aknight Posted May 2, 2020 Share Posted May 2, 2020 WHMCS: 7.10.1 PHP: 7.3.17 When we click any domain category, the tlds blink very quickly and then disappear. The categories are listed with the number of tlds in brackets. This was happening before the upgrade to 7.10.1 but I don't know how long it has been broken. -Allan 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted May 2, 2020 Share Posted May 2, 2020 Hi Allan, 41 minutes ago, aknight said: When we click any domain category, the tlds blink very quickly and then disappear. The categories are listed with the number of tlds in brackets. This was happening before the upgrade to 7.10.1 but I don't know how long it has been broken. there is inline CSS styling being added to the pricing rows - so the prices are displayed and then the css styling kicks in... I would assume that it's in the domainregister.tpl template - alternatively, it could be something in WHMCS Bridge... last resort would be to see if it's a hook, but I think the template / bridge are the first places i'd look. when you remove the styling, then the output will appear.. whatever is causing it only seems to be affecting the registration page and not the separate domain pricing page... 0 Quote Link to comment Share on other sites More sharing options...
aknight Posted May 3, 2020 Author Share Posted May 3, 2020 Brian, thank you for the response. My CSS in domainregister.tpl looks different than yours. I tried removing the line that you have highlighted and that broke the page completely. Is it the line you are pointing to with the red arrow I need to remove? 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted May 4, 2020 Share Posted May 4, 2020 18 hours ago, aknight said: My CSS in domainregister.tpl looks different than yours. that's not my css - that's taken from your domain register page. 🙂 18 hours ago, aknight said: I tried removing the line that you have highlighted and that broke the page completely. Is it the line you are pointing to with the red arrow I need to remove? specifically, I was pointing at the style="display: none;" part of the line - it's that that is hiding the output, and when you remove it in the browser, that pricing row will appear... basically, the pricing table is all there on your site, but some CSS is hiding the content. in the screenshot below, i've removed that css for .com and the pricing for that then becomes visible... but .net (your second TLD) remains hidden because I haven't removed that styling. your domain register page uses over 40 separate .css files, so I can't go through them all - possibly in your /includes/head.tpl template there is a call to 3 cached WHMCS Bridge css files, and the first one of them contains... #bridge .domain-pricing .tld-row.no-tlds {display: none;} more likely, there might be something being called in the footer, maybe some .js that is hiding these elements - that might explain why the pricing is initially visible and later hidden... to be honest, it's like looking for a needle in a haystack with the amount and spread of your css files, inline styling and js, but something is hiding these elements. with regards to your template code screenshot - the SC template code looks similar, except the two arrays in the foreach loops have slightly different names. 0 Quote Link to comment Share on other sites More sharing options...
aknight Posted May 8, 2020 Author Share Posted May 8, 2020 Thank you Brian!! While it is fixed, I'm not sure how. After going through a ton of CSS files it dawned on me that it may be the theme causing the problem. I attempted to change the theme to the previous version and received a permission error. Somehow that attempt fixed the original issue. Thank you for your help. 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.