custom skin not found after upgrade to 1.5.5 pl
heatherfeuer
Joined: 2004-03-14
Posts: 5 |
Posted: Sat, 2007-03-31 15:50 |
The following information is required to get an answer: I just upgraded as shown above. I had created a customized skin based on "yellow." In my old configuration, the skin showed up in the configuration wizard so I could select it. In the upgraded configuration, it doesn't show at all. I tried manually editing the config.php file to change this line to: $gallery->app->skinname = "Heather"; However, it doesn't change or display. In the config wizard, I selected the "yellow" skin and that is all it insists on showing. I've looked in nearly all the files to see if I've somehow missed something, but I can't figure it out. You can see the custom skin on my remote site: http://www.cathyheather.net/gallery. It's very frustrating! Can someone please tell me what I'm missing? Thanks! |
|
Posts: 6818
Hello Heather,
we added a version number to skins in 1.5.x.
Just add
$version = '1.0.0';
$last_update = '2007-04-01';
in the style.def file in your skin.
Greetings,
Jens
--
Last Gallery v1 Developer and v1 translation manager.
Posts: 5
Thank you! I added that and I've also saved my standalone stylesheet as screen.css. Now it all works... sort of. There are still a couple of places that don't pick up the original styles, (you can still see small differences between the two sites), but I don't have time at the moment to really dig into any code to see what I still have to do.
By the way, if I were to upgrade to G2, does the theme system create the layouts without using tables? And is it possible to create a layout in G1 that uses divs in place of tables?
Posts: 6818
Hi,
yes there were some changes between 1.4 and 1.5 ...
@G2: There are themes for G2 which use a lot less tables, if not none at all. But i cant say that .. (G1 Dev)
Gallery 1.5.x and prior do not uses themes. You would need to do heavy code modification.
I made a Gallery 1.6 where this IS (nearly) possible. But we dont know if we will ever release it officially.
You can get it for testing from http://jems.de/archive/1.6
But you would make it all from scratch. Nearly nothing from 1.5.x works in 1.6 (just the albums, photos and settings are used ;) )
Jens
--
Last Gallery v1 Developer and v1 translation manager.
Posts: 5
Thank you! I downloaded the svn54 tarball and I'll take a close look when I have the opportunity. I am in the process of setting up a migration to a larger business server and completely redoing the backend. I have also been working with CMS Made Simple, which I consider to be the most user-friendly (especially for my most computer-illiterate clients) CMS I've found to date (and I've tried using the best of the others). CMS Made Simple has a mod for integrating G2, so I was actually thinking about possibly upgrading to that, but I haven't fully decided yet. Frankly, my current gallery isn't large enough to need G2, but it would be nice to figure it out in the event a future client would like to use it. Besides, my Fantastico interface has the install for G2. We'll see.
Posts: 6818
Okay.
I will be around and wait for your feedback.
Thanks for using and testing G1 )
Jens
--
Last Gallery v1 Developer and v1 translation manager.