Can I chnage the displayed number of listed Top Requests/Favourites etc to 3 instead of 5.
Best Answer
-
james_kleinschnitz Cireson Dev, Product Owner Advanced IT Monkey ✭✭✭@Mat_Barnier
It seems like you are referring to the alternate home page (../View/02efdc70-55c7-4ba8-9804-ca01631c1a54)
On the alternate home page, we actually return 10 items in each top list and by default we only show 5. You can change this by adding this CSS to your CUstomSpace:<div>.sc-item-list.alt-top-list .media:nth-child(n+4) { <span style="background-color: transparent; color: inherit; font-size: inherit; font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;"> display: none;</span></div><div> }</div>
Also editing files outside the CustomSpace directory is not supported or recommended.
I hope this helps.5
Answers
https://support.cireson.com/KnowledgeBase/View/1271#/
Always back up the db before making any changes.
The long and short of it is that if the RO has a NULL value in the Popularity field in the RequestOffering table, it will not show up in the list. If it has an integer, it will. The lower the integer, the higher the RO is on the list. So you can drop 2 ROs from your list by changing the field from a value to NULL on the 2 you select to drop.
Hope this helps
This is from one of our Consultants:
if you're looking for a 1-liner js, something like:
$("[data-template='top-ka']").children().hide().first().show().first().next().show()
Or you might be able to cheat with some tacky CSS, if allowed.
.catalog-content .col-sm-4 {
max-height: 200px;
overflow: hidden;
}
It my understanding that @Brett_Moffett is also looking into this for you. Hope this helps.
It seems like you are referring to the alternate home page (../View/02efdc70-55c7-4ba8-9804-ca01631c1a54)
On the alternate home page, we actually return 10 items in each top list and by default we only show 5. You can change this by adding this CSS to your CUstomSpace:
Also editing files outside the CustomSpace directory is not supported or recommended.
I hope this helps.