Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
Posted November 11, 20204 yr On our site, when logged in, the account bar (notifications, PMs, Account Name) appears at the top of the page. However, when a user purchases a product, the CHECKOUT page does not show the Account bar any longer. Same if we're showing an internal page like /privacy or /terms, the Account bar doesn't show. I checked this site (invisioncommunity.com) and find when I purchase a product, the checkout page DOES show the account bar. Is there a theme setting or system setting that manages showing the account bar when in these pages? Thanks
November 11, 20204 yr This is default behavior in the default theme with 4.5 (and earlier?). Here, they're using a customized theme from the default that behaves differently. There is no setting to change this behavior, however you could install or create a custom theme that addresses this. No idea why it is the way that it is, but confirming it's not just you.
November 11, 20204 yr Author I appreciate the confirmation. The header on all these pages looks very blank. And for internal pages like /privacy and /terms, I don't understand the benefit. The menu bar and account top bar both disappear for these pages leaving the user to only be able to go backward rather than navigate to the next item.
November 11, 20204 yr If you have Pages, you could create pages for these special URLs and use the URL option to point to the corresponding page entries you have (rather than the built in options created for you). This would retain the menu and account bar.
November 11, 20204 yr This is something you can resolve at the theme level @mcsg You would look for these in the globalTemplate: {{if !\in_array('ipsLayout_minimal', \IPS\Output::i()->bodyClasses )}} and its subsequent {{endif}} There are a few of them and they are what makes the stuff disappear.
November 11, 20204 yr 20 hours ago, mcsg said: Same if we're showing an internal page like /privacy or /terms, the Account bar doesn't show. There is a free plugin to remove the behavior
December 9, 20204 yr Author @Sonya* and @Morrigan Thank you! You are both so helpful! I really appreciate it!