Jump to content

Browse extensions by category not working


Recommended Posts

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 

 

Link to comment
Share on other sites

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...

cJrYlwl.png

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..

MfCQmdL.png

whatever is causing it only seems to be affecting the registration page and not the separate domain pricing page...

HCXGgnf.png

Link to comment
Share on other sites

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?

 

image.thumb.png.f51c470ce58d344ad7e7642c7ee34120.png

Link to comment
Share on other sites

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.

ucj6iDt.png

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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • 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