Back to Top

How To setup other Resource as Homepage in Modx

setup other resource as homepage in modx

MODx Revolution supports very easy and flexible configuration of the system from admin panel.Today I am going to explain how you set up another resource as front-page rather than existing one.

Let’s start how to set up the resource you want to use as your homepage from admin panel

Steps

  • Step 1: First of all , Login into the admin panel of your Modx Revolution.
  • Step 2: Go to the Top Menu >> System >> System Settings
  • Step 3: Search with the keyword site_start and replace the ID of the Resource you want to use as homepage here

To retrieve the values for your system settings in your Snippets or Plugins, you can use getOption function

$Start_site = $modx- >getOption('site_start');

Make sure New ID of resource you replaced belongs to an existing Resource, and that it has been published!

That’s it.I hope this post will help you. Don’t Forget to Follow us on Twitter or Subscribe us to Get the Latest Updates.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Most Popular Posts

Warning: Ignoring WordPress Can Be a Blunder

Posted on 6 years ago

Nick Carter

Learn about the Docker and how it works

Posted on 3 years ago

Bhumi

Learn ElasticSearch in 10 Minutes

Posted on 3 years ago

Bhumi

Hello world

Updated 1 week ago

Nick Carter

In depth Understanding of Laravel Core

Updated 2 months ago

Bhumi

ECMAScript 6 New Features – 2

Updated 1 year ago

Bhumi

The Reader’s Poll – June 2015

Posted on 4 years ago

Bhumi

The Reader’s Poll – August 2014

Posted on 4 years ago

Bhumi

The Reader’s Poll – June 2014

Posted on 5 years ago

Bhumi

The Readers’ Poll – May 2014

Posted on 5 years ago

Bhumi

The Readers’ Poll – August 2013

Posted on 5 years ago

Bhumi