Anders Hattestad
Oct 16, 2008
  8464
(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
Copy Optimizely SaaS CMS Settings to ENV Format Via Bookmarklet

Do you work with multiple Optimizely SaaS CMS instances? Use a bookmarklet to automatically copy them to your clipboard, ready to paste into your e...

Daniel Isaacs | Dec 22, 2024 | Syndicated blog

Increase timeout for long running SQL queries using SQL addon

Learn how to increase the timeout for long running SQL queries using the SQL addon.

Tomas Hensrud Gulla | Dec 20, 2024 | Syndicated blog

Overriding the help text for the Name property in Optimizely CMS

I recently received a question about how to override the Help text for the built-in Name property in Optimizely CMS, so I decided to document my...

Tomas Hensrud Gulla | Dec 20, 2024 | Syndicated blog

Resize Images on the Fly with Optimizely DXP's New CDN Feature

With the latest release, you can now resize images on demand using the Content Delivery Network (CDN). This means no more storing multiple versions...

Satata Satez | Dec 19, 2024

Simplify Optimizely CMS Configuration with JSON Schema

Optimizely CMS is a powerful and versatile platform for content management, offering extensive configuration options that allow developers to...

Hieu Nguyen | Dec 19, 2024

Useful Optimizely CMS Web Components

A list of useful Optimizely CMS components that can be used in add-ons.

Bartosz Sekula | Dec 18, 2024 | Syndicated blog