getting started on the layout
Sjoukito
Joined: 2009-01-02
Posts: 13 |
![]() |
Hey guys I just installed a patched version of gallery 2.1 (its the only one that my host provider supports) and I'm trying to get things to work. I found this Website http://www.explorer-photo.com/photos/main.php?g2_itemId=6942 (I don't like the main page itself though) and I really like the layout. now my question: thanks in advance, |
|
floridave
![]()
Joined: 2003-12-22
Posts: 27300 |
![]() |
They are using the carbon theme, with a customizes header. Dave |
|
Sjoukito
Joined: 2009-01-02
Posts: 13 |
![]() |
Thanks The carbon theme looks great. how does anyone know how to make something like they use here ( http://www.explorer-photo.com/photos/main.php?g2_itemId=6942 ) with the images next to there logo that (apparently) are randomly chosen and once you click on them open a album? also I wonder how they make the menu on the right of the image (its like a list with all albums and sub albums. thanks in advance, |
|
floridave
![]()
Joined: 2003-12-22
Posts: 27300 |
![]() |
@images beside logo: @menu: add the block ( album select block ) to that location. edit album, theme tab: blocks to show... Dave _____________________________________________ |
|
Sjoukito
Joined: 2009-01-02
Posts: 13 |
![]() |
Hmmm I'm not sure what you mean with this: Quote:
then once that is done add a table or div next to your image in theme.tpl and add the blocks in each cell: I use the carbon thema and for the most it works ok for me. Anyway thanks, |
|
floridave
![]()
Joined: 2003-12-22
Posts: 27300 |
![]() |
First edit the theme.tpl file to add a table. Dave _____________________________________________ |
|
Sjoukito
Joined: 2009-01-02
Posts: 13 |
![]() |
Ok thats done. you can see what i did at http://www.sjoukito.com/album/main.php?g2_itemId=222&g2_navId=xed0f0f95 Thanks for your help Ps: I know basic HTML, CSS &PHP |
|
floridave
![]()
Joined: 2003-12-22
Posts: 27300 |
![]() |
Now replace Dave _____________________________________________ |
|
floridave
![]()
Joined: 2003-12-22
Posts: 27300 |
![]() |
Or better yet: Dave |
|
Sjoukito
Joined: 2009-01-02
Posts: 13 |
![]() |
Ok that looks easy enough But whats the difference between the code: {g->block type="imageblock.ImageBlock" blocks="randomImage" maxSize=100 showDate=0 showOwner=0 showViews=0 showTitle=0 showHeading=0 useDefaults=0} and the mediabox from http://www.flashyourweb.com/staticpages/index.php?page=mediaBlock ? John |
|
Sjoukito
Joined: 2009-01-02
Posts: 13 |
![]() |
If I try the script: I get this error Sorry to border you so much John |
|
floridave
![]()
Joined: 2003-12-22
Posts: 27300 |
![]() |
@fatal error: It works for me: Dave _____________________________________________ |
|
Sjoukito
Joined: 2009-01-02
Posts: 13 |
![]() |
After several hours I got the first one working but as I would like to see the difference between the 2 posibilitys I also tried the second (the mediablock) one but I cant get it to work , does gallery when I use PHP include e.g. <?php include('../../../mediaBlock.php')?> ? Thank you |
|
floridave
![]()
Joined: 2003-12-22
Posts: 27300 |
![]() |
Quote:
does gallery when I use PHP include e.g. <?php include('../../../mediaBlock.php')?> ? not if you are in a template file. The directions are quite clear: {php} @readfile('http://www.flashyourweb.com/gallery2/mediaBlock.php?g2_itemId=32&mode=dynamic&g2_view=dynamicalbum.RandomAlbum&limit=11&useThumb=1&column=4&rss=1'); {/php} Dave _____________________________________________ |
|
Sjoukito
Joined: 2009-01-02
Posts: 13 |
![]() |
Thank you Dave For now I will use the first option. And how can I create the menu I mentioned in one of the first post that looks something like this (each of those names directing the visitor to the corresponding album)? -China Thanks |
|
floridave
![]()
Joined: 2003-12-22
Posts: 27300 |
![]() |
@ menu: Use the album select DHTML block. Dave |
|
Sjoukito
Joined: 2009-01-02
Posts: 13 |
![]() |
Could you explain this a bit more? I really feel like I'm asking silly questions but for some reason I seem to be unable to figure out how Gallerry2 has been setup. Thanks |
|
Sjoukito
Joined: 2009-01-02
Posts: 13 |
![]() |
Could you explain this a bit more? I really feel like I'm asking silly questions but for some reason I seem to be unable to figure out how Gallerry2 has been setup. Thanks |
|
floridave
![]()
Joined: 2003-12-22
Posts: 27300 |
![]() |
Make sure you have the album select module installed. Dave |
|
Sjoukito
Joined: 2009-01-02
Posts: 13 |
![]() |
Hey Dave Thanks This works perfect I have 2 small question: Or even better could we set a fixed with and hieght for them, so that would be omething like this I guess: 2) could I give these random previeuw images (and only these images)a white border like one could normaly do with css with the code Border: 3px solid #ffffff;? John |
|
floridave
![]()
Joined: 2003-12-22
Posts: 27300 |
![]() |
@2 small questions: please start a new thread with the method you are using and a url. Dave |
|