I fixed it incorrectly at first, I think, causing items to appear pay-walled but were just displaying incorrect:
I overcorrected and then made all the buttons disppead! That led me to do the following, which I thought was me fixing my own mistake about access, but also solved the non-appearance. Maybe this is what you need? I haven’t logged it on GitHub yet.
Claude’s summary of my changes:
You fixed the PDF lock icon display issue in OJS 3.5 by modifying /var/www/ojs/templates/frontend/objects/article_summary.tpl around lines 96-98. The problem was that $hasArticleAccess wasn’t being properly set to control whether the lock icon and pricing appeared on PDF buttons in the table of contents view. You added logic to assign $hasArticleAccess based on the existing $hasAccess variable (line 96) and then conditionally override it to 1 for open access content (line 98), which ensures that the galley_link.tpl template receives the correct access status and displays lock icons with pricing for restricted content while showing plain PDF buttons for accessible content, fixing the visual indicator bug where users couldn’t tell which articles required subscriptions or payme