Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Mus'ab 155 posts 380 karma points notactivated
    Oct 06, 2019 @ 07:00
    Mus'ab
    0

    what is the best practicing for views counter and likes counter for pages ?

    Hi our

    i am working on news website and i want to make a views counter and like button for the news witch is the best way to do it referring to that i have a huge number of nodes.

  • Mila Pandurska 75 posts 350 karma points
    Oct 08, 2019 @ 11:09
    Mila Pandurska
    0

    Hi Mus'ab, the proper way tohandle view counter, likes, ratings and so on is to use POCO objects which will store the data in custom db table. You can get the idea here: https://creativewebspecialist.co.uk/2013/07/16/umbraco-petapoco-to-store-blog-comments/

    Mila

  • Mus'ab 155 posts 380 karma points notactivated
    Oct 10, 2019 @ 08:26
    Mus'ab
    0

    Hi Mila

    i think that this article using umbraco 7 and there are a many changes in umbraco 8 do you have any idea about this ?

  • Nik 1413 posts 6212 karma points MVP 3x c-trib
    Oct 10, 2019 @ 08:32
    Nik
    1

    Hi Mus'ab

    https://our.umbraco.com/documentation/Extending/Database/ << This is a good intro into extended the database in Umbraco v8. It uses Migrations to deploy schema changes so you can track the state of your modifications in different environments should the need arise.

    Nik

  • Mus'ab 155 posts 380 karma points notactivated
    Oct 10, 2019 @ 10:20
    Mus'ab
    0

    Hi Nik

    Thank you for your help i can create the table now but how can i insert and edit rows in the table that i created from the views ?

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies