PG theme
gaynormcc
![]()
Joined: 2003-09-05
Posts: 426 |
![]() |
Sorry, I was wrong anyway. It only controls opacity for the microthumb. I can;t see anywhere that affects what you are getting. Gaynor |
|
impulse29
Joined: 2006-12-31
Posts: 2 |
![]() |
@eddiehorn: Thanks for your help, but I'm kinda confused. I installed the full theme including the colorpacks. I did not see any modules to install, so I downloaded the colorpack module. I don't quite know what you mean by the standard colorpacks (are they the ones that came with gallery 2?). I'm sorry if I am misunderstanding what you wrote, EDIT: I realized that the colorpack module on the site that I downloaded the theme is not the one that is required. After searching, I found the appropriate one (it should really be changed to reduce confusion). I have installed and activated it, but now I don't know where I can change the pack for the theme. The module is in the display section, so I would assume that a link would appear on the left, but I don't see one. Where do I change the pack? |
|
gaynormcc
![]()
Joined: 2003-09-05
Posts: 426 |
![]() |
If you had had an earlier version of the PG colorpacks, I think it would be wise to have uninstalled them. From the top album you want the theme in, "edit album" Gaynor |
|
Dizz
Joined: 2006-10-31
Posts: 12 |
![]() |
gaynormcc wrote:
Sorry, I was wrong anyway. It only controls opacity for the microthumb. Ye neither can I I've upgraded to the latest Gallery2 (2.1.2) but this has made no difference... Not sure whether to try uninstall & then reinstall PGTheme or what next??? |
|
gaynormcc
![]()
Joined: 2003-09-05
Posts: 426 |
![]() |
As your Gallery works with the other themes, and we can;t see any way to make changes in the theme settings, it seems probably that it is something wrong with your copy of PG theme. Now that you have upgraded the Gallery itself, I would uninstall the PG theme, ditch the copy you have from your whole system, and download a new copy, appropriate to your gallery version. At least it is only a theme that you are ditching and re-acquiring. Gaynor |
|
sillypuppy
Joined: 2007-01-03
Posts: 9 |
![]() |
I would like to add an animated gif to my gallery's main page that displays below the navigation bar and above the selection of albums. I would like this image to only be displayed when viewing the main gallery page (read: the gallery homepage) and not to display when viewing an album or photo, really anything "below" the main gallery page. I've created the image, I just need to know where to put it. Either that, or a slideshow that only displays on the gallery main page...like this gallery does: http://www.rktekt.com/ck/gallery/main.php Danke ~ Puppy |
|
gaynormcc
![]()
Joined: 2003-09-05
Posts: 426 |
![]() |
This is perhaps out of my realm, but it looks to me as if that is in the Breadcrumbs. I don;t know if it is possible for that to be only in the main page. For things to be only in the main page, in PG theme, open the main page and click Options/Edit Album. In the third tab "Theme" scroll down below "Overall" to "Album". Look around in there. There are lots of settings we can change in various ways. My thinking is there might be something you can do in a template. [[This needs someone more expert than I to give you specific advice]] And make sure before you save the settings, that you do NOT click the box at the very bottom that copies the settings to all new inner albums. Actually if this is possible, it opens up even more versatility in this wonderful theme. Gaynor |
|
floridave
![]()
Joined: 2003-12-22
Posts: 27300 |
![]() |
sillypuppy wrote:
I would like to add an animated gif to my gallery's main page that displays below the navigation bar and above the selection of albums. I have not played with this theme much ( mostly because this thread is over 7 pages long ) Dave |
|
sillypuppy
Joined: 2007-01-03
Posts: 9 |
![]() |
I have an idea. What if I were to make my author welcome message the javascript slideshow and just have that display above the album selection. I just can't seem to figure out how to set the author area to appear where I want it (ie not to the left of the albums, but above it) ~ puppy |
|
floridave
![]()
Joined: 2003-12-22
Posts: 27300 |
![]() |
Quote:
I just can't seem to figure out how to set the author area to appear where I want it edit album.tpl <p class="author"> {g->theme include="author.tpl"} </p> move where you would like. |
|
sillypuppy
Joined: 2007-01-03
Posts: 9 |
![]() |
Beautiful, ty. Now, though, I am unable to insert the Ultimate Fade-in slideshow. I am receiving a Smarty error which I am not familiar with. I tested the script on a basic html page and it worked fine but when I added it to the author.tpl, I get the error: Fatal error: Smarty error: [in gallery:themes/PGtheme/templates/author.tpl line 26]: syntax error: unrecognized tag: this.pausecheck=pause this.mouseovercheck=0 this.delay=delay this.degree=10 //initial opacity degree (10%) this.curimageindex=0 this.nextimageindex=1 fadearray[fadearray.length]=this this.slideshowid=fadearray.length-1 this.canvasbase="canvas"+this.slideshowid this.curcanvas=this.canvasbase+"_0" if (typeof displayorder!="undefined") theimages.sort(function() {return 0.5 - Math.random(); (Smarty_Compiler.class.php, line 436) in /(address removed)/htdocs/gallery/lib/smarty/Smarty.class.php on line 1088 ~ puppy |
|
floridave
![]()
Joined: 2003-12-22
Posts: 27300 |
![]() |
http://smarty.php.net/manual/en/language.function.literal.php |
|
sillypuppy
Joined: 2007-01-03
Posts: 9 |
![]() |
Are you saying that I need to put my script between the {literal} {/literal} tags? I've got the errors to go away using the literal tags. However, I may be doing something wrong to actually display the script. I assume the script should be place in the <head></head> section and the other half in the <body></body> section which I added. I have no experience with templates so I am not sure if one can even do this. ~ puppy |
|
sillypuppy
Joined: 2007-01-03
Posts: 9 |
![]() |
I have the javascript that needs to go in the header in there and not causing errors. In the body, I can't get the script to run, though. It doesn't contain any {}s. <script type="text/javascript"> Does this section need literal tags? I can type "test" just above the script and see it, but the script doesn't come through at all. ~ puppy |
|
sillypuppy
Joined: 2007-01-03
Posts: 9 |
![]() |
Okay, I got it to work now. I was just placing the literal tags in the wrong place. Thanks so much. ~ puppy |
|
Dizz
Joined: 2006-10-31
Posts: 12 |
![]() |
gaynormcc wrote:
As your Gallery works with the other themes, and we can;t see any way to make changes in the theme settings, it seems probably that it is something wrong with your copy of PG theme. Only seeing this now, that's exactly what I did last night and it's working now, must have been missing a file or had a corrupt file... Thanks a million for your help & input Gaynor, was much appreciated ;) |
|
Dayo
Joined: 2005-11-04
Posts: 1642 |
![]() |
Dizz *******Edit******** |
|
Dayo
Joined: 2005-11-04
Posts: 1642 |
![]() |
eddiehorn wrote:
Does anyone know how to reduce the blank space between microthumbs? edit this line in navigatorThumbs.tpl
to "+ whatever you want". Of course you can also make the mouseover size the same as the regular thumb in theme admin. |
|
gaynormcc
![]()
Joined: 2003-09-05
Posts: 426 |
![]() |
Thanks Dayo, I changed to That works. Presumably I would edit the same tpl file at {if ($theme.params.MTposition == 'bottomF1R') || ($theme.params.MTposition == 'bottom1R')} and presumably I would change Would that work? and is it all I would need to do there? And how would I get the option to position them at the top to show in the settings page? Gaynor |
|
gaynormcc
![]()
Joined: 2003-09-05
Posts: 426 |
![]() |
After getting that to work, I noticed that it says not to edit the file, but to create and edit a copy in a new directory named 'local' I put the edited file into a new directory called 'local', then returned the original file to its original state. Where do I put the 'local' directory? and it doesn't work with any of these. Sorry for apparently being dumb today. Gaynor |
|
sillypuppy
Joined: 2007-01-03
Posts: 9 |
![]() |
I'm trying to change the background color of specific tables and am having a hell of a time. If I go into the color.css file in my theme, I can change the BG color of the entire page: I am able to change the BG color of the table in Theme.tpl so that it is different than the BG color of the rest of the page. However, I can't seem to change the BG color of the other items I want to which are the author table and table that the albums are contained in. I've tried editing album.tpl, putting bgcolor="#333333", in the table info but that seems to be overridden by the css. I *think* I removed all the style: PGbackground1 or whatever they were from album.tpl. I've heavily edited the album template to get my desired table configuration (ie the author table above the album table). Is there a place in the .css that allows me to change the BG color of the author and album blocks? ~ Puppy gallery.sillypuppy.net Basically what I am attempting to do is make a bg image for the bg of the entire page. Then, I want the header (shows the logo and navigation links), author (has the javascript image fader), and the album (below the author page and has all the different albums) to be the same solid color and to be different than the bg, like it's floating on the bg. Hope that helps. |
|
gaynormcc
![]()
Joined: 2003-09-05
Posts: 426 |
![]() |
Hi Puppy, I assume you are working in one of the PG colorpacks. The color.css is not a huge file. Play in there changing one colour at a time and see what each does. I am doing just that myself at present. Gaynor |
|
sillypuppy
Joined: 2007-01-03
Posts: 9 |
![]() |
I think what has happened is that I have removed the BG info from the tables in the album.tpl and when I change the bg of the whole page, it's not changing the color of the table's bg but the table has no bg color so the page bg is showing through. However, if I go through album.tpl and change the bgcolor for every table, it doesn't seem to change them. ~ P |
|
Dayo
Joined: 2005-11-04
Posts: 1642 |
![]() |
Hi Gaynor it should be PGtheme/templates/local Note that the Bottom1R thing is from the Theme Admin were you can change the setting to 1 row at the bottom of the page and editting it the way you have means you can't select this in future. Nothing critical as long as you know. . |
|
gaynormcc
![]()
Joined: 2003-09-05
Posts: 426 |
![]() |
Hmmmm I replaced his logo.gif and logoon.gif in the theme images directory. http://piopionz.com/gallery2/v/PGtests/NZmap1.jpg.html?g2_enterAlbum=0 You'll need to login with user gallery and pw team. Cos i do;t want Google to get hold of it. (drat! nothing is working for me today. I can't even get the font size smaller below) Gaynor [font size="-2"] |
|
Dayo
Joined: 2005-11-04
Posts: 1642 |
![]() |
Gaynor I see your logo when I go to that link. Your local machine has cached Pedros logo and is just loading it from the local memory. Browsers do this to speed things up. You will have to clear the browser cache to see it yourself. |
|
Dayo
Joined: 2005-11-04
Posts: 1642 |
![]() |
Gaynor Sorry I notice that you have your logo on the front page but Pedro's when I log in. Go into the relevant ColorPack and change the logos in there. |
|
brettm
Joined: 2007-01-04
Posts: 2 |
![]() |
Hi, does anyone know how to get the slideshow graphic to appear in the top bar in thumbnail view as in Pedros example here? http://www.pedrogilberto.net/pgtheme/PGtheme_screenshots/pgCh2.jpg I want people to be able to view a slideshow of that aubum without having first click an image which is when the slideshow image comes up... Cheers! Brett Gallery Version: 2.1.2 |
|
gaynormcc
![]()
Joined: 2003-09-05
Posts: 426 |
![]() |
YES!!!! - (Doing happy dance) Have a look now. Just have to ease the logo towards the right a bit now to line up with the left side of the background. And I am well on the way to making a frame to use with it. That logo frame just cries out to be used round the images. Thanks heaps for tugging me back to the right line of thought. Now if only I could get the microthumbs along the top I'll be really pleased with it. Gaynor |
|
Dayo
Joined: 2005-11-04
Posts: 1642 |
![]() |
Brett Gaynor Firstly though, you have to change the "bottomF1R" statements you changed in navThumbs back from to what they were before. . |
|
Dayo
Joined: 2005-11-04
Posts: 1642 |
![]() |
Gaynor If you really desperate for this, you need to look at {********** micro thumbs bottom**********} {if ($theme.params.showMicroThumbs)} {if ($theme.params.MTposition == 'bottom') || ($theme.params.MTposition == 'bottomF') || ($theme.params.MTposition == 'bottom1R') || ($theme.params.MTposition == 'bottomF1R')} <tr> {if ($theme.params.MTposition == 'bottom') || ($theme.params.MTposition == 'bottom1R')} <td> </td> {/if} <td style="text-align:center" valign="top" {if ($theme.params.MTposition == 'bottomF') || ($theme.params.MTposition == 'bottomF1R')}colspan="3"{/if}> <table align="center"> <tr> <td> {g->theme include="navigatorThumbs.tpl"} </td> </tr> </table> </td> {if ($theme.params.MTposition == 'bottom') || ($theme.params.MTposition == 'bottom1R')} <td> </td> {/if} </tr> {/if} {/if} and try to replicate it at the top of the table that this tpl file builds. You then delete the original section and then go into theme admin and select the option that says you want 1 row at the bottom. Basically what this section of code does is check if you selected that and builds the micro thumbs in the position where the code appears. You will have to be very motivated to want to mess with this and kudos to Pedro, he did a hell of a lot of work to give all these options. |
|
orbstein
Joined: 2006-12-06
Posts: 2 |
![]() |
Howdy, i believe in theme.tpl this is what's calling the navigation i just want to use an image for login,logout,site admin etc.. thanks so much |
|
gaynormcc
![]()
Joined: 2003-09-05
Posts: 426 |
![]() |
HI Dayo, but don;t know enough about it to know where to specify what 'top' means or go further with this. As to being "very motivated to want to mess with this" ... My problem is that when I start learning a technique, I tend to learn just what I need to know, and not learn the html/css/style etc properly. Gaynor |
|
Dayo
Joined: 2005-11-04
Posts: 1642 |
![]() |
Orbstein Gaynor Anyway, all the best! . |
|
brettm
Joined: 2007-01-04
Posts: 2 |
![]() |
Dayo wrote:
Brett Hi Dayo, thanks for your reply, that option is selected and my slideshow does work but the icon only appears when you are viewing an image and not on the thumbnail page which is where i want it also... ive been through every option but cant figure out why it doesnt show up on the thumbnail page... |
|
randomaccess
Joined: 2007-01-09
Posts: 6 |
![]() |
Hi all, |
|
randomaccess
Joined: 2007-01-09
Posts: 6 |
![]() |
Hi, |
|
Dayo
Joined: 2005-11-04
Posts: 1642 |
![]() |
randomaccess The fade in is not lightbox but another script. In any case, the problem you describe is browser specific. It does not work well on Mozilla based browsers such as FireFox and Netscape. So your choices are: 1) Fix it. Look in Theme.js for the code and share the results with the rest of us |
|
Dayo
Joined: 2005-11-04
Posts: 1642 |
![]() |
Brett It should come up if switched on in theme admin if you haven't changed anything in the tpl files . |
|
IanWorthington
Joined: 2007-01-12
Posts: 18 |
![]() |
I'm trying to figure out how to get the description text for a subalbum to appear alongside it's thumbnail on its parent page. I've selected "show descriptions to the right of thumbnail" but that doesn't seem to do anything. Is this possible? Also I've increased the size of the microthumbs (nice feature!), but would like to pack them a bit tighter together: there's rather a lot of wasted space between them. Can someone point me to the file I need to edit to achieve this? Thanks! ian |
|
gaynormcc
![]()
Joined: 2003-09-05
Posts: 426 |
![]() |
Ian you wrote:-I'm trying to figure out how to get the description text for a subalbum to appear alongside it's thumbnail on its parent page.< This does seem to be one of the few things we cannot set from the Edit pages of PGtheme. I have set up an example that way at http://piopionz.com/gallery2/v/PGtests/ThemeTesting/?g2_enterAlbum=1 You may have to login as user = gallery and password = team --------- Gaynor |
|
gaynormcc
![]()
Joined: 2003-09-05
Posts: 426 |
![]() |
Hi Ian. You wrote:- If this is what I had a problem with, the wasted space corresponds with the size of the Mouse-over thumb. If that is what you are asking, my solution is below. (I couldn;t find the other forum reply so checked the files I had changed.) see the result at Altering the spacing between thumbs In the template files for PG theme, copy navigatorThumbs.tpl into a new directory called "local" and edit that copy. Near the top there is a group of lines beginning with In that group find and replace it with Save this template in the local directory you have made. Gaynor |
|
Dayo
Joined: 2005-11-04
Posts: 1642 |
![]() |
Ian The answer to your query is on earlier on this page. Essentially what Gaynor wrote. However, note that her solution is applicable to her site and can give you not so good results if the difference between your normal and mouseover thumbsizes is large What the default line does is add 6 pixels to the mouseover thumbsize on each side so you a gap of ((Mouseover - Normal) + 6)* 2 pixels. The more general solution is to reduce the "+ 6" or remove it altogether. Having said that, Gaynor's approach will also work but if the difference btw normal and mouseover is greater than 12pixels, then when you put your mouse over the micro thumb, it will bump the surrounding thumbs. . |
|
IanWorthington
Joined: 2007-01-12
Posts: 18 |
![]() |
Thanks Gaynor/Dayo. 1. As per your advice I set the thumbsize by just removing the +6, viz: {assign var="tdThumbs" value=$thumbsSizeOver} I notice that even this gives a certain amount of "ripple" in the microthumbs, when I mouse over, which surprised me. Any thoughts on why? 2. I wasn't sure where to create the "local" directory with change. Under templates, along side, or somewhere else? 3. Thanks guys, ian |
|
IanWorthington
Joined: 2007-01-12
Posts: 18 |
![]() |
Hmmm. Looks like it does include the description, but instead sticks it in the longdesc attribute of the img tag. According to www.w3.org that's meant to be a uri to supplement the alt text.... <img src="/gallery/main.php?g2_view=core.DownloadItem&g2_itemId=370&g2_serialNumber=2" width=n, bu"200" height="133" id="IFid1" class="ImageFrame_none giThumbnail opacity10" name="pic368" alt="Sun 24 Dec 2006 10_35_40 30D 2286 ISO 800.jpg" longdesc="Test description"/> |
|
gaynormcc
![]()
Joined: 2003-09-05
Posts: 426 |
![]() |
Ian :- Sorry I gave the wrong link and yes, it is definitely Classic theme. Dayo:- I don;t see the bouncing of the others as a problem. However, I have seen another site (in another programme)where the microthumbs are at the top of the photo, and the mouseover brings up a midsize image over top of the original page... not changing the original row of microthumbs, and partially obscuring the main photo. I rather like that effect, but am not a programmer (yet... maybe sometime). Gaynor. |
|
IanWorthington
Joined: 2007-01-12
Posts: 18 |
![]() |
Hi Gaynor -- That links takes me back to your post?! ian |
|
soj
Joined: 2005-07-15
Posts: 9 |
![]() |
Customizing the (superb) PG Theme today to match up my site. I have ~10px extra space above the logo image(s) I need to remove. Have not found it in the css or theme.tpl. Any other ideas would be very welcome. TIA! www.stormeyes.org/fotos |
|
gaynormcc
![]()
Joined: 2003-09-05
Posts: 426 |
![]() |
Hi Ian, http://piopionz.com/gallery2/v/PGtests/ThemeTesting/?g2_enterAlbum=1 At time of clicking it now looks right Gaynor |
|
gaynormcc
![]()
Joined: 2003-09-05
Posts: 426 |
![]() |
Hi SOJ I would guess it is governed by the Footer settings. Gaynor |
|