PG theme
pgilbert
Joined: 2005-03-28
Posts: 157 |
![]() |
*************************** PG Theme *************************** YOU CAN DOWNLOAD IT NOW FOR G2.1 (it will work for G2.2 also) The theme was upgraded again. As there are so many changes i made a new version. Go to http://pedrogilberto.net/pgtheme/ where you can download "PGtheme" (Version 1.1.0RC1) for G2.1 and G2.0 (some features probably will not work on G2.0. * To use PGcolorpacks you must install and activate colorpack module. (download: * To change the top Logo, or any navigation pic, create your one image name it "logo.gif" and "logoon.gif" to use on mouse over. - If you aren't using a PGcolorpack, the images should be located under: ".../themes/PGtheme/images" If you noticed any bugs let me know, i'll try to fix it as soon as possible. ********************** Latest bugs fixed ******************************* ******************* You can try also X_treme based on PGtheme (For G2.2 and later)******************** [img]http://www.pedrogilberto.net/gallery2/themes/x_treme/templates/extra/logos/logo.png[/img] Information: http://codex.gallery2.org/Gallery2:Themes:X_treme Downloads: X_treme Forum here: http://gallery.menalto.com/node/61330 ************************************************************************** http://pedrogilberto.net/g2/ |
|
valiant
Joined: 2003-01-04
Posts: 32509 |
![]() |
great work! i hoped you'd release a beta 4 theme of your old layout soon |
|
lvthunder
Joined: 2003-09-12
Posts: 808 |
![]() |
Good job. The only problem is the link to download it gave me a 404 error. |
|
allanak
Joined: 2005-04-05
Posts: 9 |
![]() |
lvthunder wrote:
Good job. The only problem is the link to download it gave me a 404 error. |
|
pgilbert
Joined: 2005-03-28
Posts: 157 |
![]() |
The link to download is working now! |
|
mvettas
![]()
Joined: 2005-07-23
Posts: 26 |
![]() |
dude that is one HOT theme |
|
patrickthickey
![]()
Joined: 2004-08-22
Posts: 164 |
![]() |
Really nice work. Thank you for sharing it. Question: I cannot locate the specific file you reference to edit? gallery2/modules/core/classes/GalleryLayout.class ? patrick |
|
sleze
Joined: 2004-05-08
Posts: 15 |
![]() |
This is probably a very elementary css question. I am trying to change the logo.gif and logoon.gif to my own .png files but for some reason when I change the path, there are no images at all displaying. Here is what I changed in theme.tpl: <a href="g->url" I uploaded 2 new files(logo.png and logoon.png) to the images directory. As you can see, all I did was change the extension from .gif to .png. What am I forgetting to do? |
|
pgilbert
Joined: 2005-03-28
Posts: 157 |
![]() |
patrickthickey, gallery2/modules/core/classes/GalleryTheme.class sleze, "Logo" it's not the same as "logo"... |
|
patrickthickey
![]()
Joined: 2004-08-22
Posts: 164 |
![]() |
Pedro - thanks for the pointer. I'm using the theme and think it is really solid, even with one or two small bugs. I'm sure you will work them out as time pemits. thank you again. regards, |
|
LFrank
Joined: 2005-02-19
Posts: 1023 |
![]() |
Pedro - absolutely stunning theme Only twoquestions |
|
LFrank
Joined: 2005-02-19
Posts: 1023 |
![]() |
pgilbert, Quote:
- The next/last links disappear on mouseover just found, that if I use the microthumbs to display an image, the "next, last..." are replaced by the little icons which then function according the mouseover-function defined. Could this be one of your Friefox issues you've mentioned? |
|
LFrank
Joined: 2005-02-19
Posts: 1023 |
![]() |
Found that the Navigation Templates use a src="themes/images.../icon.gif" - changing this to the full path src="http://mysite.com/themes..../icon.gif" and the Icons function from the beginning |
|
LFrank
Joined: 2005-02-19
Posts: 1023 |
![]() |
pgilbert, was able to fix the Opacity of the Thumbs in Firefox by changing the .opacity1 { Now perfect in IE and Firefox. In IE7 even the transparency of the icons is fixed. |
|
LFrank
Joined: 2005-02-19
Posts: 1023 |
![]() |
Everything customized and working now |
|
patrickthickey
![]()
Joined: 2004-08-22
Posts: 164 |
![]() |
LFrank.... I am still not seeing the opacity you reference when I use FF. I made the changes you depict, but I also notice you are using much newer versions of a few core programs. Very nice integration and work, by the way. And of course, a really beautiful theme. regards, patrick Gallery version = 2.0-beta-4 core 0.9.32 |
|
LFrank
Joined: 2005-02-19
Posts: 1023 |
![]() |
patrickthickey, Thanks a lot. I had to restart FF and to clear the cache before it worked on my system, too. I first thought it wouldn't help - and suddenly, it worked. |
|
pgilbert
Joined: 2005-03-28
Posts: 157 |
![]() |
LFrank, Thank´s for help. There's an updated version of PGTheme with corrected bugs and some more options. |
|
patrickthickey
![]()
Joined: 2004-08-22
Posts: 164 |
![]() |
Hello. I checked the download off your web site but the version number of the .zip file is unchanged? Did you simply post a new version with the old name? thanks regards, patrick |
|
LFrank
Joined: 2005-02-19
Posts: 1023 |
![]() |
pgilbert, perfect - glad I could help a bit. I changed album.tpl to {if !empty($child.title)} |
|
patrickthickey
![]()
Joined: 2004-08-22
Posts: 164 |
![]() |
I am using #333333 and it is close but there is still a tiny difference. I am also unable to change the background color associated with the microthumb window. Any help? thanks patrick |
|
LFrank
Joined: 2005-02-19
Posts: 1023 |
![]() |
pgilbert, I still had to add the lines to themes.css to get Opacity working for Firefox (downloaded 1h ago - upgraded to v0.10.0) |
|
LFrank
Joined: 2005-02-19
Posts: 1023 |
![]() |
pgilbert, photo.tpl needs a little fix - if you don't want to display the info on the photo page - but still want to change sizes, one needs to change Ln 29-38 to |
|
LFrank
Joined: 2005-02-19
Posts: 1023 |
![]() |
pgilbert, joiii .... where is my cool "Loading..." animation during the fade in of the pictures ... it's gone... ... hey, here it is - after changing to the full path to the image - back: |
|
pgilbert
Joined: 2005-03-28
Posts: 157 |
![]() |
LFrank, Thank's for help, I upgrade the PGtheme, some more options and bugs corrected. PGTheme Version ('0.10.1') The file as the same name: PGtheme_G2b4.zip |
|
ericsc
![]()
Joined: 2005-08-02
Posts: 3 |
![]() |
Can the original be used, with just my site info there? Where does this need to be changed? I have changed the info in themes.js but Pedro's name is still at the top of my page sleze wrote:
This is probably a very elementary css question. I am trying to change the logo.gif and logoon.gif to my own .png files but for some reason when I change the path, there are no images at all displaying. Here is what I changed in theme.tpl: |
|
nivekiam
![]()
Joined: 2002-12-10
Posts: 16504 |
![]() |
Logoon.png is not the same as logoon.png. You must make sure the file names use the same case. *Nix based operating systems are case sensitive. You can have a two files in the same directory: myfile.txt and myFile.txt and they are completely different files. I haven't looked around Pedro's theme much yet, but if he followed the other themes. You can probably edit theme.tpl to change that header information. Just follow the intstruction at the top of the file about creating a 'local' directory in your templates directory and copying theme.tpl into it to edit. |
|
mindless
![]()
Joined: 2004-01-04
Posts: 8601 |
![]() |
pgilbert, I updated GalleryTheme.class so you can override the $peerWindowSize value from your theme... just set $params['peerWindowSize'] = 20 (or whatever) before you call loadCommonTemplateData in showAlbumPage. |
|
LFrank
Joined: 2005-02-19
Posts: 1023 |
![]() |
pgilbert, - I have problems with the "greymatter" colorpack - it seems not to be recognized and the nav-icons arn't displayed - Fading in the image isn't working. The load-gif is displayed but the picture simply roles in in front of it - I get an error saving the options from admin since 0.10.1: Error Detail - * in C:\Inetpub\Scripts\GALLERY2\modules\core\classes\GalleryStorage\DatabaseStorage.class at line 1238 (GalleryStatus::error) |
|
LFrank
Joined: 2005-02-19
Posts: 1023 |
![]() |
ah, yes ... in navigatorThumbs.tpl, you suddenly half the thumbnail on clicking it onclick="pic{$nome}.width={$largura}/2; pic{$nome}.height={$altura}/2; is this intended - I like th +{over} instead of /2 for my rather big thumbs |
|
pgilbert
Joined: 2005-03-28
Posts: 157 |
![]() |
LFrank, Download it again I discovered some bugs |
|
pgilbert
Joined: 2005-03-28
Posts: 157 |
![]() |
mindless, I' m trying but it's not working, how and were can I set it? |
|
patrickthickey
![]()
Joined: 2004-08-22
Posts: 164 |
![]() |
Great work folks. Now the "next and previous" button placement works, and in my case I prefer them to be on the top. LFRANK - I haven't been able to reach your site all day? thanks patrick |
|
ruggedman
Joined: 2005-08-01
Posts: 4 |
![]() |
Is it possible to allow right clicks rather than have the copyright prompt come up? |
|
mindless
![]()
Joined: 2004-01-04
Posts: 8601 |
![]() |
pgilbert, didn't expect such a fast response.. you need to wait a few hours for the change to make it to anonymous cvs. Then put $params['peerWindowSize'] = 20 in showPhotoPage (not showAlbumPage as I said before), before the loadCommonTemplateData call. |
|
mindless
![]()
Joined: 2004-01-04
Posts: 8601 |
![]() |
also maybe check that slideshow module is active and omit slideshow links if not? |
|
LFrank
Joined: 2005-02-19
Posts: 1023 |
![]() |
patrickthickey, jup - unfortunately - my servr decided to hibernate last night and after waking up it seems to have lost the network connections. pgilbert, OK - just wanted to tell that exchanging the themes.js to the 0.10.0 release fixed a few things ... (even if compare didn't show differences) |
|
patrickthickey
![]()
Joined: 2004-08-22
Posts: 164 |
![]() |
LFrank... damn, I wish we could figure out how to make the "shadow" frames work under IE. They look splendid under FF or Moz but under IE they put these hideous white frames up. And the majority of users are under IE, so there you have it. I connected to your site. Beautiful. Under FF! patrick |
|
lvthunder
Joined: 2003-09-12
Posts: 808 |
![]() |
All you have to do to get it to work in IE is make the images with the same background color as the background since the background is a solid color or wait until everyone upgrades to IE7. I read that IE7 will include support for alpha channel pngs. |
|
mindless
![]()
Joined: 2004-01-04
Posts: 8601 |
![]() |
pgilbert, now I've also added a separator parameter for core.SystemLinks block. Where you include this block in theme.tpl you can add: separator=$theme.params.MenuSeparator Also look for hardcoded strings, like "Options" you have in theme.tpl.. that should be {g->text text="Options"} |
|
starkness
Joined: 2005-07-21
Posts: 8 |
![]() |
I installed the PG theme, and then activated it, but now that I'm using it I can't access the Site Admin page, among other problems. Which files should I edit by hand to switch back to the matrix theme? |
|
nivekiam
![]()
Joined: 2002-12-10
Posts: 16504 |
![]() |
You don't need to edit anything by hand, at least you shouldn't but I don't know what you would if you did have to. You should be able to browse to the README.html file at the root of your gallery install. In that file there is a link to Site Admin, from there you should be able to change your theme. If you provide a link to your site or additional details of your problems we could probably help with the issues. For example: |
|
Xprcsn7
Joined: 2005-08-01
Posts: 10 |
![]() |
Hi, I tried updating to this new version of the PG theme and it crashed, leaving me with no choice but to do a complete reinstall (gallery and PG theme, because i like it so darned much). and apparently this happened to the guy who posted previous to me, but I saved the g2data folder and am wondering how to 're-insert' the saved pictures back in this fresh installation. (I tried copying the contents, but of course no go, so now i'm thinking i'm screwed and will have to upload all my thousands of pictures again) please help Gallery version = 2.0-beta-4 core 0.9.32 |
|
nivekiam
![]()
Joined: 2002-12-10
Posts: 16504 |
![]() |
EDIT: One question. You said you tried updating to this version of PG. Did you already have a previous version of PG installed? If so, what version? The only way to restore a G2 setup is to have a backup of your database *and* g2data and preferrably your config.php Without all 3 of those you cannot restore a G2 install. You're best bet now would probably be to upload from "Local Server" from your backed up "albums" directory in your old g2data directory. Make sure you old 'albums' directory is outside of your new g2data directory. I don't know what kind of processing or memory requirements will be needed to process 1000s of images though. |
|
starkness
Joined: 2005-07-21
Posts: 8 |
![]() |
nivekiam wrote:
You don't need to edit anything by hand, at least you shouldn't but I don't know what you would if you did have to. The site is http://rivard-family.net/gallery2 . When I click on Login or try to go directly to the Site Admin page I get a blank page, so I need to revert back to another theme somehow. |
|
LFrank
Joined: 2005-02-19
Posts: 1023 |
![]() |
pgilbert, wow .. the new version is nearly perfect. And finally, I had to adjust the footer template to show a copyright to my site (what is the customization in the theme.js for?) Thanks - as said - nearly perfect now !! |
|
pgilbert
Joined: 2005-03-28
Posts: 157 |
![]() |
LFrank, customize the variables at the top of theme.js |
|
LFrank
Joined: 2005-02-19
Posts: 1023 |
![]() |
pgilbert, Quote:
LFrank , customize the variables at the top of theme.js ouch ... I've missed to check with the latest change... Sorry Thanks Pedro! |
|
lifehouse
Joined: 2005-08-03
Posts: 1 |
![]() |
Hi all, I just installed this theme (which is great, congrats on your work!) and I was wondering, how many micro thumbs per column shows up? Is it configurable? Thank you! |
|
mindless
![]()
Joined: 2004-01-04
Posts: 8601 |
![]() |
pgilbert, when you've updated to use $params['peerWindowSize'] then you should update your theme.html to not recommend modifying GalleryTheme.class anymore.. thanks! |
|
nivekiam
![]()
Joined: 2002-12-10
Posts: 16504 |
![]() |
starkness, Please start a new topic in the G2 Support forum and be sure to include your G2 version number, which is 0.9.31 and a link to phpinfo.php information on creating a phpinfo file can be found here, http://codex.gallery2.org/index.php/Gallery2:faq#What_information_is_required_when_I_ask_for_help_in_the_forums.3F You might also want to turn on 'buffered' debug mode in config.php. The devs might just suggest you upgrade gallery, from a nightly since you're not even running B4 but I don't want to suggest that as I don't know if it would mess up with your install with this problem you're currently having. The devs would know better. You can find G2 nightly builds here, http://galleryupdates.jpmullan.com/ |
|