Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
mcsg Posted November 11, 2020 Posted November 11, 2020 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
CoffeeCake Posted November 11, 2020 Posted November 11, 2020 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. mcsg 1
mcsg Posted November 11, 2020 Author Posted November 11, 2020 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.
CoffeeCake Posted November 11, 2020 Posted November 11, 2020 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.
Morrigan Posted November 11, 2020 Posted November 11, 2020 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.
Sonya* Posted November 11, 2020 Posted November 11, 2020 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 WP V0RT3X 1
mcsg Posted December 9, 2020 Author Posted December 9, 2020 @Sonya* and @Morrigan Thank you! You are both so helpful! I really appreciate it!
Recommended Posts