{Solved} Newb...Needing some help

Hearron

Joined: 2006-01-27
Posts: 13
Posted: Sat, 2006-01-28 08:43

Let me begin by say Thank You in advance, your boards have been a ton of help and G2 seem very user friendly, even for a newb like me. Let me give ya a heads up, I've been working with these php,tlp,html and css files for all of one day, so no matter how easy the answer is, explain it to me like a 10yr old..ROFL....if I'm in over my head let me know, but I don't give up and will get this stuff figured out. But onto the questions /grin.

First question, when i click on a picture in my album, it opens, but there is no link back to the album, before I changed the name from Gallery to what it is now, and took off the search box, both of these changes were made in site admin, I could have swore before I changed it, I could view a picture, and it would say Gallery - Name of Picture, with the word Gallery being a link, I'd like to have a link to album on each picutre page.

Second Question, When in slideshow, I'd like to get rid of the drop boxes or make it so that 5 secs is only option,640x640 is only option and random is only option. I already have it set up so that 5secs, 640x640 and blend are default, but they all still have drop boxes that I'm sick of look'n at.

Last question, gotta get to bed, been goin for 14hrs now, like I said your boards rock, 14hrs till my first post, not bad for a total newb. Anyhow, is there a way so that the slideshow is in the center of the page, my tends to be more left then center, is this cuase of my monitor/graphics settings or is this normal?

Thanks again everyone that reads this, I know its kinda long, any input or link to newb areas, would be the greatest

 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Sat, 2006-01-28 17:32

1) most themes like matrix show the "breadcrumb" along the top.. this has links to the parent and every ancestor album from your current location.. omitting any that are not accessible due to permissions.
2) search the forums and check the FAQ/How-To's on our documentation site for how to customize Slideshow.tpl
3) additional customization to Slideshow.tpl; yes, by default the pics are on the left.

 
Hearron

Joined: 2006-01-27
Posts: 13
Posted: Sun, 2006-01-29 12:16

OK..lets start with the breadcrumb, I've changed the name of the Gallery, thus could the Gallery new name with the title of picture name be too long, therefore not showing the album link? in the upper left hand side, I belive this is the breadcrumb, it says title, but now when you click a picture, where it said title it now says the title of the picture, before it would say Gallery - Title of Picture with the Gallery being a link to the front page of the album, but then I changed the title under Edit Album, I don't think I messed with breadcrumb tpl, but I may have, thus I'm attaching it so if you could look it over and see what is wrong would be so sweet.

Thank you again

 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Sun, 2006-01-29 16:26

did you put your customized version of BreadCrumb.tpl in a "local" subdirectory as described at the top of the file? then you have the original to compare against or restore...

 
Hearron

Joined: 2006-01-27
Posts: 13
Posted: Sun, 2006-01-29 22:15

I did not...after I customized it...I wasn't really pay'n attention, saved it and then uploaded it and well after I clicked yes would you like to over write it, I knew I messed up. OK...I think I found my problem hopefully, I think this is what I didhttp://http://codex.gallery2.org/index.php/Gallery2:How_Do_I_Remove_the_Root_Album_Link

When I compare the two, they both look the same to me. Not sure If ya had a chance to look at my breadcrumb, I attached it with my second post.

 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Mon, 2006-01-30 04:38

retrieve the original BreadCrumb.tpl and compare to see why you don't have the breadcrumb for parent album(s)

 
Hearron

Joined: 2006-01-27
Posts: 13
Posted: Mon, 2006-01-30 04:49

how do i go about retrieving the original is there a copy hiding somewhere? Remind you I'm complete newb to all aspects...but have read enuff boards in the last 2 days its starting to make sence

 
Hearron

Joined: 2006-01-27
Posts: 13
Posted: Mon, 2006-01-30 07:18

OK...I think I found a new copy of breadcrumb.tpl, and when I set it in local no change, but when I go into the themes/matrix/templates/local and looked at the source of theme.tpl, I noticed this {g->block type="core.BreadCrumb"}, well if I change it to {g->theme include="BreadCrumb.tpl"} I still don't get the links, and I get a bunch of errors

* in modules/core/classes/GallerySmarty.class at line 108 (gallerystatus::error)
* in lib/smarty/Smarty.class.php at line 1584 (gallerysmarty::trigger_error)
* in lib/smarty/Smarty.class.php at line 1410 (gallerysmarty::_fetch_resource_info)
* in lib/smarty/Smarty.class.php at line 1859 (gallerysmarty::_compile_resource)
* in modules/core/classes/GalleryTemplateAdapter.class at line 638 (gallerysmarty::_smarty_include)
* in 1b3cc37239/g2data/smarty/templates_c/%%2825505571/%%3A^3A8^3A818B59%%theme.tpl.php at line 41 (gallerytemplateadapter::theme)
* in lib/smarty/Smarty.class.php at line 1251
* in modules/core/classes/GallerySmarty.class at line 90 (smarty::fetch)
* in modules/core/classes/GalleryTemplate.class at line 228 (gallerysmarty::fetch)
* in main.php at line 318 (gallerytemplate::display)
* in main.php at line 87
* in main.php at line 80

all I want, is when someone clicks on a photo, that they can redirect themselves back to the album(or root, I only have one album). Right now the only way they can get back to the main page is by using the back arrow in their browser.

 
Hearron

Joined: 2006-01-27
Posts: 13
Posted: Mon, 2006-01-30 08:11

WOOHOO...Finally got it...Thank you very much Mindless for your efforts.

 
jwhite

Joined: 2006-08-20
Posts: 7
Posted: Sun, 2006-08-20 23:01

Yeah, those errors were quite nasty. I finally solved mine as well.