PLEASE HELP ME

steveguberman

Joined: 2005-11-09
Posts: 19
Posted: Fri, 2005-11-18 04:33

I need help getting this gallery setup. I finally got the gallery embedded in my sites design:
http://www.jimdowneyglass.com/gallery.php
I expected that the entire gallery would stay on that frame work, it doesnt and I can't figure out why.
I also can't seem to find out where to edit what data actually appears on the albulm and image pages... like I don't wnat the Gallery logo or other info.

PLEASE PLEASE HELP ME... I've tried everthing.

thanks,
Steve


Gallery version = 2.0.1 core 1.0.0.1
PHP version = 5.0.4 cgi-fcgi
Webserver = Apache/1.3.33 (Unix) DAV/1.0.3 mod_fastcgi/2.4.2 mod_gzip/1.3.26.1a PHP/4.3.10 mod_ssl/2.8.22 OpenSSL/0.9.7e
Database = mysql 4.1.14-Debian_5-log
Toolkits = ImageMagick, NetPBM, Gd
Operating system = Linux rodeo 2.4.29-grsec+w+fhs6b+gr0501+nfs+a32+++p4+sata+c4+gr2b-v6.189 #1 SMP Mon Feb 7 13:23:30 PST 2005 i686
Browser = Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7.10) Gecko/20050716 Firefox/1.0.6

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Fri, 2005-11-18 04:47
 
steveguberman

Joined: 2005-11-09
Posts: 19
Posted: Fri, 2005-11-18 06:00

OK, now we are getting somewhere... thanks Valiant.

http://www.jimdowneyglass.com/photos/ holds it all right there...

can you now tell me what else I have to edit to get rid of all the extra crap ?

thansk.

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16503
Posted: Fri, 2005-11-18 06:46

[moved to Customization]

What extra "crap"? You need to be specific. Generic questions get generic answers. Maybe a screenshot highlighting the areas you want to change.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
steveguberman

Joined: 2005-11-09
Posts: 19
Posted: Fri, 2005-11-18 13:50

Hey... sorry you're right. Here's some images with things outlined... it seems like there are duplication appearances of the titling of images and breadcrumbs. If you could tell me how I can clean this up so it's basically just showing the bare minimum of info to keep the site clean that would be a graet help.
Ideally, on each page I'd like the <h1> to be the breadcrumb to be consistent with the site design, whereas all h1's are the blue background area at the top of the right column. Then directly under that I'd love the 'next | previous' navigation. Then the images or albums, and that's all.
Thanks soooo much for any help.
Steve

AttachmentSize
gallery_d.gif185.2 KB
gallery_c.gif103.47 KB
gallery_b.gif126.79 KB
gallery_a.gif108.72 KB
 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16503
Posted: Fri, 2005-11-18 14:47

First let's get your theme's CSS working ;)

In your local theme.tpl change this line:
<link rel="stylesheet" type="text/css" href="../%7Bg-%3Etheme%20url="theme.css"}"/>

to this
<link rel="stylesheet" type="text/css" href="{g->theme url="theme.css"}"/>

As for removing most of that info. Edit album.tpl and photo.tpl, first copy them to your local directory. Before I type out a lot of detailed instructions. Give this thread a shot as it could be very helpful in answering most of your questions: http://gallery.menalto.com/node/39107

____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
steveguberman

Joined: 2005-11-09
Posts: 19
Posted: Fri, 2005-11-18 15:17

thanks nivekiam, I'll dig through that thread and play with it tonight and over the weekend... I'll post my progress or frustrations as I go.
Thanks!

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16503
Posted: Fri, 2005-11-18 20:18

No problem. If you have any questions just ask.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
steveguberman

Joined: 2005-11-09
Posts: 19
Posted: Tue, 2005-11-22 03:43

Man oh man, it's like two steps fowrward and three steps back.
I'm getting closer on one page and other sections fall apart.
http://www.jimdowneyglass.com/photos/main.php looks a lot better but I still need to get some of the extra information off of there, the problem is when you click on the image yfor the album you get an error sayging: The requested URL /{g->url arg1= was not found on this server.
I think I'm going to have to pay for support at this point, I'm just out of time on this one.
thanks.

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16503
Posted: Tue, 2005-11-22 07:06

