Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
LiquidFractal Posted November 25, 2017 Posted November 25, 2017 Thank you! I read that in the Field-page docs and promptly forgot it.
LiquidFractal Posted November 28, 2017 Posted November 28, 2017 Is there any special trick to getting HTML within a quote to display? For example, one of my quotes should have a couple of words in italics. I have the HTML in the quote, the quote field is set to accept HTML, and I have changed the display settings for the quote to "Display Custom Format" with {$value|raw} as the value. Am I missing something?
opentype Posted November 29, 2017 Author Posted November 29, 2017 That’s not an option at the moment, unfortunately.
Steph40 Posted December 6, 2017 Posted December 6, 2017 Hi @opentype Thank you for this, having fun with it. Just one question, is there a way for the block to display a random quote every day or every pageload. I have enter a few quotes and want them displayed randomly. Thank you.
LiquidFractal Posted December 6, 2017 Posted December 6, 2017 5 minutes ago, Steph40 said: Hi @opentype Thank you for this, having fun with it. Just one question, is there a way for the block to display a random quote every day or every pageload. I have enter a few quotes and want them displayed randomly. Thank you. There is documentation in the PDF for creating a random quote feed block.
Steph40 Posted December 6, 2017 Posted December 6, 2017 @liquidfractal Thank you, I will look at it. Hmm,my setting was right, but it is not changing.
LiquidFractal Posted December 6, 2017 Posted December 6, 2017 6 minutes ago, Steph40 said: @liquidfractal Thank you, I will look at it. Hmm,my setting was right, but it is not changing. I put in a random feed block on my own site and I find it doesn't always change with every single pageload - not sure how it's set up. But if you put the block on, say, your forums page and your blogs page, then load them separately, you should definitely see a change. Moreover, the more quotes you have the more likely you'll see a change sooner. Did you remember to include a high value in the "Number to show" field of the block's feed configuration?
opentype Posted December 7, 2017 Author Posted December 7, 2017 (edited) Yes, as mentioned, make sure to pick a higher feed items value for a random rotation. Also, the site’s sidebar cache setting influences how long any block stays unchanged. Edited December 7, 2017 by opentype
BradTBP Posted August 28, 2018 Posted August 28, 2018 I posted earlier in this thread, and was unable to get fonts to work or Optional Block Templates. I uninstalled all of it long ago. When seeing this new version, I thought I would try again. I have everything seemingly working well, but the optional block templates for SuperQuote_randomquote and SuperQuote_feed. Would you be able to look at it if I provided credentials via message?
opentype Posted August 28, 2018 Author Posted August 28, 2018 2 hours ago, BradTBP said: I have everything seemingly working well, but the optional block templates for SuperQuote_randomquote and SuperQuote_feed. Please start by describing the issue here first. “There is an error message” is not enough. What does the error message say?
BradTBP Posted September 3, 2018 Posted September 3, 2018 First, when following your instructions to make the randomquote block template, nothing populates in the preview area and, naturally, when I insert it, nothing shows and it just says error in the block
estan Posted October 25, 2021 Posted October 25, 2021 (edited) Hey @opentype I just got the plugin and I really like it 🙂 Thank you! Few questions if you do not mind. I will be using the plugin mostly as a single quote at my home page. I already have an existing database with quotes. The fields I have are: Title, Content and few more. I created a block to show a quote reading from that database. All works fine but few questions: 1. The block shows the quote title with a nice font as per the settings. However, I do not need to show the quote Title but the quote Content from the database record. Actually I do not need the title at all. How can I fix this? 2. How can I make it that the quote changes one time per day? Like each day at midnight it should change randomly. Let me know please. Edited October 25, 2021 by estan
opentype Posted October 25, 2021 Author Posted October 25, 2021 (edited) 24 minutes ago, estan said: 1. The block shows the quote title with a nice font as per the settings. However, I do not need to show the quote Title but the quote Content from the database record. Actually I do not need the title at all. How can I fix this? In the field section of the database, you need to make the field containing the quote the “title” field if you want to use SuperQuote. That’s the structure that is expected and necessary. If you can’t use this structure, you might need to create a second database for the SuperQuote records. 24 minutes ago, estan said: 2. How can I make it that the quote changes one time per day? Like each day at midnight it should change randomly. The randomization depends on the global setting for the caching time of blocks. There is no setting to allow other periods specifically for SuperQuote. Edited October 25, 2021 by opentype estan 1
estan Posted October 25, 2021 Posted October 25, 2021 (edited) @opentype Thank you for your quick answer. This helps a bit. I'm still not fully clear though on these 2 points 1. I guess the other option I have here is to modify the template - superquote_randomquote. In the block I create, I can take it as a basis and modify it a bit. 2. Is it possible to put the caching time for the quote only for 24hours? It was to choose caching time for blocks in previous versions of IPS, but I do not see such an option now. Any workaround for this or further suggestions? This one is pretty critical for me in order to use the plugin as needed on my home page as a Quote of the Day. Edited October 25, 2021 by estan
opentype Posted October 25, 2021 Author Posted October 25, 2021 12 minutes ago, estan said: 2. Is it possible to put the caching time for the quote only for 24hours? No, it is not for the reasons already given. The global block caching time is set under System → Advanced Configuration → Server Environment → Performance → Cache sidebar, header and footer blocks
Recommended Posts