PGTheme Updates

Dayo

Joined: 2005-11-04
Posts: 1555
Posted: Tue, 2007-07-17 02:24

After consulting with Pedro, I will be implementing some updates/fixes to PGTheme. Get them here

PGTheme, originally developed for G2.1, is fully compartible with G2.2.

Admins will have the following options
1) Full install including all the files - Recommended only if installing PGTheme for the first time
2) Upgrade Patches including changes only - Recommended if uprading from older version. Can be used to upgrade incrementally Version A - B - C etc.
3) Rollbacks to step back to previous version if problems occur - Should only be used incrementally to avoid issues Version C - B - A etc.

*********** PGTHEME 1.3.x ***********

VERSION 1.3.0 -> PENDING

INSTRUCTIONS
1) Change default theme to the Matrix Theme
2) Download and unpack the installation files
3) Upgrade the PGTheme in SiteAdmin
4) Switch back to PGTheme

NEW FEATURES
1) X_Treme Theme ColorPacks
2) X_Treme Theme IconPacks

BUG FIXES
1) Fixed sidebar so that long items are not clipped but a scrollbar is provided (#gsSidebarF in theme.css)
2) Changed photo diplay from 100% to 70% to allocate more space to descriptions (div gsImageView in photo.tpl)
3) Changed alignment of all descriptions in photo diplay to "justify" from "left". (<td style="text-align:justify" valign="top"> in photo.tpl)

KNOWN ISSUES
1) Javascript errors on photo display page in IE/Win
2) Page/Album number links do not use the same urls as main links if url rewrite is enabled.
3) Help File out of date.
4) "Next", "Full Size" & "Previous" icons on mouseover misaligned.

TODO / INVESTIGATE
1) Link Cart Icons to Zencart in addion to Cart & Checkout Modules
2) Persist user choice of image sizes.
3) Flag items with comments.
4) Google Analytics
5) Spacing of thumbnail section when author welcome message is activated

*********** PGTHEME 1.2.x ***********

VERSION 1.2.0 -> 23 July 2007

INSTRUCTIONS
1) Change default theme to the Matrix Theme
2) Download and unpack the installation files
3) Upgrade the PGTheme in SiteAdmin
4) Switch back to PGTheme

NEW FEATURES
1) Choice of PGtheme or X_Treme style Micro Thumbs
2) New colorpacks (download separately if applying upgrade patch)
>> PGBarbie
>> PGLite
>> PGCharcoal_Lite
>> PGModern
>> PGPastels
>> PGVanilla

BUG FIXES
1) Floating sidebox disappearing when mouse is moved
2) Removed redundant links in footer.tpl.
3) Removed extra requirement to set number of columns on 1st page. Now works like any other album.
4) Fixed navigatorThumbs.tpl to allow multiple views and proper navigation.
5) Fixed FadeIn Script to work properly on Mozilla Style Browsers
6) Adopted Microsoft filter definition to enable FadeIn operation with IE7/Win.
7) Fixed issue with cut off "Next", "Full Size" & "Previous" mouseover images.
8) Disabled the g2_EnterAlbum parameter.

KNOWN ISSUES
1) Javascript errors on photo display page in IE/Win
2) Page/Album number links do not use the same urls as main links if url rewrite is enabled.
3) Help File out of date.

*****************************************************************************************************************************************

.
Gallery version = 2.2.2
Default theme = PGtheme 1.3.0
Web Site: dakanji.com

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 25955
Posted: Tue, 2007-07-17 03:00

Thanks for taking the rains on this!
I know how much work it is to maintain themes with forums support as well. I know it would be hard for Pedro to support 2 themes and keep ative at the same time, so I am glad you are up for the challenge.

When you are ready please update:
http://codex.gallery2.org/Gallery2:User_Contributions#Themes

Please add too and edit:
http://codex.gallery2.org/Gallery2:Themes:pg
I have just made a skeleton page for you.

