Jump to content

Pages SuperBlocks (Support Topic)


Recommended Posts

Posted

Hi all,

I had a question about the sizing of images as events.

I have attached an image where the large image scales correctly as a smaller version when there are 3 events but when it is highlighted as a showcase, the image doesn't seem to scale right.

 

Any sizing dimensions you suggest would be great 🙂

Resizing images.PNG

Posted
36 minutes ago, Martin Paver said:

Any sizing dimensions you suggest would be great 🙂

Well, the suggestion would be not to put text on the edges.

The images are shown using the CSS background image mode “cover”, so whatever the aspect ratio, there will be no “black bars” on either side. The image is scaled up so it goes from every edge to every opposing edge. But that also means, things can be cut off in one of the two directions. But the calendar does that as well, so that’s not something that needs to be solved just for SuperBlocks. 

Posted

@opentype -  Please pardon my rookie question. I would like to use superblock but my skills are D- in Pages app. Do you have some video which I can follow? I would like to update my homepage but i am having hard time. I created page and when I try to drag and drop, I don't see blocks. Under blocks option, I don't see superblocks.

 

image.png.87c8905f07fb55bd5702c6b8c3184afa.png

Posted (edited)
10 hours ago, AlexJ said:

@opentype -  Please pardon my rookie question. I would like to use superblock but my skills are D- in Pages app. Do you have some video which I can follow? I would like to update my homepage but i am having hard time. I created page and when I try to drag and drop, I don't see blocks. Under blocks option, I don't see superblocks.

It’s a template. You need to create a custom feed block and then assign that template. Then you access that custom block on the front page. Please follow the instruction in the “Additional Information” tab. It walks you through every step. 

Edited by opentype
Posted (edited)

For topic feed, superblocks are coded like this:

removed

Image thumbnail and actual image are the same:

{{$items[$counter]['image']= $firstPhoto;}}
{{$items[$counter]['image_thumb']= $firstPhoto;}}

Is there a way to show the thumbnail on superblocks topic feed?

Edited by sobrenome
Posted
7 hours ago, sobrenome said:

Is there a way to show the thumbnail on superblocks topic feed?

Firstly, please remove that larger chunk of code. That’s commercial software I sell. It should not be republished publicly. 

And to answer your question: unfortunately not. IPS’ function to get topic images doesn’t give access to a thumbnail. Otherwise I would have already done that. 

Posted
9 hours ago, opentype said:

Firstly, please remove that larger chunk of code. That’s commercial software I sell. It should not be republished publicly.

Sorry about that.

 

9 hours ago, opentype said:

And to answer your question: unfortunately not. IPS’ function to get topic images doesn’t give access to a thumbnail. Otherwise I would have already done that. 

I will ask for it on feature suggestions.

Thanks!

  • 1 month later...
Posted (edited)

hi @opentype I just installed the SuperBlocks plugin and I can see the templates under the Content tab for some things like a Downloads Feed but for some reason Image Feed and Album Feed is not showing the superblocks as a template selection, I only see the standard one. Any ideas?

Edit** I just saw there was an XML to download for Gallery. my mistake!! Please ignore.

Edited by Meowcious
  • 2 weeks later...
Posted

Suggestion: templates for the Similar Content Widget (by tags) and Activity Stream Widget. Both default IPS templates look a bit ugly 😄 I wish there were SuperBlocks templates for them. 

Posted
8 hours ago, opentype said:

I could imagine that as a stand-alone template product if there is enough interest. 

I had a vision. Imagine, there is an app called SuperWidgets. The app has custom templates for system widgets:

  • Recently Browsing with overlapping user avatars like in SuperTopics
  • Who's online with overlapping user avatars like in SuperTopics
  • Similar Content like SuperBlocks
  • Activity Stream like SuperTimeline

The app was submitted by @opentype in Marketplace, and I've bought it immediately. End of the vision. 🙃

Posted

Hello, @opentype I'd like to know can anything be done so Latest blog images would not be served as a full size image? I was checking out the demo but having heavy images will not do well the eyes of search engines.

image.thumb.png.189d9a8bcc42011bf96565f98fb0ce61.png

Posted
1 hour ago, Maxxius said:

Hello, @opentype I'd like to know can anything be done so Latest blog images would not be served as a full size image?

You can change the blog-specific image settings for the plugin from “show all” to “auto”, which will show less of the hi-res images. Unfortunately, there aren’t any thumbnails available as for Pages for example. 

  • 2 months later...
Posted

This is throwing an error for us on 4.6.4 using php 8 (was fine on php 7). 

Quote

TypeError: count(): Argument #1 ($value) must be of type Countable|array, null given in /var/www/html/forum/system/Theme/Theme.php(860) : eval()'d code:2575
Stack trace:
#0 /var/www/html/forum/system/Theme/Theme.php(860) : eval()'d code(2575): count(NULL)

 

  • 4 weeks later...
Posted

The plugin causing this issue after updating to PHP 8

[[Template core/global/plugins/superblocks is throwing an error. This theme may be out of date. Run the support tool in the AdminCP to restore the default theme.]]

I created a default theme to test, and I got same result above on topic feeds and post feeds. 

  • 2 weeks later...
  • 2 weeks later...
Posted
24 minutes ago, Editorn said:

Hi,

Thanks for the update. Are there any differences in the template that will overwrite our modified Superblocks template?

Best regards

What exactly have you modified? 

The Pages templates weren’t changed. If they were, you would get an option during the update to compare the changes and decide. 
What did change was the plugin theme template. If you had changed that, then your custom version would remain until you click “revert” in the theme template editor. You can also see the changes there.  

Posted
3 hours ago, opentype said:

What exactly have you modified? 

Thanks for your quick reply.

I have modified the template located under core>global>plugins>superblock. As I understand, an upgrade won't break the modifications?

Posted (edited)

@opentype - is there a way to make block text/titles links?

Ex:

  • Upcoming Events block - make block title a link to the calendar.
  • Forum Replies block - make block title a link to /forums/
  • etc...

 

 

Similarly, the labels of the Calendar & Forums under the block contents - could those be made links to the Calendar / Forum / Gallery the associated content is contained within?

 

Quick example:

Capture.thumb.PNG.461fb924f1cb5a0e6b589248aa397b78.PNG

Edited by haqzore
Posted
31 minutes ago, Editorn said:

Thanks for your quick reply.

I have modified the template located under core>global>plugins>superblock. As I understand, an upgrade won't break the modifications?

It shouldn’t. But then it also wouldn’t update what needs to be updated for PHP8. 
As with any theme modifications, you would have to manually resolve these type of conflicts. 

13 minutes ago, haqzore said:

@opentype - is there a way to make block text/titles links?

It’s not an option and there are no plans to make it so. 

  • Recently Browsing   0 members

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