1. if you use the matrix (default) theme, create a subdirectory in layouts/matrix/templates/ layouts/matrix/templates/local/
2. copy albumBody.tpl into this subdirectory.
3. edit layouts/matrix/templates/local/albumBody.tpl
a few lines above, right after <td class="{if $child.canContainChildren}giAlbumCell gcBackground1{else}giItemCell{/if}">you can switch the order of the title block and the itemLinks (foreach...) block to move the title above the options drop down list. etc.
IMO it doesn't look good the way you want it... however, you can adjust the look and the details, you can use ordinary html in this .tpl files and you can also edit the css files.
valiant
Joined: 2003-01-04
Posts: 32509
Posted: Sat, 2005-03-26 14:57
and if you want to go back to the default look. delete your local directory.
G2 doesn't parse the .tpl files on each request, it does cache "compiled templates". that's why you have to go to yourgallery2url/lib/tools/test/ and hit the link "FlushTemplates" too.
FlyFort
Joined: 2004-11-07
Posts: 145
Posted: Sat, 2005-03-26 15:58
valiant wrote:
a few lines above, right after <td class="{if $child.canContainChildren}giAlbumCell gcBackground1{else}giItemCell{/if}">
i assumed you were running the latest G2 cvs version. The css / User Interface of G2 changed since G2 beta 1.
If you're not already running the latest version, get update your cvs version or get the current nightly snapshot from http://galleryupdates.jpmullan.com and upgrade your G2. You'll have to reapply your local changes again. It's safer to copy again the original tpl / css files and apply the changes again, there were too many changes.
And if you're running the latest version, then you're probably not looking in the right file, i guess. layouts/matrix/templates/albumBody.tpl.
FlyFort
Joined: 2004-11-07
Posts: 145
Posted: Sat, 2005-03-26 22:45
Got the latest version on my site as you told me, found the missing piece, but still doesn't work :cry:
Posts: 32509
1. if you use the matrix (default) theme, create a subdirectory in layouts/matrix/templates/ layouts/matrix/templates/local/
2. copy albumBody.tpl into this subdirectory.
3. edit layouts/matrix/templates/local/albumBody.tpl
you can move the code block
a few lines above, right after
<td class="{if $child.canContainChildren}giAlbumCell gcBackground1{else}giItemCell{/if}">
you can switch the order of the title block and the itemLinks (foreach...) block to move the title above the options drop down list. etc.IMO it doesn't look good the way you want it... however, you can adjust the look and the details, you can use ordinary html in this .tpl files and you can also edit the css files.
Posts: 32509
and if you want to go back to the default look. delete your local directory.
G2 doesn't parse the .tpl files on each request, it does cache "compiled templates". that's why you have to go to yourgallery2url/lib/tools/test/ and hit the link "FlushTemplates" too.
Posts: 145
The only thing I found on that page is this
Can't find anything else, so it doesn't work for the moment.
This adjustment, is that only for the albums and pics after the main page, or is the mainpage involved in this procress too???
Here is a direct link to my G2 http://www.militaryaircraftcollection.info/Dbase3/gallery2/main.php
Posts: 32509
i assumed you were running the latest G2 cvs version. The css / User Interface of G2 changed since G2 beta 1.
If you're not already running the latest version, get update your cvs version or get the current nightly snapshot from http://galleryupdates.jpmullan.com and upgrade your G2. You'll have to reapply your local changes again. It's safer to copy again the original tpl / css files and apply the changes again, there were too many changes.
And if you're running the latest version, then you're probably not looking in the right file, i guess. layouts/matrix/templates/albumBody.tpl.
Posts: 145
Got the latest version on my site as you told me, found the missing piece, but still doesn't work :cry:
But I found something more on that line
I tried also every possible solution for it, but still doesn't work
:cry:
Did I do something wrong or did I forgot something???[/code]
Posts: 32509
that's perfect. that's the "line" or "double line" you're looking for. move the title block etc. right after this double line.
Posts: 145
Thx it works fine rigth now,
But now having problems with the left side, but therefor I joined another topic http://gallery.menalto.com/index.php?name=PNphpBB2&file=viewtopic&t=23915
Thanks for the help