Let me know if you want me to edit the original pg theme thread to point to here or your site.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
Dayo

Joined: 2005-11-04
Posts: 1555
Posted: Fri, 2007-07-20 05:11

I think I have overcome the bug that meant that the Fade-In script did not work on Mozilla type browsers apart from Safari (froze and needed page refresh each time) but this needs testing on Windows.

Can folks please go to http://pgtheme.dakanji.com or http://dakanji.com/g2 and help check off the following browsers on windows.

IE 6
IE 7
FireFox
Opera
Netscape

I have tested Safari, Firefox, Netscape and Opera on Mac and just need confirmation on Windows...thanks.

.
Gallery version = 2.2.2
Default theme = PGtheme 1.2.0
Web Site: dakanji.com

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 25955
Posted: Fri, 2007-07-20 05:35

Fade in effect: fine in FF 2.0.0.5 on windows XP

Fade in effect: IE7.057 on windows XP

JS error: IE7.057 on windows XP ( attachment )
mouse over prevous/full/next <div> issue in: IE7.057 on windows XP ( attachment )

_____________________________________________
Blog & G2 || floridave - Gallery Team

AttachmentSize
js_error.jpg70.72 KB
pre-ful-next_cut.jpg28.64 KB
 
Dayo

Joined: 2005-11-04
Posts: 1555
Posted: Fri, 2007-07-20 13:09

Thanks

No joy on IE7. Wonder how IE6 fares.

Come on people!
.
Gallery version = 2.2.2
Default theme = PGtheme 1.2.0
Web Site: dakanji.com

 
Dayo

Joined: 2005-11-04
Posts: 1555
Posted: Fri, 2007-07-20 21:49

Got no idea why IE7 is not playing ball. Seems there are a few javascript issues with this version and that MS has concentrated on CSS standards.

The error message is also next to useless since it doesn't tell which file the error is from. The .js file only has one character on line 200 so it must be some other file generating the error which might mean it is not a new bug. Guess that will go down as a known issue on IE7.

Surely there must be people using IE6 out there that can check and report. If it works fine on that along with the Mozilla style ones, then that will probably be ok for release.
.
Gallery version = 2.2.2
Default theme = PGtheme 1.2.0
Web Site: dakanji.com

 
aagons
aagons's picture

Joined: 2006-07-10
Posts: 22
Posted: Sat, 2007-07-21 20:00

Hi, I have recently installed the latest version of Gallery and the PGTheme 1.0, I would like to download the latest PGTheme version, dos anybody know where I can get this last version?

"If something is hard to do, then it's not worth doing!"
Homer Simpson

• Website: www.gonsales.tv| Blog: blog.gonsales.tv | Photos: gallery.gonsales.tv •

 
Dayo

Joined: 2005-11-04
Posts: 1555
Posted: Sat, 2007-07-21 20:33

The latest version is 1.1.0 which you can get from the site in the first post.

I am working on an update and if you want to contribute to getting it out and on a windows machine, respond to the request three or so posts up.

Gallery version = 2.2.2
Default theme = PGtheme 1.2.0
Web Site: dakanji.com

 
Dayo

Joined: 2005-11-04
Posts: 1555
Posted: Sat, 2007-07-21 21:31

Dave / Anyone else

Can you please check with IE 7 again?

Thanks

Good old Microsoft ... Seems IE 7 has got serious issues with this type of stuff. Hopefully this attempt will work.

Cheers!
.
Gallery version = 2.2.2
Default theme = PGtheme 1.2.0
Web Site: dakanji.com

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 25955
Posted: Sat, 2007-07-21 23:30

in templates/photoNavOver.tpl the heights of the 'pervious | full | next' images are incorrect
http://pgtheme.dakanji.com/themes/PGtheme/images/nextphoto.gif
http://pgtheme.dakanji.com/themes/PGtheme/images/prevphoto.gif
http://pgtheme.dakanji.com/themes/PGtheme/images/fullphotoover.gif

