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;
Should I create DocumentType & Template for Author in backoffice with necessary fields?
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.
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:
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.
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?
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.
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.
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.
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;
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
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?
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 ofArticulate
from Git and merge Andy's change with the latest source code. Once functionalities are confirmed, I'll runbuild.ps1
inBuild
directory to create the package. Then I'll uninstall currentArticulate
package from backoffice and do a local install of this new package. I assume this should load the newArticulate
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 runArticulate.Web
project from Visual Studio. After installation and reaching backoffice, I could see that blog module is not loaded. Here is a screenshot.I check
DocumentType
inSettings
but couldn't find any doctype specific toArticulate
. And,Articulate
plugin is not listed in Installed Plugins of backoffice. Does running the projectArticulate.Web
from VS do not installArticulate
plugin? Am I missing something here?Awaiting your reply.
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.
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.
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.
is working on a reply...