KalikoCMS / KalikoCMS.Core

Open source content management system (CMS) for the ASP.NET platform.
GNU Lesser General Public License v3.0
145 stars 64 forks source link

Update HtmlHelperExtensions.cs to include useful URL generation methods #130

Closed PonchoPowers closed 6 years ago

PonchoPowers commented 7 years ago

As the URL's that come from the CMS are not routes, I find it easier to define two methods to help generate URL's to CMS pages so that I don't have to hard code them. The two methods posted help resolve this issue. Do we need to set up any examples of how to use these methods so that others are aware that they exist?

fschultz commented 7 years ago

Thanks! I've manually merged the branch of your pull request into the 1.2.3-dev branch, and if everything works as it should this will be reflected in the pull request once the 1.2.3-dev branch is merged into master when it goes live.

It's a good idea to show how these extensions can be used and I'll add it to the release notes. I'm also working on updating the code base of kaliko.com, once done I'll start adding documentation to the knowledge area and will include this also.