Copied to clipboard

Flag this post as spam?

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


  • Christine 115 posts 288 karma points
    Feb 09, 2017 @ 15:53
    Christine
    0

    Posting blogs by categories on different site page

    Hello,

    I'm evaluating if I can use Articulate for my project. I've installed it and it's great to see something like this available as open source!

    I would like to be able to apply a category to a blog post and have it appear on a specific page in the website.

    For example, blogs identified with the category 'Nutrition' would appear on the Nutrition page. Or blogs with the category 'Fitness' would appear on the Fitness page.

    The pages would show the blog expert and image. When clicked, users would view the full blog.

    Is this possible with Articulate? Any guidance on how I can accomplish this?

  • Shannon Deminick 1524 posts 5269 karma points MVP 2x
    Feb 09, 2017 @ 23:03
    Shannon Deminick
    100

    Anything is possible! :)

    OOTB you won't get everything you are asking for but you Articulate will certainly provide you links to Categories that list blog posts. You can even customize this view if you want.

    For example, on my site (powered by Articulate), each category is it's own link and lists all blog posts that have been tagged by that category, here's the "ASP.NET" category: http://shazwazza.com/categories/ASP-Net

    Since Categories are just Tags, both Tags and Categories are treated the same way. My advise for playing around with Articulate is to find a theme that has most of the functionality you want (each theme has different functionality implemented: https://github.com/shazwazza/articulate/wiki/Installed-Themes ), then copy that Theme folder to a name of your choice so you can start modifying it (you can then select this theme in the root Articulate node you are working with): https://github.com/shazwazza/articulate/wiki/Creating-a-theme

    The view Tags.cshtml is the razor file that will render this page so you can modify how this page lists your blog posts however you'd like.

    The part that isn't implemented is showing the 'author' - or as you put it - the "Blog Expert" on this page. The problem here is that Author's are attached to individual blog posts and not to categories/tags. However, you could customize Articulate to support this in a variety of ways. For example:

    • You could add a text Property Type or even the Articulate Categories Property Type to the Author document type
    • Then you could define which Category(s) the Author is the 'Expert' on
    • Then in your Tags.cshtml file, you could lookup all Author's that are an Expert in the current Tag/Category and display their information

    There's probably other ways to do it but that could work.

Please Sign in or register to post replies

Write your reply to:

Draft