Try our conversational search powered by Generative AI!

Per Nergård
May 29, 2010
  5529
(0 votes)

Custom Page reference property

The other day I had the pleasure of debugging some code which forced me to change value to a lot of page reference property in edit mode.

I’ve always thought that it’s an unnecessary step to click the “…” button to in my experience often just click the “this page” or “no reference” buttons.

So I’ve made a custom version of this property which adds two buttons for “this page” and “no reference” below the default rendering to get quick access to the two most used options.

The result look like this:

CustomPageReference

You can get the code here:

CustomPageReference code

Id did it in CMS 6 but it should work in CMS 5 as well.

May 29, 2010

Comments

Sep 21, 2010 10:33 AM

Neet, thanks for sharing!
/ Marcus Lindblom

Please login to comment.
Latest blogs
Anonymous Tracking Across Devices with Optimizely ODP

An article by Lead Integration Developer, Daniel Copping In this article, I’ll describe how you can use the Optimizely Data Platform (ODP) to...

Daniel Copping | Apr 30, 2024 | Syndicated blog

Optimizely Forms - How to add extra data automatically into submission

Some words about Optimizely Forms Optimizely Forms is a built-in add-on by Optimizely development team that enables to create forms dynamically via...

Binh Nguyen Thi | Apr 29, 2024

Azure AI Language – Extractive Summarisation in Optimizely CMS

In this article, I demonstrate how extractive summarisation, provided by the Azure AI Language platform, can be leveraged to produce a set of summa...

Anil Patel | Apr 26, 2024 | Syndicated blog

Optimizely Unit Testing Using CmsContentScaffolding Package

Introduction Unit tests shouldn't be created just for business logic, but also for the content and rules defined for content creation (available...

MilosR | Apr 26, 2024