Ensure that visiting /admin ALWAYS directs to the pages/show/front new front page
Reported by Brian R Zaik | September 1st, 2009 @ 10:22 PM | in Concerto 1.9
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.
Comments and changes to this ticket
-
Michael DiTore September 2nd, 2009 @ 04:53 PM
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.
-
Michael DiTore September 2nd, 2009 @ 05:53 PM
- 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.
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.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
Concerto is an open source digital signage system that makes it easy to engage a large community of people with graphical and text-based announcements, bulletins, and other messages... but enough about us, you came here to get involved.
<br />
If you think you've <b>found a bug in Concerto</b>, please click 'Create new ticket' and let us know about it.
<br />
Looking to peek at our source code? Head to <a href="https://github.com/concerto/concerto_v1">https://github.com/concerto/concerto_v1</a> (Concerto version 1) or <a href="https://github.com/concerto/concerto">https://github.com/concerto/concerto</a> (Concerto version 2).
<br />
Our getting started guide is available here: <a href="https://github.com/concerto/concerto/wiki/Getting-Involved">https://github.com/concerto/concerto/wiki/Getting-Involved</a>.