Create manually static page with php code inside

The built in static page creator in Omeka S is great, but it doesn’t allow to enter php code for a quick call to a helper.

  1. Is it something you consider for the future?
  2. Right now, how can I create manually a static page with html/php code inside which is not a browse or show page? Where is the good place to put this new page?

Having users enter PHP code in the interface that gets executed is kind of a security nightmare, so I don’t think we’re likely to have a feature like that.

If you have custom PHP you want to include on a page, then the best route would probably be to make a small module that creates a block: you’d choose the block like any other on the page editor, and it would just execute the PHP you’re looking to use.