Pulling dynamic content from other parts of the website based on a certain criteria...

Discussion in 'HTML & Website Design' started by lazerorca, Oct 14, 2014.

  1. #1
    So here is what I am trying to do... I'd like to build a grid and contained in the grid I'd like to have for example my most clicked page to show up in one of the divs... I would like to pull the image, title, and maybe some content with a link to the page. I have an idea of how I could do it in sort of a "static" manner. Where I could just manually put in the content etc etc...

    Since my most clicked page would be dynamic and always changing, I was wondering what would be involved in having variable content to show up without having to code it each and every time. Ideally what I would like to do is build a grid that would have the first div with the most popular, second div with second most popular, etc etc... and possibly have other criteria such as highest voted etc etc.
     
    lazerorca, Oct 14, 2014 IP
  2. KewL

    KewL Well-Known Member

    Messages:
    245
    Likes Received:
    16
    Best Answers:
    3
    Trophy Points:
    128
    #2
    Tell us more about your website that you want to implement this on. Does your site have a backend with a database? or is it purely static?

    You'll need a backend with a database tracking all the statistics, a rating system, all kinds of good stuff, then you'll be able to pull in pages that meet certain criteria based on the data you have on hand.
     
    KewL, Oct 15, 2014 IP
  3. lazerorca

    lazerorca Peon

    Messages:
    14
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    1
    #3
    It does have a backend with a database. I am using wordpress at the moment as I am slowly learning the ins and outs of things. I'd like to build my website from the ground up. The website I am trying to build is for finding and sharing deals from the web, deals you have to get in the store, and deals from local businesses. The website I am trying to set up is one where I display the most popular deals on the homepage and then have subsequent categories... then a discussion forum for posting and finding deals.

    Right now I am using wordpress and the wordpress forum plugin, bbpress so there is integration between them both. they both use the same database. I would love to have some sort of rating system.
     
    lazerorca, Oct 15, 2014 IP