Closed (fixed)
Project:
Front Page
Version:
5.x-1.9
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
27 Sep 2007 at 08:37 UTC
Updated:
30 Jan 2010 at 17:40 UTC
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
Comment #1
Dublin Drupaller commentedSome 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
Comment #2
Dublin Drupaller commentedhi Sgriffin..
didn't get a chance to try out the latest version with Drupal 5.2..will pick it up in the morning.
Dub
Comment #3
sgriffin commentedkden, 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.
Comment #4
Dublin Drupaller commentedJust 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:
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
Comment #5
beginner commented@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.
Comment #6
Dublin Drupaller commentedBeginner,
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
Comment #7
beginner commentedOk.
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
Comment #8
sgriffin commentedI 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
Comment #9
Dublin Drupaller commented