Cribinal Posted July 12 Share Posted July 12 Hi! I need a little help with the blog on my site: https://www.inkfoundry.net/browse I'm trying to make the authors' names a clickable link from the blog page to sort the blog for the stories they wrote. It happens automatically on the blog posts, but I can't figure out the CSS to do the same from the blog page. Link to comment
tuanphan Posted July 15 Share Posted July 15 It looks like not possible. But if you want code, let me know, we can write code to make author text clickable Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message How to: Setup Password & Share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care Link to comment
Cribinal Posted July 15 Author Share Posted July 15 Thanks TuanPhan! I would love some code! What can I contribute? Link to comment
creedon Posted July 15 Share Posted July 15 Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects. Link to comment
Cribinal Posted July 15 Author Share Posted July 15 I didn't think I had, sorry! There is no password, it's here. www.inkfoundry.net/browse Link to comment
tuanphan Posted July 19 Share Posted July 19 On 7/16/2023 at 3:52 AM, Cribinal said: I didn't think I had, sorry! There is no password, it's here. www.inkfoundry.net/browse Can you share link to these author pages? We can give code to make text clickable to those url Carrie Vaughn Marie Vibbert J. T. Greathouse Matt Dovey Sarah Pinsker Delilah S. Dawson C. L. Clark Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message How to: Setup Password & Share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care Link to comment
Cribinal Posted July 20 Author Share Posted July 20 I'm not sure that's what I want? I'd like to make them clickable so that the blog page sorts into the entries they've written, the way it does when you click on their names from the blog post. So the blog page is: https://www.inkfoundry.net/browse And a blog post for a Carrie Vaughn entry is: https://www.inkfoundry.net/browse/that-game-we-played-during-the-war-vaughn When I click on her name from the blog post, it automatically creates this URL: https://www.inkfoundry.net/browse?author=648cc18fa8f1606e6d517f62 Which is a list of all her entries on the blog. I want to be able to do that from the blog page too. Link to comment
creedon Posted July 20 Share Posted July 20 Quote I want to be able to do that from the blog page too. Unfortunately SS has all this meta data available in their backend but when they are constructing the page output they often don't expose that meta data in a way that makes it easy to make an effect like you want. In other words they use it in their backend for their needs but are not considering needs outside their own. From what I can see, to automatically reconstruct the data needed would be clumsy and inefficient. I have no code for the the effect you want. Here is how I would approach this effect. Create some code that has a map between author names and their profile ids and adds the link where wanted. This map would need to be maintained manually so every time there was a change in the authors, you'd need to update the code map. The map would be something like... const authorNameToIdMap = { 'Carrie Vaughn' : '648cc18fa8f1606e6d517f62', 'Jack Skillingstead and Burt Courtier' : '64b966a7b28c8c01de577c73', }; Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects. Link to comment
Cribinal Posted July 21 Author Share Posted July 21 18 hours ago, creedon said: Unfortunately SS has all this meta data available in their backend but when they are constructing the page output they often don't expose that meta data in a way that makes it easy to make an effect like you want. In other words they use it in their backend for their needs but are not considering needs outside their own. From what I can see, to automatically reconstruct the data needed would be clumsy and inefficient. I have no code for the the effect you want. Here is how I would approach this effect. Create some code that has a map between author names and their profile ids and adds the link where wanted. This map would need to be maintained manually so every time there was a change in the authors, you'd need to update the code map. The map would be something like... const authorNameToIdMap = { 'Carrie Vaughn' : '648cc18fa8f1606e6d517f62', 'Jack Skillingstead and Burt Courtier' : '64b966a7b28c8c01de577c73', }; Woof, that seems a bit brute force for me. If that's the best option, I may end up just making each author's name into a Category. I'm going to mess around with jquery a bit, but I'm not a coder, so I may just leave it as is. Thank you so much for your help! I apologize for the earlier confusion! Link to comment
creedon Posted July 21 Share Posted July 21 3 hours ago, Cribinal said: Woof, that seems a bit brute force for me. Oh it is! But as I say trying to get the meta info gathered is inelegant and more brutish as you'd be loading multiple pages with Ajax to walk the information in the databases. Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects. Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment