linkedin
  • Become a Seller

How do I get a static page dropdown in October CMS with a get page tree?

PYARELAL VELAYUDHAN . Oct 14, 2024

A:

To create a static page dropdown with a page tree in October CMS, follow the steps given below: 

Install ‘RainLab.Pages’ plugin for static pages functionality. 

in your form field YAML file, define the dropdown field:

In your controller or model, create a method to fetch the page tree:

Check the dropdown in the backend form to ensure it correctly lists static pages.

Oct 15, 2024

Was this helpful? upvote icon 0 downvote icon 0
img

Did not find the question you are looking for?

Get fast answers from real users and our software experts

menlaptop

Have a Question in Mind?

Get answers directly from verified users and our software experts

Software icon representing 20,000+ Software Listed 20,000+ Software Listed

Price tag icon for best price guarantee Best Price Guaranteed

Expert consultation icon Free Expert Consultation

Happy customer icon representing 2 million+ customers 2M+ Happy Customers