Universal Pager not showing

Sid Chudasama asked on July 5, 2017 15:28

Hello everyone,

I'm having these strange problem, where universal pager doesn't show on a particular one page, in live site. Though when i'm logged in as admin and as soon as i click edit option of CMS in top left corner on live site, it shows up.

Thanks in advance for any help

Correct Answer

Trevor Fayas answered on July 5, 2017 21:06

Awesome, if the 1st fixed it, it was simply a caching issue.

I would highly recommend you add to your UniViewer the Cache Dependencies, this is a way for Kentico to "auto clear" cached values when certain things occur.

In your case, you want to use the key:

nodes|[YourSiteName]|CMS.News|all

See this documentation for how to formulate them!

1 votesVote for this answer Unmark Correct answer

Recent Answers


Trevor Fayas answered on July 5, 2017 15:31

Can you take a screen shot of the configuration of the universal viewer?

From your description, my guess is it's "vieweing" objects that are in a state of unpublished, because when you are in "edit mode" as the admin/moderator (or preview mode) unpublished items "show" so you can see what it looks like before publishing.

0 votesVote for this answer Mark as a Correct answer

Sid Chudasama answered on July 5, 2017 17:26 (last edited on July 5, 2017 17:27)

Hey Trevor, Thanks for the quick reply, I made sure the page is published and i'm using newslist webpart with Uni Pager.

Also trying to add screenshot but not sure exactly how to add one, the image option asks me to add url, so do i need to upload the images to a cloud storage and add url? Image Text

0 votesVote for this answer Mark as a Correct answer

Trevor Fayas answered on July 5, 2017 17:46

Yeah you'll need to put it online. Here's one resource:

https://onpaste.com/

0 votesVote for this answer Mark as a Correct answer

Sid Chudasama answered on July 5, 2017 19:53

Ok thanks, here's all the screenshots.Image TextImage TextImage TextImage TextImage Text

0 votesVote for this answer Mark as a Correct answer

Trevor Fayas answered on July 5, 2017 19:59

Thanks for the screen shots.

Couple things to try.

  1. I see a 60 minute cache on this item, try setting it to 0 or clearing cache, it could have cached before you published.
  2. Uncheck the "Hide if no records found" and see if you see the text "no data found", if so then the repeater isn't finding anything and you need to check what it's looking for.
  3. Verify that the objects on your page are of type "CMS.News" just in case you created a custom Page Type or you're using the wrong one.

Check those and tell me if any of it worked!

1 votesVote for this answer Mark as a Correct answer

Sid Chudasama answered on July 5, 2017 20:28

Doing 1st and 2nd step fixed it Uni-pager shows up now, but 2nd step doesn't seem to affect anything i checked and unchecked it, so i had it fixed but it was the caching that prevented it from showing up, even after i did clear output cache in General tab every time i did a change.

Thanks Trevor for all your help.

0 votesVote for this answer Mark as a Correct answer

Sid Chudasama answered on July 5, 2017 21:59

Great thank you.

0 votesVote for this answer Mark as a Correct answer

Trevor Fayas answered on July 5, 2017 22:01

Set this item as marked as solved lastly if you would, so people know it's been resolved!

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.