<div id="prevOT" style="z-index:10; position:absolute; left:{$varposL}px; top: 20px; width:150px; height:10px; filter: alpha(opacity=60); -moz-opacity: 0.6; opacity: 0.6;" title="{g->text text='previous photo'}">
the images are 21 px high so if you adjust those ( assuming 3 places ) that should fix the cut off images.

As for the JS error in IE it is still there although 2 less line numbers in the error. It does not appear to hinder the operation/user experience.
I have zero experience in troubleshooting JS errors, sorry.

Dave

_____________________________________________
Blog & G2 || floridave - Gallery Team

 
Dayo

Joined: 2005-11-04
Posts: 1555
Posted: Sat, 2007-07-21 23:57

Thanks Dave

I was getting a bit despondent that none of the windows users could be bothered to click on the link provided and give a simple report whether it works or not and was about to release the files as they were and jack it in.

Now I have a bit of steam again as your detailed report gives me a good clue as to what might be happening with IE 7.

This bit contains stuff that should perhaps be in the CSS files and IE7 does not work with "filter: alpha(opacity=60)".

<div id="prevOT" style="z-index:10; position:absolute; left:{$varposL}px; top: 20px; width:150px; height:10px; filter: alpha(opacity=60); -moz-opacity: 0.6; opacity: 0.6;" title="{g->text text='previous photo'}">

Just shows how much of a joke web coding is.
>>filter: alpha(opacity=60); = IE6 & below
>>-moz-opacity: 0.6; = Older versions of Mozilla
>>opacity: 0.6; = Newer versions + newer Safari
>>none for older versions of Safari and Konqueror which should be "KHTMLOpacity: 0.6;"
>>Needs something for IE7.

Two fewer error line numbers might mean that the fix to the fade script is fix and those are from other bits such as this one.

I just need to decide whether to try to fix the IE7 error now or go for them later.

Thanks again.

.
Gallery version = 2.2.2
Default theme = PGtheme 1.2.0
Web Site: dakanji.com

 
Dayo

Joined: 2005-11-04
Posts: 1555
Posted: Sun, 2007-07-22 00:09

Sorry to bother you Dave

Please have a quick look. I just tried a quick fix attempt. If it worsens things I'll revert to how it was before.

Cheers
.
Gallery version = 2.2.2
Default theme = PGtheme 1.2.0
Web Site: dakanji.com

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 25955
Posted: Sun, 2007-07-22 00:19

http://www.w3schools.com/css/css_image_transparency.asp

filter:alpha(opacity=60) works for me in IE7

Dave

_____________________________________________
Blog & G2 || floridave - Gallery Team

 
Dayo

Joined: 2005-11-04
Posts: 1555
Posted: Sun, 2007-07-22 00:27

Hmm... will review that later.

Did you check the site though?

Cheers
.
Gallery version = 2.2.2
Default theme = PGtheme 1.2.0
Web Site: dakanji.com

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 25955
Posted: Sun, 2007-07-22 01:05
Quote:
Did you check the site though?

the images for pre full and next have been fixed in IE7

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
Dayo

Joined: 2005-11-04
Posts: 1555
Posted: Sun, 2007-07-22 01:12
floridave wrote:
the images for pre full and next have been fixed in IE7

Thanks

Javascript errors?

.
Gallery version = 2.2.2
Default theme = PGtheme 1.2.0
Web Site: dakanji.com

 
Dayo

Joined: 2005-11-04
Posts: 1555
Posted: Sun, 2007-07-22 01:43
Dayo wrote:
Hmm... will review that later.

