Developer forum

Forum » CMS - Standard features » RenderItemList and ItemPublisher

RenderItemList and ItemPublisher

Kurt Moskjær Andersen
Kurt Moskjær Andersen
Reply

Hi,

I need to change the paging parameters in a Razor-template, when using the ItemPublisher on a paragraph, in order to make a "Read more" functionality without javascript.
I've tried to use the RenderItemList instead, but then need to get the number of items in the list.

How can I achieve this?

Best regards
Kurt Moskjaer Andersen


Replies

 
Nicolai Pedersen
Reply
This post has been marked as an answer

Hi Kurt

Sorry about the late response. Did you get this one sorted out?

If not, I need a little more explanation in order to be able to help. I do not fully understand what you need or are trying to do,.

BR Nicolai

Votes for this answer: 1
 
Kurt Moskjær Andersen
Kurt Moskjær Andersen
Reply

Hi Nicolai,

That's okay, I've solved it by using the RenderItemList directly and doing some custom coding.

/Kurt

 

You must be logged in to post in the forum