Jump to content

Pages SuperGrid support


opentype

Recommended Posts

Posted
17 minutes ago, tlw1999 said:

Can you advise me on how to fix this please?

Make sure the plugin is turned back on, so the Supergrid CSS is used. Clear the cache afterwards.

If the problem persists, there is a conflict in your CSS – probably in your custom.css. 

Posted

I do have the plug in switched on and Supergrid is selected for the listing template and display template.

I will clear the cache and see if that works.

Posted
8 minutes ago, tlw1999 said:

Just noticed that in my plug ins I have both supergrid 3.0 and supergrid settings 3.2.

Should they both be there or do I need to delete one?

Better to have just the latest one. 
(I don’t think that is the cause of the problems though)

Posted

I've uninstalled the previous version and you're right, it was not the cause of the problem.

Any idea what I would be looking for in the custom.css file?

Posted
3 minutes ago, tlw1999 said:

I've uninstalled the previous version and you're right, it was not the cause of the problem.

Any idea what I would be looking for in the custom.css file?

I would copy it all, paste it somewhere else, and clear the custom.css entirely. If things start working after that, it will tell you that the problem is in the custom.css.

If so, it could be anything. Usually a missing } or something like that which breaks the rest of the code. 

Posted

Any further thoughts on how I can fix this?

I've cleared the cache and as I said the custom.css is empty so there's nothing causing an over ride in there.

The problem is there regardless of which theme I use so I don't know if that helps to narrow it down or not.

Also, I've noticed that if I switch the plug in off, nothing changes. I am still getting the tiled images and the layout still looks like supergrid is active rather than reverting back to the default system layout (with the header image of an article shown as a small thumbnail on the left of the opening paragraph).

That's a bit weird, right? I mean if the plug in is switched off shouldn't the layout revert back to how it would be without supergrid?

Posted
11 minutes ago, tlw1999 said:

I mean if the plug in is switched off shouldn't the layout revert back to how it would be without supergrid?

No, that is not how it works. It would only turn off the settings and the CSS – but the CSS isn’t working for you anyway, so it is expected that nothing changes. 

I really can’t say more. I haven’t seen your site, let alone your ACP, so I can’t check what is going on. You could start fresh and remove SuperGrid entirely. (Note that you would have to manually remove all SuperGrid templates. They are not removed by removing the plugin.)
But it could also be that you have some other issues on your website which just result in the SuperGrid CSS not working. That is in fact very likely. I’ve seen it many times. Because IPS merges the different CSS files, a problem in one file could stop the rest of the additional CSS to fail. 

Posted (edited)

So I uninstalled and I think the templates have automatically been deleted as I can't find any. The site has reverted back to how it looked without supergrid, but the option to select supergrid listing is still there which suggests maybe there are still files or templates in there somewhere.

I need to check everything is gone before I reinstall, so could you tell me where would they be located? Thanks.

Edit: Never mind, I've found them and am now deleting.

Edited by tlw1999
Posted

So all of the templates are gone and there's nothing left of supergrid. The images are now showing in the standard, default layout but the size isn't being reduced to thumbnail size so you can only see a fraction of the actual photo in the thumbnail. Until I can get that fixed there is no point reinstalling supergrid as the problem is clearly not anything related to the plug in.

I'll definitely be re-installing as soon as this is resolved as supergrid is great. Thanks for creating it!

Posted

Great news! After uninstalling, deleting everything, changing the settings back to standard, I reinstalled Supergrid again from scratch and it works perfectly and looks fantastic on the new version.

So for anyone who experiences issues after updating to the latest board, just wipe everything and start again and hopefully that does the trick.

This is definitely the most important plug in I use so this is a big relief to get it back.

  • 2 months later...
Posted

Is there a way to make the Category listing page more beautiful? Is there any way to add images to the category blocks? Or even a different coloured background to each one? 

Posted
2 minutes ago, EvanDC said:

Is there a way to make the Category listing page more beautiful? Is there any way to add images to the category blocks? Or even a different coloured background to each one? 

To add images, you would need to add the Category Images resource. 

 

Posted

Hi @opentype

only an idea: It would be nice to have an option to show last update date instead of first publishing date at the beginning of record view. Some users think that our articles are old because they don't scroll to the end where we have the update date.

  • 4 weeks later...
Posted
53 minutes ago, CheersnGears said:

I have both installed, but when I upload a picture, the category looks like it has space made for the picture, but the picture doesn't actually appear.

Anything special I need to do?

It should work out of the box. Have you checked the source code? Is it pointing to an image URL? 
Anything unusual going on with your storage locations? 

Posted

If I do an inspect on the preview of the file in the ACP, I get:

src="https://www.cheersandgears.com/uploads/monthly_2023_02/2023-Integra-performance-xl.png.4fa9a2dcb7f39ea84f9a01a7409d673c.png"

which works, but shouldn't because that's not where it should be uploaded to.

It should go to:

<div class="SG_cat_image" style="background-image:url('https://www.cheersandgears.com/uploads/attachments/monthly_2023_02/2023-Integra-performance-xl.png.4fa9a2dcb7f39ea84f9a01a7409d673c.png');"></div>

as reflected in the code from SuperGrid.

I am testing by moving the attachements back to the upload directory.

Posted
1 hour ago, opentype said:

It should work out of the box. Have you checked the source code? Is it pointing to an image URL? 
Anything unusual going on with your storage locations? 

Apparently, this is a known issue.

So ideally either he needs to use a standard location in his app or you'll need to grab the storage location set by his.

Posted
5 minutes ago, CheersnGears said:

Apparently, this is a known issue.

So ideally either he needs to use a standard location in his app or you'll need to grab the storage location set by his.

Might be a stupid question but, did you upload the image(s) in the ACP for the category?

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...