[support] Development Site -- Keep the Public Out

Shai Gluskin shai at content2zero.com
Mon Oct 29 05:15:54 UTC 2007


Wow,

Thanks to everyone.

I implemented a combination of my original plan relying on content access,
and the front page module suggested by Laura. I couldn't use Front page
alone because direct links, possibly reached via search engines, would work.

I like Earl's idea -- really does the same thing as the Front Page module
does, but lower overhead since I rely heavily on the Views module anyway. I
might switch to that approach.

Thanks Martin for the custom "access denied page" idea. I'll certainly file
that away.

Liza (blogdiva) had the simplest idea -- but there's no way I'm giving out
the admin login info. I develop using a content/training focused development
method where I engage with multiple folks on the client side from the start
-- getting them to send content to me via the Drupal installation. From the
very first, I'll have them send me docs by having them create a node with a
file attachment instead of sending it to me via email. A lot of back and
forth that would more naturally happen via e-mail in a lot of
developer/client relationships I conduct with a blog or a forum on the
developing site. If I need to get feedback on some graphics etc. I'll put
the question out as a poll at the site and get the client folks to vote on
the site. Some might think this is more work, but I'm passionate about
including real training with the development (I charge for it as well!).

Again, thanks for the great ideas.

Shai

shai at content2zero.com
http://content2zero.com

On 10/29/07, Earl Miles <merlin at logrus.com> wrote:
>
> Shai Gluskin wrote:
> > So I'm working with an organization on a site rebuild. I have a test
> > site set up on my domain.
> >
> > My problem is that the "Welcome to your New Drupal Site" page is showing
> > up on the home page for anonymous users.
> >
> > I've installed the Content Access module
> > (http://drupal.org/project/content_access) to make it so that the staff
> > and I can all work on the site and the content won't be available to the
> > public till we launch (and change the access settings).
> >
> > I created a block with permissions set to "anonymous" and display set to
> > "only on <front>"; it displays in the center of the page (thanks to
> > LiteJazz Theme) telling anonymous folks that this is a development page,
> > with a link to the old/live site.
> >
> > When I (role=webmaster) or staff (role=staff) log in, everything is
> > fine, just like I want it -- the block disappears and all the content
> > appears.
> >
> > I just want the "Welcome to your New Drupal Site" to disappear for
> > anonymous users.
> >
> > I tried making the "You are on a test site" a node instead of a block.
> > That makes the "Welcome to your New Drupal Site" dissappear for
> > anonymous users, but the "You are on a development site" node, continues
> > to appear after staff or I have logged in. I've tried in Content Access
> > to just check "anonymous" -- but it seems that module doesn't work the
> > same way as the blocks code does.
>
> Install the Views module.
>
> Enable the 'frontpage' view, and then 'Add' it so you can override it.
> Set the Empty text to what you want your users to see.
>
> Then go to administer >> site configuration >> site information
>
> Change the 'default front page' to 'frontpage'. This will make the
> frontpage view the default. The view that ships with Views behaves
> exactly like the normal Drupal frontpage, except for the 'no content to
> display' case, so the only difference you'll see is that the page you're
> talking about will disappear and never be seen again.
> --
> [ Drupal support list | http://lists.drupal.org/ ]
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/support/attachments/20071029/d9185be5/attachment.htm 


More information about the support mailing list