Hi,
I've been searching for a newbie guide on using gallery2 but i can't find it. What i want to do is:
- creating a custom frontpage with no albums (just introduction words)
- creating some custom pages like "about", "FAQ", "Contact"
- adding more "block positions" on top and bottom of the page
Now, what plugins do i need to do that task? or if i need to edit some code, can you guys point me to the right directions?
Gallery version (not just "2"): 2.3
PHP version (e.g. 5.1.6): 5.2.5 apache2handler
PHPInfo Link (see FAQ): uhh it's local
Webserver (e.g. Apache 1.3.33): Apache/2.0.59 (Unix) PHP/5.2.5 DAV/2
Database (e.g. MySql 5.0.32): mysqli 5.0.41, lock.system=flock
Activated toolkits (e.g. NetPbm, GD): Gd, SquareThumb
Operating system (e.g. Linux): Mac
Browser (e.g. Firefox 2.0): Firefox 3.5
Posts: 32
Hello haryadimas,
-creating a custom frontpage with no albums (just introduction words)
maybe use a simple html or php page and link it to the gallery.
- creating some custom pages like "about", "FAQ", "Contact"
pretty much the same as above.
- adding more "block positions" on top and bottom of the page
search the forum for gallery imbedding and intergration.
http://codex.gallery2.org/Gallery2:How_Tos#Website_Integration
Hope this helps, maybe someone has some other ideas.
Posts: 16503
I agree with lodgey but there are some plugins to help:
Check out the user contributed plugin called HTML Block:
http://codex.gallery2.org/Gallery2:Modules:htmlblock
There may be some others too.
http://codex.gallery2.org/Gallery2:User_Contributions#Modules
http://codex.gallery2.org/Gallery2:Download#Modules
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here
Posts: 8
almost forgot that i post something here.
so here's my progress so far.
- i've managed to display the frontpage the way i wanted by editing the album.tpl (creating an if..else statement)
- i've managed add contact and about page using plugins (although they don't display exactly as i wanted)
now here's my question:
- since i deleted the part of code that displays album in my album.tpl (if displayed as frontpage) how do i create a link to go to album root?
i know i can add a hardcoded link, but that's not what i want.
dimas
Posts: 16503
You'd need to put that code back.
Short answer and I'll let you search the documentation for detail http://codex.gallery2.org
Create a new theme, copy it, change some settings in the theme and use that theme as your custom stuff for pages without album.tpl's code that's needed to generate the album code. There's documentation on how to create a theme by copying an existing one.
Or you could get more involved with page types, editing theme.tpl and possibly theme.inc.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here