lightbulbmoments
-
Posts
10 -
Joined
-
Last visited
Reputation Activity
-
lightbulbmoments got a reaction from EarvinChong in My blog isn't showing more than 30 blog posts...help!
Trying out Lazy Summaries now. Thanks for sharing these different strategies for fixing this problem. I hope Squarespace increases the Summary Block limit to better support bloggers! Thanks @paul2009 and @derricksrandomviews!
-
lightbulbmoments got a reaction from Begona in Is there code to show curly quotes in all typography, but only straight quotes in code blocks?
I want to ensure that all quotation marks in my site's user-facing content, eg. my blog posts, utilize the typographically correct (and aesthetically pleasing) curly quotes. My preferred curly quotes are frequently replaced by straight quotes (which are used in code as well as for denoting measurements in inches and feet).
Here's a visual that explains the difference between straight quotes and curly quotes and what I'm trying to accomplish.
Here's an example blog post that uses many curly quotes throughout.
Squarespace seems to choose erratically to randomly apply straight quotes or curly quotes, and it's not always easy for me to change them to the proper version.
While I want curly quotes on the user-facing content, I need to ensure that straight quotes are exclusively used in code blocks because otherwise it creates bugs: The other day, Squarespace chose to randomly apply curly quotes within a code block, and this rendered the code block nonfunctional. When I tried re-typing the proper straight quote over and over again, Squarespace kept switching it to a curly quote. I eventually got it working by copying a straight quote from elsewhere within the code block then, pasting that. And vice versa: At other times in the past, when I tried typing a curly quote in a blog post or site content, Squarespace kept changing it to a straight quote. Super frustrating.
I don't understand Squarespace's logic for making a quote straight or curly.
I want to be able to control this logic using a code injection.
Any advice would be appreciated.
-
lightbulbmoments got a reaction from tuanphan in Add To Calendar link on Event pages
I was able to figure out a halfway decent workaround using Google Calendar's built-in features:
Step 1: Create an event on your GCal
Step 2: In the ••• menu, click on Publish Event
Step 3: In the popup modal, copy the HTML from the top box
Step 4: In Sqsp, add a code block and drop in that HTML you copied
Voila: A little Google Calendar button will appear on your Sqsp page, and when someone click the button, it takes them to add it to their GCal, and the Zoom links or other details you added to your original GCal event will carry over to their Gcal event too. Screenshots attached bellow of the steps and what it looks like in each step.
Now I just wish I had a similar fix for the iCal issue! 😅
cc @emily.klein @lrcss @JessCC @Sarah-W @aniquecoffee1
-
lightbulbmoments reacted to paul2009 in Who receives new order email notification - Internally
Contributors with "Site Owner", "Administrator" or "Store Manager" receive automated email notifications from Squarespace about Orders and Donations. If you've added someone with these permissions, you cannot control whether they receive these emails. However, they can choose to enable or disable them on a site-by-site basis from their account page.
To do this, they can visit their profile page and then click on Notifications. There are options for each site they contribute to. For more information, see Editing your contributor profile.
If this helps you, please click "Like" below ⬇️
-
lightbulbmoments got a reaction from creedon in Is there code to show curly quotes in all typography, but only straight quotes in code blocks?
Cool, thanks for those tips. I just tested it in TextEdit, by switching from the rich text editor to plain text, and it only produced dumb quotes. So this works! If anything goes awry, I'll try Xcode next. Thanks again!
-
lightbulbmoments reacted to creedon in Is there code to show curly quotes in all typography, but only straight quotes in code blocks?
TextEdit is not a full word processor but it is more like them than a code editor, in that it works with multistyle text. I've never tried editing code in it. The first thing to look for is if it makes dumb quotes smart.
Some word processors have an option to turn off dumb quote conversion.
The BBEdit I mentioned is for macOS and is the premier code editor. It has syntax highlighting, cold folding, and a bunch of other useful options. If you need a free option Xcode is Apple's mac development editor but it also has the overhead of project management.
-
lightbulbmoments got a reaction from creedon in Is there code to show curly quotes in all typography, but only straight quotes in code blocks?
This is so interesting — I wonder if this is why the stubborn smart quote issue I was having when pasting in my code block is because I composed it in my Mac's Notes app then copy-pasted it from there! 💡
I'll try to avoid that in the future (maybe with a non-rich-text TextEdit file since I don't have a code editor app).
Thanks @creedon for helping me solve part of this mystery.
-
lightbulbmoments reacted to creedon in Is there code to show curly quotes in all typography, but only straight quotes in code blocks?
I don't have a specific solution just some observations.
This is for the v7.1 rich text editor.
Typing a single quote gives you a smart quote. Hitting the backspace key turns it into a dumb single quote.
Pasting text with smart single quotes from Google Docs or any Word Processor, preserves the smartness.
Pasting text with dumb single quotes from a code editor like BBEdit, preserves the dumbness.
Code with smart quotes in it are preserved when pasted into a code block.
Code with dumb quotes in it are preserved when pasted into a code block.
My general experience has been when code blocks get smart quotes they were picked up because the code passed through a word processor, not a code editor.
-
lightbulbmoments reacted to aniquecoffee1 in Add To Calendar link on Event pages
Hi @paul2009
Thanks for all your helpful content here in the squarespace community. I was wondering if you knew how to add a calendar description (rather than just event title) to google calendar from event pages? I've already turned on the export tools for google/ICS but it only shows the event TITLE, and no other details. It would be helpful to be able to be able to add a confirmation message and other event details to the squarespace event page so that it automatically carries over to their calendar when they click the export links. Any ideas? Thank you! Anique
-
lightbulbmoments reacted to paul2009 in Making CookieYes block Squarespace Analytics before consent
Personally, I recommend CookieScript as is easy to configure but is easy for site visitors to use too.
Did this help? Please give feedback by clicking an icon below ⬇️
-
lightbulbmoments reacted to paul2009 in How to add 'add to cart' button in Shop block
I see you are using a Summary Block to display the products. Squarespace haven't added 'Add to Cart' buttons to Product Summary Blocks and it no longer appears that they will.
There are therefore three options:
Use can use some code to add a cart button to each product on a Product List Page. I provided some code here to allow you to do this. Use code to add the button to the Summary Items by harnessing the quick view data. Use a series of Product Blocks instead. This doesn't scale but is manageable for a few products. There's a checkbox on these blocks that allows you to add the button. Did this help? Please give feedback by clicking an icon below ⬇️
-
lightbulbmoments got a reaction from RoxanneDarling in My blog isn't showing more than 30 blog posts...help!
Trying out Lazy Summaries now. Thanks for sharing these different strategies for fixing this problem. I hope Squarespace increases the Summary Block limit to better support bloggers! Thanks @paul2009 and @derricksrandomviews!
-
lightbulbmoments reacted to derricksrandomviews in My blog isn't showing more than 30 blog posts...help!
I can give you a quick formula for stringing blocks together, if you don't wish to purchase the plug-in that Paul posted the link to.
First step is to assign a tag or category to your blog posts. These do not have to be displayed on the post. I made it simple when I first did this before i broke them all down into seperate categories and used a second blog page with all my summary blocks.
Simply assign the first 30 blog posts a tag such as 1-30 and the second 31-60 etc. Then create a page (which can be a blog page) in the unlinked section of your site and add two summary blocks to it, pulling content from your existing blog page with the tag filters. Frist blog filters 1-30, second 31-60. Remember to set the blocks for 30 items each. Once done, and you like the way it looks, put the summary block page in the linked section of your site and move your blog to the unlinked section. You can change the blog page url to something else and give your new summary page that url so visitors can find it, they won't know that it has changed actually. Need any help with this just let me know.
If you wish to use categories and a menu on your site that becomes a bit more complicated to create but I can help you with that as well.
Derrick.
-
lightbulbmoments reacted to paul2009 in My blog isn't showing more than 30 blog posts...help!
I see you're using a Squarespace 7.0 Brine-family template. On this template, an actual "Blog Page" - the one shown in the PAGES panel with an "a" icon beside the name - can show a number of posts on a page and will then shown pagination links to allow visitors to view more posts. This continues until they reach the end of the blog. If you previous used the actual Blog Page to display your posts, this may be why you remember seeing the pagination link(s).
However, the style options are limited on actual Blog Pages and I see that you're now using "standard" pages instead (these pages can be identified by the "paper" icon beside their name in the PAGES panel), to which you have added Summary Blocks to display your posts.
Summary Blocks are great for displaying posts in a layout that isn't available on the standard Blog Page, but they are limited to showing 30 items. There are two ways to display more than 30 items, one of which is free (but laborious) and the other which involves purchasing a 'plugin':
The free workaround is to add a series of summary blocks to the same page and use tags to choose which items display in each one. There's a support guide that describes this idea and how to tag the different groups of posts. If you don't mind paying for a paid plugin, the better option is to purchase something called Lazy Summaries. It allows visitors to scroll through an unlimited number of posts using the Summary Block. No tagging or additional admin is necessary. I hope this helps to explain.
If this post has helped you, please click a 'Like' or 'Thanks' icon below ⬇️
-
lightbulbmoments got a reaction from tuanphan in BRINE: Add line of text before all Blog posts for disclosure
Thanks @tuanphan! This worked perfectly! I'd been searching for hours and you finally helped me solve this problem. Thank you! 😄
-
lightbulbmoments reacted to tuanphan in BRINE: Add line of text before all Blog posts for disclosure
Add to Home > Design > Custom CSS
.collection-type-blog.view-item .BlogItem-share:before { content: "tuan phan squarespace freelancer"; display: block; text-align: center; font-size: 16px; margin-bottom: 10px; }