Making 1.6RC1 look and feel a little more 1.5-ish

Plug

Joined: 2008-03-14
Posts: 9
Posted: Fri, 2008-03-14 01:43

Hi,

I've gone through and played with the CSS for 1.6RC1 so it feels like the clean blue 1.5. I will post what I have somewhere soon for people to hack on.

A question though: is it possible to set the treeview to always be expanded, or even better, replace it with the old always-on view of 1.5?

Regards,
Craig

 
Tim_j
Tim_j's picture

Joined: 2002-08-15
Posts: 6818
Posted: Fri, 2008-03-14 09:31

Hello Craig,

If you have the 1.5 skin for 1.6 ready, please send it to me, i will be happy to implement it!

About your question:

Open lib/content.php
find function printChrildren
Add $html .= "\n\n\t tree_{$treeName}.expandAll();";
before $html .= "\n\n\t tree_{$treeName}.draw();";

Some other people also asked to use the old (non JS) tree. Maybe i will add it again in 1.6.1. (not in 1.6)

Jens
--
Last Gallery v1 Developer.
Tryout the TEST-Version of Gallery 1.6

 
Plug

Joined: 2008-03-14
Posts: 9
Posted: Sun, 2008-03-16 23:26

Here is my 'onefiveblue' skin. It closely resembles the look and feel of Gallery 1.5's default blue skin. Unzip it into your skins/ directory.

There are still parts that I haven't looked at, and errors I've seen, but this would be a good starting place for others to contribute if they wished.

Also attached are a patch to fix a bug with the RSS feed link on the page (it doesn't include the current album name) and a patch to re-add the old 1.5 album tree.

Comments welcomed.

Craig

 
Tim_j
Tim_j's picture

Joined: 2002-08-15
Posts: 6818
Posted: Sun, 2008-03-16 23:13

Hello,

thanks for the onefiveblue skin (great name, i will use it), but the most important file for a skin is missing: screen.css.default

I will see what i can do with the patches.
The RSS patch needs a modification, but i got the point.

Thanks !

Jens
--
Last Gallery v1 Developer.
Tryout the TEST-Version of Gallery 1.6

 
Plug

Joined: 2008-03-14
Posts: 9
Posted: Sun, 2008-03-16 23:27

I was trying to get the RSS icon to go to the far right of the screen, but that's where the donate link goes when you are logged in as administrator. I'd like it to be at the far right regardless - you might want to see what you can come up with.

I've fixed the zipfile in the first post. Sorry about that!

 
Tim_j
Tim_j's picture

Joined: 2002-08-15
Posts: 6818
Posted: Mon, 2008-03-17 12:46

Thanks for the correct file.

I installed it, and it seems to work, but i guess you are still working on it, right?

Please send the next updates directly to me: jens AT peino DOT de

Greetings and thanks,
Jens
--
Last Gallery v1 Developer.
Tryout the TEST-Version of Gallery 1.6

 
Plug

Joined: 2008-03-14
Posts: 9
Posted: Mon, 2008-03-17 13:34

Not really - it's good enough for my gallery at the moment so unless I find fault with it, I won't be doing much more.

I've put it here so other people can use it, and find bugs that I wouldn't necessarily find myself. I'll post on the thread that people were asking for this theme on, and see if any of them are interested.

 
Plug

Joined: 2008-03-14
Posts: 9
Posted: Mon, 2008-03-17 13:42

Is there a thread for 1.6 RC bugs, or a better way to report them?

If you click "view comments" in the drop-down on a subalbum, it's looking for view_comments.php in popups/, when it's in the root. It relies on other files in the root also so it isn't a case of just moving it in there.

I'm trying to find where to change this.

 
Tim_j
Tim_j's picture

Joined: 2002-08-15
Posts: 6818
Posted: Mon, 2008-03-17 14:02

@onefiveblue: Okay, then i will/have to tweak it.

In 1.6-RC1-svn-b120, i can not reproduce this problem.

If you have problems with latest 1.6-svn version, just make a new thread.
Don't forget to tell the EXACT Version number.

Jens
--
Last Gallery v1 Developer.
Tryout the TEST-Version of Gallery 1.6

 
Plug

Joined: 2008-03-14
Posts: 9
Posted: Tue, 2008-10-21 00:41

Here's the treeview patch for 1.6-RC2.

Note you also have to copy images/icons/tree from 1.5.x to your 1.6.x installation for the treeview icons to come up.