Vegan Gaymer Posted November 16, 2017 Posted November 16, 2017 Hi! I have been looking for something like this for a long time! Thank you for creating this! I'm having two major issues: One: font changes do not work - they only change if I turn on or turn off Google Fonts Two: Custom Blocks do not work. When I add a custom block, it does not load anything, and suddenly there are constant errors across the site. When I delete the blocks, the errors stop. What can we do to fix these? Thanks! troy
opentype Posted November 17, 2017 Author Posted November 17, 2017 7 hours ago, Vegan Gaymer said: What can we do to fix these? You can send me a temporary admin access via PM and I check it out on your site.
Square Wheels Posted November 17, 2017 Posted November 17, 2017 Can quotes be imported into the database? I suspect there isn't anything built in to do this, but maybe directly into the table? Also, if there are thousands of them, it might be impractical to have a page that lists them all. Can that page be deactivated? Thanks
opentype Posted November 17, 2017 Author Posted November 17, 2017 56 minutes ago, Square Wheels said: Can quotes be imported into the database? I suspect there isn't anything built in to do this, but maybe directly into the table? Yes, it is possible. I have done it before. But you really need to know what you are doing so you won’t break your site. Neither IPS nor I can support this process in any way. 56 minutes ago, Square Wheels said: Also, if there are thousands of them, it might be impractical to have a page that lists them all. Can that page be deactivated? Yes. I set this up with this possibility in mind. You can deactivate all page permissions and show the blocks to anyone still and there is also a setting to not show the page links from the block. Square Wheels 1
Square Wheels Posted November 17, 2017 Posted November 17, 2017 3 minutes ago, opentype said: Yes, it is possible. I have done it before. But you really need to know what you are doing so you won’t break your site. Neither IPS nor I can support this process in any way. Not knowing the structure, is it just one table that will be created? If yes, then I'd insert the data into that table with a query. Can I have multiple quotes? Say one for famous birthday, one for inspirational quotes?
opentype Posted November 17, 2017 Author Posted November 17, 2017 34 minutes ago, Square Wheels said: Not knowing the structure, is it just one table that will be created? If yes, then I'd insert the data into that table with a query. You might want to open a different topic for that, since that’s a general question about Pages, not a SuperQuote support issue. I am happy to answer in the new topic. 34 minutes ago, Square Wheels said: Can I have multiple quotes? Say one for famous birthday, one for inspirational quotes? Yes, you can create as many blocks as you want and narrow down the quotes in one block to all the default block options of Pages feed blocks, like categories. Square Wheels 1
BradTBP Posted November 19, 2017 Posted November 19, 2017 On 11/16/2017 at 2:34 PM, Vegan Gaymer said: One: font changes do not work - they only change if I turn on or turn off Google Fonts Two: Custom Blocks do not work. When I add a custom block, it does not load anything, and suddenly there are constant errors across the site. When I delete the blocks, the errors stop. I am having same/similar issues. The google font is not changing (I then turned it off). But more importantly, I cannot get the custom block for random quote to display - I get error message. Thank you. Brad
bradl Posted November 19, 2017 Posted November 19, 2017 (edited) On 11/16/2017 at 1:34 PM, Vegan Gaymer said: One: font changes do not work - they only change if I turn on or turn off Google Fonts Same issue. Inspecting the page … I'm using a custom theme but tested using default with same result. For some reason while the template writes the correct choice the css import select does not seem to be effective. For now I just manually inserted a link rel to the google font in my global template head. Edited November 19, 2017 by bradl
opentype Posted November 19, 2017 Author Posted November 19, 2017 Anyone of you will need to give me access to your site. I do not see these problems on any of my installations, therefore I cannot identify the problem. I need access to a page where I can see the errors, narrow down the cause and check any potential fixes.
opentype Posted November 19, 2017 Author Posted November 19, 2017 (edited) By the way: What browsers/operating systems are you guys using? I quickly checked bradl’s site and do see all the custom fonts load for me. So it might be related to the browser somehow. Edited November 19, 2017 by opentype
bradl Posted November 19, 2017 Posted November 19, 2017 Chrome & Safari on MacOS and IOS. This is "teko" on an iphone:
opentype Posted November 19, 2017 Author Posted November 19, 2017 Okay, thanks. I was finally able to replicate the font loading problem. I will work on a fix in the coming days. Still not sure about the mentioned block errors.
BradTBP Posted November 20, 2017 Posted November 20, 2017 8 hours ago, opentype said: Anyone of you will need to give me access to your site. I do not see these problems on any of my installations, therefore I cannot identify the problem. I need access to a page where I can see the errors, narrow down the cause and check any potential fixes. I just sent login, thanks. I am using Chrome.
BradTBP Posted November 22, 2017 Posted November 22, 2017 I uploaded the latest update, but still unable to create a block.... Anything I should try? Thanks, Brad
Vegan Gaymer Posted November 22, 2017 Posted November 22, 2017 I'm sorry I'm just returning to this thread. It's been very busy. I've updated the files. Along with the others in this thread... I've tested viewing through Chrome and Safari and FireFox on iOS devices and Macbook Pro Sierra OS. Google Fonts still not working. When I choose one from the preset, nothing changes. It remains that scripty default font. When I add my own preference in the field, it looks like it pulls up the default font for the site. I only have the option to turn on or off. I really want to use a specific font, so if this gets fixed, I will be very happy! Custom Blocks still not working. I can add a block but it just disappears. Thanks!
opentype Posted November 22, 2017 Author Posted November 22, 2017 Try flushing the site cache through the support section to make sure all templates are up to date. With the 1.0.2 release I fixed the bugs I could replicate through users giving me login credentials. At this point there is nothing else I can do. There is a limited amount of things I could inspect by looking at the site in the browser. To inspect the cause of other, currently unknown bugs I will have to investigate in the ACP of sites where the error occurs.
Vegan Gaymer Posted November 22, 2017 Posted November 22, 2017 16 minutes ago, opentype said: Try flushing the site cache through the support section to make sure all templates are up to date. Still not working for me. I'll pm log in details to you.
LiquidFractal Posted November 25, 2017 Posted November 25, 2017 Just bought this plugin and apart from one issue (and the conflict with @Kevin Carwile's Album Link Field plugin) everything seems to be working fine: I added a Quote Source field to the SuperQuotes DB. For the life of me I can't get it to display in a widget...it appears to display in the DB page, but nowhere else.
opentype Posted November 25, 2017 Author Posted November 25, 2017 4 hours ago, liquidfractal said: It appears to display in the DB page, but nowhere else. It’s set up this way. If there are additional fields, those are considered “detailed information” reserved for the record view page and you have the option to show the link to that detail view page. The block only shows the basic information of the quote.
LiquidFractal Posted November 25, 2017 Posted November 25, 2017 (edited) 24 minutes ago, opentype said: It’s set up this way. If there are additional fields, those are considered “detailed information” reserved for the record view page and you have the option to show the link to that detail view page. The block only shows the basic information of the quote. I see. Is there any possibility that fields like this could be made visible, now or in a future release? I'd really like to be able to include a 1-line source because my site is a learning site and designed to try and counterbalance the thousands of inaccurate quotes out there by including acurate citational sources. Edited November 25, 2017 by liquidfractal
LiquidFractal Posted November 25, 2017 Posted November 25, 2017 I have a question about how fields are displayed on the SuperQuotes DB page. I've tried to provide more detailed quote information on the DB page, with additional fields containing the quote source and additional information. After some tweaking I've (finally) gotten the records to display more or less the way I want, but there seems to be a problem with rendering raw HTML as per the screenshot below: Now, I've double-checked both fields and they are definitely set to accept HTML, but as you can see the HTML is not rendering. Am I missing something? Or is this perhaps a bug in the IPS DB code?
opentype Posted November 25, 2017 Author Posted November 25, 2017 9 minutes ago, liquidfractal said: Or is this perhaps a bug in the IPS DB code? No. It’s how certain Pages field types behave. Fields like text and text area aren’t directly meant to be HTML code fields. If you want their content to render as HTML, you need to pass them on as “raw” fields from the field settings to the template. That’s done like this in the field settings: Meddysong and LiquidFractal 1 1
Recommended Posts