Take the community feedback survey now.

Per Nergård (MVP)
May 29, 2010
  5892
(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
A day in the life of an Optimizely OMVP - Introducing the beta of Opti Graph Extensions add-on

Introducing Opti Graph Extensions: Enhanced Search Management for Optimizely CMS I am excited to announce the beta release of **Opti Graph...

Graham Carr | Sep 15, 2025

Content modeling for beginners

  Introduction Learning by Doing – Optimizely Build Series  is a YouTube series where I am building  a fictional  website called  TasteTrail , food...

Ratish | Sep 14, 2025 |

A day in the life of an Optimizely OMVP - Enhancing Search Relevance with Optimizely Graph: Synonyms and Pinned Results

When building search experiences for modern digital platforms, relevance is everything. Users expect search to understand their intent, even when...

Graham Carr | Sep 14, 2025

Optimizely CMS and HTML validation message: Trailing slash on void elements has no effect and interacts badly with unquoted attribute values.

When using the W3C Markup Validation Service, some annoying information messages pop up because Optimizely CMS adds the trailing slash to...

Tomas Hensrud Gulla | Sep 14, 2025 |