Jump to content


Creating sub galleries


  • This topic is locked This topic is locked
3 replies to this topic

#1 Wiper2007

    Etomite Forum Fan

  • Member
  • Pip
  • 76 posts

Posted 31 March 2007 - 06:21 AM

Hi

totally etomite and PHP newbie here...

the 3 snippets fra Etogal are installed...

Followed/copied the pages setup from sandra http://www.etomite.com/index.php?showtopic=5949 which made my etogal to function - and I manage to upload 5 pictures. (smooth...)

As sandra I'm having a login page (id 65) and a gallery admin page (id 62)

But I'm not sure how do I use Etogal when I want to make sub galleries as seen on mikef site.. http://www.efikim.co.uk/etogal/Gal.html

I need a "master" page that displays tumbnails from each sub gallery and the admin should work so I upload pictures in a specific sub gallery...

Can someone assist or are there a step by step guide...?

thanks in advance

#2 mikef

    Loves Etomite Forums!

  • Member
  • PipPipPipPip
  • 1,551 posts

Posted 31 March 2007 - 09:52 AM

Etogal does not directly support sub-galleries, only galleries.

Galleries are identified (internally) by the page that they are created on - that is the page that the etogal snippet that creates them is on, so you need one page for each gallery. These can be in the repository, or in the main menu structure depending on what you need. (Originally, the etogal snippet was the only snippet used, and managed a single gallery, as this was what the original author (hugelmopf) needed. Some extensions to display options were added and made the code increasingly difficult to follow. I needed some major changes to how display was handled, so wrote supporting snippets that only handled display (and eventually added the 'display=none' option so the etogal snippet could be placed on the same page as one of the other display snippets, and act purely as an admin tool).

So, if you want lots of galleries, you need lots of pages, each holding the etogal snippet for management of that gallery. (see A brief introduction to the Etogal suite)


For displaying thumbnails you use the EtoGalThumb snippet (look at its page EGThumb on the test site). This has a multitude of uses, some of which are covered on that site. It is very flexible, though not necessarily immediately easy to use, but hopefully the examples on the test site and in the code give examples of the most likely uses.

EtoGalGallery is used for displaying a gallery.

I hope that helps explain things a bit ...

#3 Wiper2007

    Etomite Forum Fan

  • Member
  • Pip
  • 76 posts

Posted 31 March 2007 - 07:17 PM

tried it - and giving up on this Etogal gallery.... installed the Easy Peasy 2 galleri instead - it works great and are easier to install/maintain !

Edited by Wiper2007, 31 March 2007 - 08:30 PM.


#4 mikef

    Loves Etomite Forums!

  • Member
  • PipPipPipPip
  • 1,551 posts

Posted 04 April 2007 - 10:54 AM

View PostWiper2007, on Mar 31 2007, 08:17 PM, said:

tried it - and giving up on this Etogal gallery.... installed the Easy Peasy 2 galleri instead - it works great and are easier to install/maintain !
Glad to see you've found something that works how you want! There are usually several ways of doing things with etomite.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users