This module appears to not work with 5.2. Or at least from an upgrade to drupal 5.2

Only thing that shows is welcome to your drupal website..
data entered into front page settings does not show.

Comments

Dublin Drupaller’s picture

Assigned: Unassigned » Dublin Drupaller

Some commits have been made since the last time I updated the module, so, I'll have a quick look o n a fresh Drupal 5.2 site and report back up here later.

Dub

Dublin Drupaller’s picture

hi Sgriffin..

didn't get a chance to try out the latest version with Drupal 5.2..will pick it up in the morning.

Dub

sgriffin’s picture

kden, its kind of a major problem for those that don't have sites with articles.. because then you can not get rid of the Welcome to drupal junk.
I did the standard work around of a dummy content type, dummy node, and blank tpl.

Dublin Drupaller’s picture

Just tried the front page module (version 5.x-1.9) with a fresh install of Drupal 5.2 and it works fine.

The variable names have been changed in the module (from earlier versions) and no upgrading function has been included in the module...which means that if you're upgrading, you will lose your old front page settings.

That's not good, so I'll look into adding an "upgrade script" into the module so when you install it, it checks to see if it's an upgrade from an older version and carries out the necessary tasks to do the upgrade automatically.

For the duration please refer to the UPGRADING.TXT file that comes with the module:

  1. Go to ADMINISTER -> SETTINGS -> FRONT PAGE
  2. Copy your text area settings for anonymous & authenticated users into a text editor
  3. Upload the new version of the front_page.module
  4. Refresh the settings page
  5. Paste your text area settings for anonymous & authenticated users into the appropriate text areas.
  6. Save Configuration.

Sorry for the inconvenience...I was aware someone else was working on the module, but, I didn't realise that the variable names were being changed without a routine for upgrading.

Dub

beginner’s picture

@Dublin: FYI, I didn't change any setting nor any variable. Such changes must have happened before I got involved here. I recently committed a patch proposed by someone else removing the old setting variables because they weren't used anymore.
I don't know when the change happened.

Dublin Drupaller’s picture

Beginner,

Don't worry about it..I think it was myself who changed the variables. my bad. It's been a while since I looked at the module, but when I was backtracking over the updates I think I changed the variable names when the leap was made between Drupal 4.x and Drupal 5.x.

I'll look into it deeper and try and come up with a simple upgrade option.

For anyone else following this thread...the front_page.module works fine with Drupal 5.2 but if you're upgrading, please refer to the upgrading.txt file that comes with the module download.

Dub

beginner’s picture

Title: Support for Drupal 5.2 » settings lost when upgrading from D 4.7 to D5

Ok.
Actually, I have not committed the upgrade patch (removing the variables). It's a good news for sgriffin :)

See the proposed patch and more relevant background info, here:
http://drupal.org/node/167527

sgriffin’s picture

I am running 5.1.9 of front page..
But the front page module doesn't continue to work if you are upgrading drupal, not frontpage..
from drupal 5.1 to 5.2

Dublin Drupaller’s picture

Status: Active » Closed (fixed)