According to Microsoft (http://msdn2.microsoft.com/en-us/library/ms532847.aspx), they have introduced a totally off the wall 360degree from W3C Standards property for Opacity (as if the Alpha filter was not bad enough before).

Look for "In the following example, the opacity of the content of an object is dynamically changed by changing the Opacity property of the Alpha filter" on that page.

Now it is "filter: progid:DXImageTransform.Microsoft.Alpha(opacity=xyz)"

It does say 5.5 7 above and the old one worked for you...so confusing lol.
.
Gallery version = 2.2.2
Default theme = PGtheme 1.2.0
Web Site: dakanji.com

 
pgilbert

Joined: 2005-03-28
Posts: 157
Posted: Wed, 2007-08-08 10:46

As Dave said "Thanks for taking the rains on this!"

I have no time at all to maintain forums and develop X_treme and it's absolutely impossible for me to support this PGtheme

http://pedrogilberto.net/g2
http://pedrogilberto.net/gallery2/

 
pgilbert

Joined: 2005-03-28
Posts: 157
Posted: Wed, 2007-08-08 10:55

Just one question, why:

Quote:
3) Removed extra requirement to set number of columns on 1st page. Now works like any other album.

Some time ago people asked me for that cause if you are using "author welcome message" at 1st page there are less space to show thumbs, so with that option we can use different columns at 1st album page.
Or have you created any other turn around for this issue?

http://pedrogilberto.net/g2
http://pedrogilberto.net/gallery2/

 
coding

Joined: 2006-12-28
Posts: 21
Posted: Wed, 2007-08-08 14:26

Hey pgibert... Thanks for giving us great theme !

I had an idea which I am not able to do .. naive to PHP and JS.. please reply to my this post.

http://gallery.menalto.com/node/67806

Thanks in advance!

 
tincoo

Joined: 2007-07-19
Posts: 26
Posted: Wed, 2007-08-08 15:00

IE6.0.29 xp windows
Fade/ mouse over works *but* there is a js error (not implemented, code-0). Also don't know if it's what you were wanting but the faded images and the mouse over (not faded) images are not the same size so you get the jumping around of the other faded pics and the comment text.

Hope this helps - I really enjoy that so many people are helping make gallery a great product! - tincoo

 
Dayo

Joined: 2005-11-04
Posts: 1555
Posted: Wed, 2007-08-08 15:54
pgilbert wrote:
Just one question, why:

Quote:
3) Removed extra requirement to set number of columns on 1st page. Now works like any other album.

Some time ago people asked me for that cause if you are using "author welcome message" at 1st page there are less space to show thumbs, so with that option we can use different columns at 1st album page.
Or have you created any other turn around for this issue?

Hi Pedro

Not fully sure I got the issue with how this affects the author welcome. I am using the welcome message on the demo site and it works. I suppose the extra parameter could be used to force extra space on the thumbnail display side if additional space is needed there if that is what you mean.

However, it is confusing as a setup and I will look into an alternative way on how extra space can be put on that side.

.
Gallery version = 2.2.2
Default theme = PGtheme 1.3.0
Web Site: dakanji.com

 
drhiii

Joined: 2003-04-27
Posts: 397
Posted: Mon, 2007-10-29 20:11

Dayo,

Something I am keenly interested in is the line in your 'Pending - Todo/Investigate' area that states "Google Analytics". Would you mind elaborating on that a little? What where you thinking here? I find this an extremely important area, personally. Would very much like to know what you are thinking in this too...

regards, drhiii

 
Dayo

Joined: 2005-11-04
Posts: 1555
Posted: Tue, 2007-10-30 03:54

drhiii

You asked the following on another thread in addition to your query above.

Quote:
If I may, here are some additional observations or ideas. This is of course on top of an integration that the deeper I press, the cleaner it looks. The whole thing is just plain bang-up smart.

In addition ot the Google Analytics question which most certainly involes meta field handling (am anxious to her your response to my question in a prior message)....

A user/client must click into Add Items to gain the first view of the item pricing. Is there any thought towards linking to the base price of an item, back in the G2 view? I know you are working to establish this via icons which make perfect sense because this action is a direct reference to 'View Purchase Options' (my words). This whole thing can be smoothed out with clever use of language. But I know some people like to see on the main view page at least some kind of price, even if it is a base price, of an item. Just wondered if there was any other kind of 'view' of this information back into G2 planned?

