If I upload a file with a plain html front page in Drupal, can I then edit it in Drupal, or do I have to edit offline and re-upload? I suspect that' s a dumb question but thought I'd just check.
Not sure why you'd do such a thing,but yes you'd have to edit it manually.
________________________________
From: support-bounces@drupal.org [mailto:support-bounces@drupal.org] On Behalf Of Jean Gazis Sent: Friday, June 29, 2007 11:32 AM To: support Subject: [support] using an alternate front page
If I upload a file with a plain html front page in Drupal, can I then edit it in Drupal, or do I have to edit offline and re-upload? I suspect that' s a dumb question but thought I'd just check.
The client sent me a mock-up home page, after seeing the site in progress. (Mine looks much nicer, but whatever.) I want to put theirs as the front page with an "enter site" link to the welcome page in Drupal.
Alternatively, could I make a drupal node that has no menus, blocks, or theme? It just needs to have 2 logos and 2 lines of text.
On 6/29/07, Metzler, David metzlerd@evergreen.edu wrote:
Not sure why you'd do such a thing,but yes you'd have to edit it manually.
*From:* support-bounces@drupal.org [mailto:support-bounces@drupal.org] *On Behalf Of *Jean Gazis *Sent:* Friday, June 29, 2007 11:32 AM *To:* support *Subject:* [support] using an alternate front page
If I upload a file with a plain html front page in Drupal, can I then edit it in Drupal, or do I have to edit offline and re-upload? I suspect that' s a dumb question but thought I'd just check.
-- Jean Gazis www.jeangazis.com www.boxofrain.us
"Believe those who are seeking the truth; doubt those who find it." - André Gide
-- [ Drupal support list | http://lists.drupal.org/ ]
You could use the frontpage module http://drupal.org/project/front - it allows you to have a frontpage that isn't themed, if I remember correctly.
Brenda
Jean Gazis wrote:
The client sent me a mock-up home page, after seeing the site in progress. (Mine looks much nicer, but whatever.) I want to put theirs as the front page with an "enter site" link to the welcome page in Drupal.
Alternatively, could I make a drupal node that has no menus, blocks, or theme? It just needs to have 2 logos and 2 lines of text.
On 6/29/07, *Metzler, David * <metzlerd@evergreen.edu mailto:metzlerd@evergreen.edu> wrote:
Not sure why you'd do such a thing,but yes you'd have to edit it manually. ------------------------------------------------------------------------ *From:* support-bounces@drupal.org <mailto:support-bounces@drupal.org> [mailto:support-bounces@drupal.org <mailto:support-bounces@drupal.org>] *On Behalf Of *Jean Gazis *Sent:* Friday, June 29, 2007 11:32 AM *To:* support *Subject:* [support] using an alternate front page If I upload a file with a plain html front page in Drupal, can I then edit it in Drupal, or do I have to edit offline and re-upload? I suspect that' s a dumb question but thought I'd just check. -- Jean Gazis www.jeangazis.com <http://www.jeangazis.com> www.boxofrain.us <http://www.boxofrain.us> "Believe those who are seeking the truth; doubt those who find it." - André Gide -- [ Drupal support list | http://lists.drupal.org/ ]-- Jean Gazis www.jeangazis.com http://www.jeangazis.com www.boxofrain.us http://www.boxofrain.us
"Believe those who are seeking the truth; doubt those who find it." - André Gide
Jean Gazis wrote:
The client sent me a mock-up home page, after seeing the site in progress. (Mine looks much nicer, but whatever.) I want to put theirs as the front page with an "enter site" link to the welcome page in Drupal.
Alternatively, could I make a drupal node that has no menus, blocks, or theme? It just needs to have 2 logos and 2 lines of text.
You could stick your "front page" in a block. Then make that block only appear on the front page by restricting it to "<front>", and also set its content type to executable PHP.
Then, at the bottom of the block, put:
<?php exit(); ?>
I think that would prevent Drupal from slurping the evaluated content of the block off standard output, so it would go straight to the browser. There might be unwanted side effects of this, though: you might have difficulty logging in to remove the hack, for example. In which case you could perhaps put it in block.tpl.php and check for the block ID. You certainly wouldn't want to do this on a long-term basis as it's a terrible hack.
Thoughts, anyone?
J-P