Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
Posted June 21, 20231 yr Not sure if this belongs here or in feedback, but it seems like there are inconsistencies in block templates' class usage and corresponding CSS that influences the layout (i.e. some center aligned, others left aligned. Assuming there's no way to cleanly update this via AdminCP and will require editing the block code somewhere else? The Events >> Upcoming Events block: <li class="ipsWidget ipsWidget_vertical ipsBox ipsResponsive_block" data-blockid="app_calendar_upcomingEvents_mqeugg6iy" data-blockconfig="true" data-blocktitle="Upcoming Events" data-blockerrormessage="This block cannot be shown. This could be because it needs configuring, is unable to show on this page, or will show after reloading this page." data-controller="core.front.widgets.block"> <h3 class="ipsType_reset ipsWidget_title">Upcoming Events</h3> <div class="ipsWidget_inner"> <div class="ipsType_light ipsPad_half ipsType_center">No upcoming events found</div> </div></li> Versus the System >> Members block named as "Today's Birthdays": <li class="ipsWidget ipsWidget_vertical ipsBox ipsResponsive_block" data-blockid="app_core_members_nzf0mwb8k" data-blockconfig="true" data-blocktitle="Members" data-blockerrormessage="This block cannot be shown. This could be because it needs configuring, is unable to show on this page, or will show after reloading this page." data-controller="core.front.widgets.block"> <h3 class="ipsType_reset ipsWidget_title"> Today's Birthdays </h3> <div class="ipsWidget_inner ipsPad"> <p class="ipsType_reset">No members to show</p> </div> </li>
June 21, 20231 yr Solution 11 minutes ago, Clover13 said: Assuming there's no way to cleanly update this via AdminCP and will require editing the block code somewhere else? Or edit the template in the ACP... at <APP> -> Front -> Widgets Upcoming Events = Calendar -> Front -> Widgets -> upcomingEvents Members = Core -> Front -> Widgets -> members (note that "Today's Birthdays" is the title you gave that block, not the actual name of the block)
June 21, 20231 yr Author Thanks @Nathan Explosion, that's the easiest workaround until/if the templates are made consistent.
June 21, 20231 yr Management We have cleaned a lot of these inconsistencies with v5. I'll see if we can tidy up v4 at some point too.