Jump to content

Pages SuperGrid support


Recommended Posts

This does not happen for every page. For example if I click on page 2, it loads normally. If I then click on page 3. It crashes.

Should I report this to IPB support? It's not SuperGrid but something else, that's what you mean?

I just tested something else.
Page 1 loads correctly.
I click on page 2, it loads correctly.
I click on page 3, this time it loads correctly.
I click on page 4 and it crash.

I'm sure once the server gets a breath, pages 1, 2, 3 and 4 will load normally, but page 5 will crash. Then it will load normally and the next one does not matter if it is the 6, 7 or 54 (as long as it is not a previously charged) it will crash.

As if there was something with the cache.

Link to comment

@opentype  Pouvez-vous m'aider avec ça:

Je veux montrer le nom de la catégorie (liée) sur l'image de l'article, comme "épinglé":

 

 

Si je prends un exemple avec SuperGrid Front, pour les utilisateurs de bureau, c'est ici:

 

<div class = "ipsPos_left" >
</ div>

Je veux ajouter ici, un autre badge avec juste la catégorie de l'article.

 

J'essaye ça mais ce n'est pas vraiment ce que je veux. Il y a trop de données et je ne sais pas comment je peux obtenir seulement la catégorie.

 


         <span class = 'ipsBadge ipsBadge_style7' > 
            {lang = "cms_byline" htmlsprintf = "$ enregistrement-> auteur () -> lien (), $ enregistrement-> conteneur () -> url (), $ enregistrement-> conteneur () -> _ titre"}
        </ span> 

 

Modification_du_bloc_Derniers_Articles _-_ Desktop.png.187d2704163ea5acb415b906214ee1a8.png

 

 

Je veux "Mercato - Transfert" (avec le lien) à l'intérieur du badge orange. : /

 

Pouvez-vous m'aider ? :sorcerer:

Edited by Archimed
Link to comment
<span class='ipsBadge ipsBadge_style7'>{$record->container()->_title}</span>

will get you that result.

Please go back to your post and edit it to remove the excerpts from Opentype's code, though. That's a good that he's selling and I know he understandably doesn't want people to share bits of it publicly.

Edited by Meddysong
Link to comment
1 hour ago, Duken said:

After the upgrade to 4.2.7 the reactions on pages are starting with -1. 

Not seeing that on any of my 4.2.7 installations. Please open the database settings for the article database and briefly replace the SuperGrid frontpage template with any of the stock templates. Does the problem persist or does it go away?

Link to comment
3 hours ago, opentype said:

Not seeing that on any of my 4.2.7 installations. Please open the database settings for the article database and briefly replace the SuperGrid frontpage template with any of the stock templates. Does the problem persist or does it go away?

Thank you, i also have it with the default template. Ill inform ipb.

 

screenshot-www.duken.nl 2018-01-15 16-21-40-811.png

Link to comment
  • 2 weeks later...
  • 2 weeks later...

Really loving this app @opentype, and massive thanks for your help in a previous topic i posted. One thing I have found is that when i click on the article, it displays it all to the right and the hero image is massive and very grainy. I have tried altering the ratio on the hero image in the settings, but can't seem to get it right. I would like the image to be smaller as at present it takes up a massive part of the screen so quite a lot of scrolling to rear the article.

On the alignment issue, I have checked the templates are all set correctly, and also the page is set to single column. I only have one other page and it is also set to single column.

Screen shot below of the hero image being to big and also the alignment. Page is on my test forum at https://civic5.com/test_forum/index.php?/future-classic-cars-home/records/1985-ford-escort-xr3i-review-r2/

Is there something else I need to change in order for the alignment of the article to be better as theres a huge amount of empty space to the left? My theme runs a background image so not sure if that's maybe causing the issue? This is the view on my laptop.

Just tiny niggles on what is an extremely brilliant app with excellent templates and settings available.Really happy with it mate, many thanks!

 

screenshot.png

Edited by crazzzydave
Link to comment
6 hours ago, crazzzydave said:

 I would like the image to be smaller as at present it takes up a massive part of the screen so quite a lot of scrolling to rear the article.

Adjust the setting “Hero image aspect ratio” to change the height of that image. 

For better image quality you would have to increase the resolution of the Record Image in the database settings and then upload the images again. 

Quote

Is there something else I need to change in order for the alignment of the article to be better as theres a huge amount of empty space to the left?

The layout works as designed. A text column should never span across the entire desktop screen. The white-space on the left is a feature, not a bug. :-)

Edited by opentype
Link to comment
On 2/6/2018 at 5:14 AM, opentype said:

Adjust the setting “Hero image aspect ratio” to change the height of that image. 

For better image quality you would have to increase the resolution of the Record Image in the database settings and then upload the images again. 

The layout works as designed. A text column should never span across the entire desktop screen. The white-space on the left is a feature, not a bug. :-)

Ok, kind of got it displaying now like I want it, images have been upgraded to very high res so look much better. Think it's just a case of trial and error on getting the right image size for how I want it displayed so work in progress.

One thing I notice though is that I can't use categories for the databases? Does the template support having different categories work on the page? Or is this maybe an IP pages problem itself. I'm new to pages so still learning how the databases work as they don't seem to be able to pull info from one to another? Sorry for the questions mate.

Edited by crazzzydave
Link to comment

Ah, with you now. Ok, that's the categories working fine, thanks.

I've created a custom block (using supergrids as it's template) and I'm wondering if you can help with a small problem. The block is a feed from a category i created (Members cars) and what I'd like the block to pull is the latest updated record in that category. At the moment it's just displaying one record (which is fine as I only want the latest updated one to show), but if I update a record in that category, it isn't changing to the latest one in the block? Not sure if this is even possible but thought you might know if it is. I've clicked on the "use this template as a base for a custom template" and had a look through the template to see if theres any code that could be changed so it pulls the latest updated record but can't see any. Is there a bit of code i could put in there to display/pull the latest updated record?

The block is displayed on my forums index page.

As always, any info/help much appreciated mate. Really loving this app, so thanks for creating it. Deffo one of the best!

Link to comment
11 minutes ago, crazzzydave said:

Also noticed that the Title of the block isn't displaying on the block either on the forum index page?

That’s controlled by a setting in the SuperGrid settings plugin. 

 

18 minutes ago, crazzzydave said:

Hi Mate, yes, have that setting done but it doesn't seem to pull the last updated record?

Well, I don’t know then. I would have to look at it in the ACP to narrow it down. But I won’t since that is definitely not a SuperGrid issue, since the SuperGrid block template doesn’t control WHICH entries are shown. That’s all defined through Pages. SuperGrid only defines the styling. 

Link to comment
Just now, opentype said:

That’s controlled by a setting in the SuperGrid settings plugin. 

 

Well, I don’t know then. I would have to look at it in the ACP to narrow it down. But I won’t since that is definitely not a SuperGrid issue, since the SuperGrid block template doesn’t control WHICH entries are shown. That’s all defined through Pages. SuperGrid only defines the styling. 

Which setting is it in the plugin so I can check, as I think I have them all set correctly?

Might have to raise a support ticket for the problem with blocks displaying the latest updated record then. Really scratching my head on this one as it just doesn't seem to pull them. I added code to the page yesterday (which is now removed) and could get a block to appear in the footer with the latest updated article showing (from the category we're trying to pull latest updates from) and it worked fine. Only problem was the position of it and the formatting, although looking at the missing title problem with the blocks that may now point to an issue with pages app itself. I'll raise a ticket and see how it goes, thanks again for your help. :thumbsup:

Link to comment
  • Recently Browsing   0 members

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