I would only bring the following up here given that you have taken over PGTheme. Something I continue to wonder about is the logo and the minimal text area available in the left part of the realestate of the PGTheme (and Xtreme too). Is there any way to advance allowing a user or administrator the ability to upload, post, import, create, whatever the term... a logo and the ability to populate this left part of the screen real-estate without having to drop into the OS layer? With the many, many superb image management features in G2, I continue to be perplexed why these two basic functions are not availed to a user. I can understand the security requirements that may prevent this kind of thing, but as an image (and other media types) managementserver environment, that a user would not be able to upload a single or two images to create at the least, a logo, does make ya think. It brings creation of sites to a grinding halt when a user has to submit one or two images, and a bio, to an administrator so they can log into the OS layer and put these into place. Would you have any opinion on advancing these two simple things... allowing a user the ability to upload a logo, and a bio, via G2, instead of via the backend. It continues to be a showstopper when trying to use a single site for handling multple contributors.

On that note, I'd floated before the idea awhile ago of advancing a user's profile to include more information, including customized logos that could override, or tandem with, the existing site logo. It didn't get much (any) response. But this limitation is what prevents G2 from going from a one-off site to being able to support multiples of people on a single site. At least in an advanced way.

Some other things pending, but will let the above settle in. Hope this is received in the spirit it is meant, which is advancing the G2 model which is terrific.

regards, drhiii

The PGTheme updates are only generally bug fixes etc with minor new features possible. Pedro has moved the theme on to X_Treme Theme and that is where any major new features will be. I think I wrote somewhere that this will be like G1 & G2.

PGTheme becomes like G1 while X_Treme is like G2. The upshot is that it is best to discuss major stuff like those you have with Pedro for consideration for X_Treme.

I just picked this up because I am happy with my PGTheme installation, do not need the added stuff in X_Treme and wanted to make some minor tweaks available for any in the same position. Also any things I pick up while rooting through the code can be fed back to Pedro for X_Treme.

On Goggle Analytics, this is a minor addition that will let people use this feature easily. You register, get your code and enter it into theme admin and then you can go to Google to use the feature.
.
Gallery version = 2.2.2
Default theme = PGtheme 1.3.0
Web Site: dakanji.com

 
drhiii

Joined: 2003-04-27
Posts: 397
Posted: Tue, 2007-10-30 04:20

I understand now. Thought at first you took over the PGTheme to advance some additional stuff, but I see what you are doing here. No probs. I will take up with Pedro a couple of these ideas. The work with the ZC is of course terrific...

The PGTheme updates are only generally bug fixes etc with minor new features possible. Pedro has moved the theme on to X_Treme Theme and that is where any major new features will be. I think I wrote somewhere that this will be like G1 & G2.

PGTheme becomes like G1 while X_Treme is like G2. The upshot is that it is best to discuss major stuff like those you have with Pedro for consideration for X_Treme.

I just picked this up because I am happy with my PGTheme installation, do not need the added stuff in X_Treme and wanted to make some minor tweaks available for any in the same position. Also any things I pick up while rooting through the code can be fed back to Pedro for X_Treme.

On Goggle Analytics, this is a minor addition that will let people use this feature easily. You register, get your code and enter it into theme admin and then you can go to Google to use the feature.
.
Gallery version = 2.2.2
Default theme = PGtheme 1.3.0
Web Site: dakanji.com

 
gaynormcc
gaynormcc's picture

Joined: 2003-09-05
Posts: 426
Posted: Sun, 2008-08-03 15:58

Hi Dayo,
Did you realise? that my "Uselect (interactive colorpack)" was created by adapting one of the PG theme original colorpacks.
I have been involved with other things for some months and only now found this thread.
If Pedro consents, I would be very happy for this very adaptable colorpack to be included in your updates page.

I have not checked that it still works with the updated theme.(It is 4am here)

Gaynor McCartney