Problems with displaying Latest Posts and Discussions with Recent Posts.
On our home page, we have Latest Posts (Showcase View) and Discussions with Recent Posts. They do not render as nicely as the same posts /discussions in the feed on the right. See attached screen shot. It is likely that I messed something up as I was setting up the page / block, but I cannot seem to figure out how or where to fix it. Any help will be greatly appreciated. Particularly the link to the right page /page/?????
Thanks!
Rob
-
- · Will Monte
- ·
You can change the individual page layouts, do you know how to?
-
- · Will Monte
- ·
I had the blocks all mixed up too and i followed the description of those key blocks of posting and timeline like what the pictures describes below...
-
- · Will Monte
- ·
You can go to studio>pages>from the left choose which mod>select the specific page from the drop down>then on far right>choose settings>then Layout>choose from the options available? Some layouts have wider columns
-
Thanks Will. Yes, I do know how to change the page layout.
-
I am happy with the position of the blocks and the correct blocks are on the home page (not context blocks). It is what is displayed inside the 'Latest Posts' and 'Discussions with Recent Posts' blocks. In timeline, they show images and have nice formatting. Not so in the Latest Posts or Discussions... I think those individual items inside might be called cards? I am not sure where to edit cards...
-
Ohhh ok, yeah i don't know much about the cards, never played with them. I think @Anton L might be able to help. :)
-
Back with an update as I know a bit more now. Those posts / discussions that mentioned above did not have any image uploaded when they were created. This is why I didn't like the way they displayed. When one adds an image, it looks great.
My question now is 'can we make a default image for posts and for discussions so that they are used if the poster does not include an image"?
Thanks!
-
Hello @Te Ara Paerangi Community !
You may use the "showcase" mode in the settings of the block in the Developer app. Then the discussion post without image will have the default blue thumb. How to do that (for example you want to change the view of New Discussions block in the Homepage):
1) In the Developer app go to the Pages->System->Homepage area.
2) Open the block settings.
3) Change the content of the Code field from this value:
array (
'module' => 'bx_forum',
'method' => 'browse_index',
'params' =>
array (
0=> false,
1 => false,
2 => true,
3 => false,
),
)
to this one:
array (
'module' => 'bx_forum',
'method' => 'browse_index',
'params' =>
array (
'unit_view' => 'showcase',
1 => false,
2 => true,
3 => false,
),
)
-
- · Molosser Dogs
- ·
Ahhh. I always learn something from @Leonid S
will an update overwrite this if we upgrade?
-
Make a back up brother
-
No, it will be changed if we will have the upgrade certainly for this block or this method. But usually, it's a very rare thing.