no album index

arakasi

Joined: 2011-07-06
Posts: 2
Posted: Wed, 2011-07-06 16:04

Sorry, this must be super obvious, because I can't find anything like it anywhere on the forums.

I installed Gallery3 fine and the greydragon theme. Everything seems to work great except I can't figure out how to make the top level landing page

http://thornography.net/pictures

be anything but the first page of photos for the first album I uploaded.

I'd like users to land on that page and see a set of albums that they could then click through to in order to view the pictures contained in each. Not super complicated, but I can't make it happen.

Also when I try to add new albums, they all wind up being sub albums of, again, this first album I uploaded. How do I add new albums and how do I make the newly added albums appear as thumbs on a landing page?

Thanks.

 
tempg

Joined: 2005-12-17
Posts: 1633
Posted: Wed, 2011-07-06 17:28

The way Gallery works, everything is always in a parent album--we'll call that "album1."
To do what you're trying to do, add an album to the first page--we'll call that "album2." (It will show up as a sub-album of the first album.)
Move all of the photos you've already added to the new album2.
Then you can add other albums (album3, album4, album5, etc) to the first page--making the first page your landing page with a set of albums users can click through.

Basically, don't put any photos in the first album; just put other albums in the first album.
Hope that makes sense. Let me know if it doesn't.

 
arakasi

Joined: 2011-07-06
Posts: 2
Posted: Wed, 2011-07-06 18:05

That is exactly the kind of bird's eye view I was hoping someone could provide, thanks so much. I will post again after I have a chance to try it out!

UPDATE: OMG YAY! That all worked very easily. I am in your debt!

 
Schroeder

Joined: 2011-07-07
Posts: 7
Posted: Thu, 2011-07-07 19:14

I'd like to completely remove the 'birds eye view' of all albums and simply display one album on the homepage. Any ideas?

 
Schroeder

Joined: 2011-07-07
Posts: 7
Posted: Thu, 2011-07-07 19:18

any help would be very much appreciated!

 
tempg

Joined: 2005-12-17
Posts: 1633
Posted: Thu, 2011-07-07 19:34

@Schroeder: Just don't add any additional albums. If you only want one album, just add one album. If you don't want any albums, just add photos.

 
Schroeder

Joined: 2011-07-07
Posts: 7
Posted: Thu, 2011-07-07 19:40

I have one album called Portfolio... and another album called Shop... I know the better way is to simply make the portfolio able to sell items but my friend is going against my advise and wants a separate area just for his shop.

 
tempg

Joined: 2005-12-17
Posts: 1633
Posted: Thu, 2011-07-07 19:52

@Schroeder: I don't understand what the problem is and what you're trying to accomplish. If you need one album, create one; if you need two, create two.
Am I missing the objective?

 
Schroeder

Joined: 2011-07-07
Posts: 7
Posted: Thu, 2011-07-07 19:57

by default the home page displays ALL galleries. I'd rather put my own custom content on that page and remove the gallery listings. I will link to the products and store pages via the main navigation.

 
tempg

Joined: 2005-12-17
Posts: 1633
Posted: Thu, 2011-07-07 20:02

Options that quickly come to mind:
1) Add a static page that links to the gallery, meaning Gallery's actually in a sub-folder. (Or even have a static page and two separate Gallery installs, one for portfolio and another for shop.)
2) Edit the theme so that the homepage displays the custom content and no thumbs.

 
Schroeder

Joined: 2011-07-07
Posts: 7
Posted: Thu, 2011-07-07 20:09

yes, I'm trying to achieve option 2... edit theme so that the homepage doesn't display the custom content. I'm very familiar with PHP, javascript, css, html etc. I simply can't find where to edit :-(

 
tempg

Joined: 2005-12-17
Posts: 1633
Posted: Thu, 2011-07-07 20:20

page.html.php
You'll need a couple of if statements, if($item->id == 1){ HOMEPAGE CODE } ...

EDIT: At one point, I had to use if ($this->item()->id != 1), so if the first one doesn't work, try this instead. Also, you'll obviously need to wrap the non-homepage-only code in the subsequent else statement or in the opposite !=.

 
Schroeder

Joined: 2011-07-07
Posts: 7
Posted: Thu, 2011-07-07 20:22

ok, that make sense... however, I do not know javascript well enough to code from scratch... just reverse engineer. I'd assume I'd place the javascript directly where I'd want the content to show up?

 
tempg

Joined: 2005-12-17
Posts: 1633
Posted: Thu, 2011-07-07 20:26

You're not editing the js. This is all php. The changes would be made to page.html.php.
But, if you don't know js, does that mean that you don't know php? I assumed "I'm very familiar with..." meant that you knew both.
If you're not familiar with php, this might take you a while first time out of the gate, so have your patience handy.
And backup everything before getting started.

 
Schroeder

Joined: 2011-07-07
Posts: 7
Posted: Thu, 2011-07-07 20:33

I only know how to reverse engineer php as well... :-(