Copied to clipboard

Flag this post as spam?

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


  • Abilash Ashok 63 posts 418 karma points
    Jan 19, 2017 @ 12:57
    Abilash Ashok
    0

    Adding Author or new page in blog

    Hi,

    First of all brilliant plugin.

    I am a newbie evaluating Umbraco v7.5.7 for one of our website requirement. I have installed articulate package for the blog module. I am planning to include an Author page in blog since it's not available out-of-the-box. The expected behavior is - when a user navigates to a blog post and clicks on Author name, it navigates to an Author page. I could see that PostModel.Author instance has all the necessary information of an author and the requirement is achievable.

    My doubts is where should I start;

    1. Should I create DocumentType & Template for Author in backoffice with necessary fields?
    2. Should I add an Author view inside blog directory itself (like App_Plugins\Articulate\Themes\Shazwazza\Views)?

    Either way, how should I route my navigation when a user click on Author name in the blogpost. Which is the best approach? Where should I write that piece of code? Please note, I am not looking for Surafce api since it adds /surface/ in the url.

    Any help will be appreciated.

    Thanks

  • Shannon Deminick 1524 posts 5270 karma points MVP 2x
    Jan 19, 2017 @ 23:30
    Shannon Deminick
    0

    Hi, there's currently an outstanding issue to get this done but I haven't had any time. In fact there's even a PR by the great Andy B waiting to be reviewed:

    PR: https://github.com/Shazwazza/Articulate/pull/142

    Other author stuff:

    https://github.com/Shazwazza/Articulate/issues/10 https://github.com/Shazwazza/Articulate/issues/14 https://github.com/Shazwazza/Articulate/issues/27

    Maybe you can have a look through the PR to see if that is doing what you want?

  • Abilash Ashok 63 posts 418 karma points
    Jan 20, 2017 @ 09:38
    Abilash Ashok
    0

    Hello, Thank you for your valuable reply. I had actually seen the pull request from Andy few days back and was looking for pointers on how to implement that. Sine a pull request is already available let me go ahead and try with that.

    My analysis on Andy's pull request says that his pull request was on Mar 19, 2016 and you have updated Articulate plugin recently. Here is what I am planning to do. I'll take latest source-code of Articulate from Git and merge Andy's change with the latest source code. Once functionalities are confirmed, I'll run build.ps1 in Build directory to create the package. Then I'll uninstall current Articulate package from backoffice and do a local install of this new package. I assume this should load the new Articulate version with Andy's change. Does this works? Please suggest which is the better approach.

    Also, I've downloaded latest source-code of Articulate from Git and run Articulate.Web project from Visual Studio. After installation and reaching backoffice, I could see that blog module is not loaded. Here is a screenshot.

    enter image description here

    I check DocumentType in Settings but couldn't find any doctype specific to Articulate. And, Articulate plugin is not listed in Installed Plugins of backoffice. Does running the project Articulate.Web from VS do not install Articulate plugin? Am I missing something here?

    Awaiting your reply.

  • Shannon Deminick 1524 posts 5270 karma points MVP 2x
    Jan 24, 2017 @ 00:21
    Shannon Deminick
    100

    Hi, there's documentation here about getting started with the Articulate codebase: https://github.com/shazwazza/articulate#contributing

    You need to actually install the articulate package created in that last step.

    Once you've done that and are actively working with the latest articulate code + andy's code merged into that, just doing a build in VS will give you the right DLLs in your project, you don't need to re-install any package files.

  • Abilash Ashok 63 posts 418 karma points
    Jan 24, 2017 @ 07:07
    Abilash Ashok
    0

    Thank you very much for the guidance Shannon. It helped a lot. I cloned the repo, created the package with powershell script. Started merging Andy's changes to my repo. Thanks again.

  • Abilash Ashok 63 posts 418 karma points
    Jan 24, 2017 @ 11:27
    Abilash Ashok
    0

    Hello Shannon, I have merged Andy's changes with latest version of Articulate. It works like a charm. I have submitted a pull request - https://github.com/Shazwazza/Articulate/pull/210. It would be great if you could take a look.

    Thanks a lot for the help.

Please Sign in or register to post replies

Write your reply to:

Draft