November Happy Hour will be moved to Thursday December 5th.

Anders Hattestad
Oct 16, 2008
  8450
(0 votes)

Page Providers and Categories

Page Providers open up a lot of possibilities. I tried to get the Categories to act as part of the page system. Was pretty straight forward up to the point where I tried to move a category from on branch to another.

Started to dig a little with Reflector and ended up in the stored PROCEDURE netCategorySave. That procedure doesn’t save the parent ID. So it’s not possible with the API to move between branches. So I had to do it the dirty way and update the database with some sql :(

Well ended up with a PageProvider that can Create, Edit, Move, Delete

 

And the code ofc, only one file

Only one file

Oct 16, 2008

Comments

Please login to comment.
Latest blogs
AsyncHelper can be considered harmful

.NET developers have been in the transition to move from synchronous APIs to asynchronous API. That was boosted a lot by await/async keyword of C#...

Quan Mai | Dec 4, 2024 | Syndicated blog

The search for dictionary key

Recently I helped to chase down a ghost (and you might be surprised to know that I, for most part, spend hours to be a ghostbuster, it could be fun...

Quan Mai | Dec 4, 2024 | Syndicated blog

Shared optimizely cart between non-optimizley front end site

E-commerce ecosystems often demand a seamless shopping experience where users can shop across multiple sites using a single cart. Sharing a cart...

PuneetGarg | Dec 3, 2024

CMS Core 12.22.0 delisted from Nuget feed

We have decided to delist version 12.22.0 of the CMS Core packages from our Nuget feed, following the discovery of a bug that affects rendering of...

Magnus Rahl | Dec 3, 2024