Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Ensure that visiting /admin ALWAYS directs to the pages/show/front new front page

#23

When I visit http://concerto.rpi.edu/admin/ (or ROOT_CONCERTO_URL/admin/ in general), we need to ensure that it always redirects to the Frontpage within the pages controller.

When the code is all packaged up into a redistributable package, we also are probably going to have to automatically populate the database at install with a sample frontpage that can be used as the front page of the new Concerto Panel installation.

Reported by Brian R Zaik · September 1st, 2009 @ 10:22 PM

State: invalid
Milestone: Concerto 1.9
Assigned to: Michael DiTore Michael DiTore

Activity

  1. Michael DiTore
    Michael DiTore

    Could you clarify this a little? I'm not sure if what you're reporting is a bug with the current implementation or just a summary.

    As for the 'redistributable' portion, I'm not sure I want to get into that just yet. The default Concerto installation still uses the index action of the frontpage controller. Enabling a fancy frontpage, because it is dependent on the deployment's database, requires a line in config.inc.php - see the commit here: r579. Essentially, an option in config.inc.php will cause any other view in the system to act as the frontpage, including a dynamic page.

    We can always make the feature default in the future, but I'd like it to mature a bit first.

    September 2nd, 2009 @ 04:53 PM

  2. Michael DiTore
    Michael DiTore
    • State changed from new to invalid

    For clarification, the DEFAULT_PATH config variable is needed to change the frontpage from the static view.

    Example

       define('DEFAULT_PATH', 'pages/show/front');
    

    I've done this in your working copy as a demonstration. Please reopen this ticket if any of the URLs fail.

    EDIT: Fixed weird markdown.

    September 2nd, 2009 @ 05:53 PM

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.