Issues migrating from G1 to G2, and other questions

alex-brainstorm

Joined: 2003-11-03
Posts: 3
Posted: Sat, 2005-05-07 20:21

Hello,
G1 is a great product, I hope G2 will be even better :D However, I have some problems with it right now.

    Using G1 import module, Custom Field(s) contents do not seem to be migrated.
    Using G1 import module, Comment posters seem shuffled (or maybe off by one).
    Using G1 import module, all Edit Album -> Album -> Resized Images are initialized to 640x640. How can I remove this (and get the same sizes as in G1)?
    Using G1 import module, how can I set the default album Theme? Changing all albums theme after the import directly inside the database leads to ERR_OBSOLETE_DATA error. Why, and how to make bulk changes using the database?
    How can I change an attribute for all albums at once? Eg, Change Resized Images sizes for all albums, and 'Recreate thumbnails and resizes' for all albums?
    How can I do a recursive Slideshow ?
    How can I change the default left tree root name (Gallery) ?
    Why album items list on left are so truncated (abcd...)
    How to get rid of the cart ?
    How to get rid of all these "print on..." entries ?
    How to get rid of the "Updated" rectangle under each album.
    It is unclear for me how to use mod_rewrite so as to be able to go to an album by typing http.../album1/album2

Thanks, keep up the good work ;)
Alex.
----

Gallery URL (optional): http://g2.bleau.org
Gallery version:gallery-2.0-beta-2+ (cvs 2005-05-04)
Webserver (with version): Apache/1.3.33 (Debian GNU/Linux)
Datatabase (with version): mysql 4.0.23
PHP version (eg 4.2.1): 4.3.10-13
phpinfo URL (optional):
Graphics Toolkit(s): Ffmpeg GD ImageMagick NetPBM
Operating system: Linux version 2.4.22
Web browser/version: IE6
G1 version (for migration bugs): v1.5.1-cvs-b18
[/]

 
jmullan
jmullan's picture

Joined: 2002-07-28
Posts: 974
Posted: Sat, 2005-05-07 23:10
alex-brainstorm wrote:
Using G1 import module, Custom Field(s) contents do not seem to be migrated.

Correct. I have a start to the custom fields import code, but it is not yet finished.

alex-brainstorm wrote:
Using G1 import module, Comment posters seem shuffled (or maybe off by one).

That's strange. Can you provide me with links to an image with comments in your g1 and the corresponding item in g2? Thanks!

alex-brainstorm wrote:
Using G1 import module, all Edit Album -> Album -> Resized Images are initialized to 640x640. How can I remove this (and get the same sizes as in G1)?

This should work. I have the same request as above - links to each.

alex-brainstorm wrote:
Using G1 import module, how can I set the default album Theme?

Set the theme in the album into which you import your g1 data. g2 themes really don't have anything to do with the migration process - they will pick up the theme from the root or wherever you import into.

alex-brainstorm wrote:
Changing all albums theme after the import directly inside the database leads to ERR_OBSOLETE_DATA error. Why, and how to make bulk changes using the database?
How can I change an attribute for all albums at once? Eg, Change Resized Images sizes for all albums, and 'Recreate thumbnails and resizes' for all albums?

These are good questions. I don't know these.

alex-brainstorm wrote:
How can I do a recursive Slideshow ?

I don't think there's an option for that yet, but I'm not sure.

alex-brainstorm wrote:
How can I change the default left tree root name (Gallery) ?

You can change that by going to the root of your gallery2 and clicking "edit album". Go to the general tab. It's there.

alex-brainstorm wrote:
Why album items list on left are so truncated (abcd...)

Because we truncate them to fit the small space. :/

alex-brainstorm wrote:
How to get rid of the cart ?

Go to Site Admin, then modules, then deactivate the under "Commerce".

alex-brainstorm wrote:
How to get rid of all these "print on..." entries ?

Go to Site Admin, then modules, then deactivate the print services under "Commerce".

alex-brainstorm wrote:
How to get rid of the "Updated" rectangle under each album.

Go to Site Admin, then modules, then deactivate "New Items" under "Display".

alex-brainstorm wrote:
It is unclear for me how to use mod_rewrite so as to be able to go to an album by typing http.../album1/album2

Go to Site Admin, then modules, then activate "URL Rewrite" under "Gallery". Then, follow the directions there

 
alex-brainstorm

Joined: 2003-11-03
Posts: 3
Posted: Sun, 2005-05-08 06:13

Many thanks for the quick reply :D

jmullan wrote:
Correct. I have a start to the custom fields import code, but it is not yet finished.

Thanks, good to know it's in the works.

jmullan wrote:
That's strange. Can you provide me with links to an image with comments in your g1 and the corresponding item in g2? Thanks!

G1: http://photos.bleau.org/Videlles/v_flipflop
G2: http://g2.bleau.org/main.php?g2_view=core:ShowItem&g2_itemId=318

alex-brainstorm wrote:
Using G1 import module, all Edit Album -> Album -> Resized Images are initialized to 640x640. How can I remove this (and get the same sizes as in G1)?

jmullan wrote:
This should work. I have the same request as above - links to each.

G1: http://photos.bleau.org/LEnvieDesBetes
G2: http://g2.bleau.org/main.php?g2_view=core:ShowItem&g2_itemId=689

jmullan wrote:
Set the theme in the album into which you import your g1 data. g2 themes really don't have anything to do with the migration process - they will pick up the theme from the root or wherever you import into.

Maybe this deserves some warning before actually doing the import?

alex-brainstorm wrote:
How can I do a recursive Slideshow ?

jmullan wrote:
I don't think there's an option for that yet, but I'm not sure.

I guess it's not possible right now.

alex-brainstorm wrote:
How can I change the default left tree root name (Gallery) ?

jmullan wrote:
You can change that by going to the root of your gallery2 and clicking "edit album". Go to the general tab. It's there.

Yes, I did change it, and it changed everywhere (after restarting the browser) except in the default left tree root name, which is still 'Gallery'. You should see it too in the above urls (otherwise it may be some caching issue).

alex-brainstorm wrote:
Why album items list on left are so truncated (abcd...)

jmullan wrote:
Because we truncate them to fit the small space. :/

Yes, well, under IE6, they are truncated to 1/3 the whole space, but the album title is not truncated at all (and is less than the whole space).
Eg http://g2.bleau.org/main.php?g2_view=core:ShowItem&g2_itemId=45

Thanks for all your answers,
Alex.

 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Sun, 2005-05-08 16:13

If you modify the database directly you must clear the database cache, Site Admin / Maintenance.

 
alex-brainstorm

Joined: 2003-11-03
Posts: 3
Posted: Sun, 2005-05-08 17:23
mindless wrote:
If you modify the database directly you must clear the database cache, Site Admin / Maintenance.

Great! Thanks! The last thing I need to know now is where the 'Resized Images' sizes are stored in the database so I can do bulk changes. But I guess I'll have to re-import the G1 stuff anyway, when Custom Fields migration will be done. Maybe I can give some help on this, if someone tells me where to start ;)
Thanks again for the quick help!