Thread Locked This thread is locked - replies are not allowed.


This question is not answered. Helpful answers available: 2. Correct answers available: 1.


Permlink Replies: 22 - Pages: 2 [ Previous | 1 2 ] - Last Post: 28 Jul 23, 14:43 Last Post By: Laza
Merlin2504

Posts: 327
Registered: 25-Jul-2016
Re: PhotoBlogger und meine Kontaktseiten rote Kreuze ?
Posted: 26 Jul 23, 13:45   in response to: RobM in response to: RobM
 
Attachment albumfiles.txt (3.4 KB)
So sieht meine Datei aus
JeffTucker

Posts: 8,336
Registered: 31-Jan-2006
Re: PhotoBlogger und meine Kontaktseiten rote Kreuze ?
Posted: 26 Jul 23, 13:50   in response to: Merlin2504 in response to: Merlin2504
 
Attachment albumfiles.txt (3.2 KB)
Replace it with this one, attached.

Make sure the project is closed when you delete the old one, and add the new one.
Merlin2504

Posts: 327
Registered: 25-Jul-2016
Re: PhotoBlogger und meine Kontaktseiten rote Kreuze ?
Posted: 27 Jul 23, 11:20   in response to: JeffTucker in response to: JeffTucker
 
JeffTucker wrote:
JeffTucker wrote:
For the future, Klaus, if you're copying an old project, then using it to create a new project, don't start with one of those very old projects. Fix the current one (68), and then use that as the starting point for new ones.

Ich habe jetzt die Galerie 68.Session so repariert, wie ihr mir das beschrieben habt.

Was meint ihr mit den "alten" Galerien? Wie muss ich das machen, damit dies übernommen wird?
RobM

Posts: 3,983
Registered: 4-Aug-2006
Re: PhotoBlogger und meine Kontaktseiten rote Kreuze ?
Posted: 27 Jul 23, 11:35   in response to: Merlin2504 in response to: Merlin2504
 
If you start anew project by copying and older project, such as by:
JAlbum>Menus>File>Duplicate Project
JAlbum>Explore>Projects pane>Contextual Menu >Duplicate project
Or outside of jAlbum duplicating a folder and renaming it.

Then copy or duplicate project 68, the one just fixed, don’t use any other project.
Laza

Posts: 1,511
Registered: 6-Sep-2005
Re: PhotoBlogger und meine Kontaktseiten rote Kreuze ?
Posted: 28 Jul 23, 13:33   in response to: JeffTucker in response to: JeffTucker
 
Jeff, could you please explain to me, how this can happen? I believe the skin itself cannot do such things. I am just releasing a new version and would like to fix this, if possible.
JeffTucker

Posts: 8,336
Registered: 31-Jan-2006
Re: PhotoBlogger und meine Kontaktseiten rote Kreuze ?
Posted: 28 Jul 23, 14:00   in response to: Laza in response to: Laza
 
This is leftover from a problem that the core fixed over a year ago. When adding a page template, the core was keeping that information as an absolute path. But that path might have been pointing to the bundled skin, or to a later-installed skin version in the config directory. So, this could get broken. In this case, e.g., the path was pointing to the config directory copy of the skin. But after an update, the user deleted that config directory copy of the skin (which is OK), so the path was no longer valid.

This got fixed in jAlbum 20.2, I believe. The path to a page template now points to the most recent copy of the skin, no matter where it is. So, for a newly-created project, it's not an issue. But in this user's case, he's apparently starting a new project by copying an old one. That's a reasonable thing to do, since things like his contact and about pages aren't changing. He's just swapping out the photos for new ones, from the latest "event" that he's covering.

But since he's copying an old project, in which the old absolute paths are still present in albumfiles.txt, they're never getting fixed. The old error just keeps getting copied into the newest project.

This is not something a skin should be trying to fix. This is a jAlbum core thing. It's kind of a fringe case, however, so a core-based fix might be more trouble than it's worth.
RobM

Posts: 3,983
Registered: 4-Aug-2006
Re: PhotoBlogger und meine Kontaktseiten rote Kreuze ?
Posted: 28 Jul 23, 14:34   in response to: JeffTucker in response to: JeffTucker
 
JeffTucker wrote:
So, for a newly-created project, it's not an issue. But in this user's case, he's apparently starting a new project by copying an old one. That's a reasonable thing to do, since things like his contact and about pages aren't changing.
I made my templates so you can save the settings as a default, then load the default for new projects. But you can’t control what users do, so this could happen to any skin that supports templates.
Laza

Posts: 1,511
Registered: 6-Sep-2005
Re: PhotoBlogger und meine Kontaktseiten rote Kreuze ?
Posted: 28 Jul 23, 14:43   in response to: JeffTucker in response to: JeffTucker
 
Thanks, Jeff!
Legend
Forum admins
Helpful Answer
Correct Answer

Point your RSS reader here for a feed of the latest messages in all forums