Looks like a simple typo somewhere. What files did you edit? I can only find you have edited theme.tpl

Curious, why did you remove the code for displaying the admin, module and progressbar pagetypes?

      {elseif $theme.pageType == 'admin'}
        {g->theme include="admin.tpl"}
      {elseif $theme.pageType == 'module'}
        {g->theme include="module.tpl"}
      {elseif $theme.pageType == 'progressbar'}
        {g->theme include="progressbar.tpl"}

That should cause your problem though.

Do you have the URL Rewrite module installed? Can you enable buffered debug mode? FAQ: How to set/use Gallery in debug mode?

____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
steveguberman

Joined: 2005-11-09
Posts: 19
Posted: Thu, 2005-11-24 02:01

Hey nivekiam,
I've been able to get a lot of things straight and now am just left with some CSS tweaks that I can handle. I wonder if you know how I can get the admin apges to appear as they come out of the box. Somewhere in the modification of the theme ththere is now noplace on the admin section to add, delete, modify albums or pictures. I thought the best thing might to just have it so that when I or the other admin login they are taken to the default theme for admin purposes only.
any other ideas are appreciated.
thansk,
Sgteve

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16503
Posted: Thu, 2005-11-24 15:49

Hmm, I don't know why those wouldn't be there. I see you've added those pagetypes back into theme.tpl. Can you access the Site Admin page at all if you log in as Admin?

If so, go to Site Admin > Maintenance > Delete Template Cache

If not, go to yourG2URL/lib/support/ login with the password stored in config.php (it may be the same as your admin password, if you haven't changed your admin password) then clear you cache from there.

Does that help? If not, can you write me a message with a username and password to your G2? Make sure that user is in the Admin group for the site so I can be sure to see exactly what's going on.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
steveguberman

Joined: 2005-11-09
Posts: 19
Posted: Fri, 2005-11-25 18:05

Hey Nivekiam,
I'm able to access both theose pages but still am not able to see where I am supposed to be able to modify the albums or pictures in the albiums.
The screen shot attached shows what I am able to see when I login.
Any idea on how to make it so when someone logs in they get the default style?
thanks again for your continued support.
Steve

AttachmentSize
Picture 1.png85.56 KB
 
steveguberman

Joined: 2005-11-09
Posts: 19
Posted: Fri, 2005-11-25 18:33

I'M SUCH AN IDIOT!
The whole time I was looking in the wrong place. I wasn't thinking that since I'm logged in and looking at the album as an admin, the dropdown menu for each album was the answer! Duh! So now that that's straight and I've taken my head out of my arsch... I have one last questions... Is there a way that when I'm logged in and in the admin area, the sidebar can be in my site's actual sidebar (the left side of the screen that is dark grey, under the main nav)? That way the site will remain the same size all the time and not bump out to the right an extra 200 pixels.
Thanks again, I really apreciate your help and patience!
Steve

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16503
Posted: Fri, 2005-11-25 19:40

As for removing the sidebar from "admin" type pages, I don't know of a "smooth" way to do that:
http://gallery.menalto.com/node/40403

Like I said in my post in that topic, you may want to look at the PG Theme where the options sidebar was turned into a section of the page that can be hidden with CSS. This way the person who's going to be adding photos to the gallery most of the time can have easy access to the tools G2 provides without having to know a specific URL. One thing I noticed was if I logged in, I couldn't make a new album at the root of the gallery without editing an existing album, adding a new sub-album, then probably moving that album to the root.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
steveguberman

Joined: 2005-11-09
Posts: 19
Posted: Sat, 2005-11-26 01:28

No worries, thanks though. That's actually how I'm adding new albums, making them child albums first then moving them. Seems to work well. I think tomorrow I'll try putting the sidebar in the sites actual sidebar and seeing if that doesn't cause major havoc.
thanks,
Steve