Use the page type based on the database value