Hi,
I'm trying to re-arrange the sidebar slightly - trying to move the exif block under the info block.
I'm not completely useless, but I can't figure out where the code is that dertermines the block order. I've found how to move a block from top, or bottom sections of the sidebar - so I can move it up, just can figure out how to place it in the specific order that I want.
Could anyone point me in the right direction?
Many thanks,
Emmet Moore
Posts: 16504
Take a look at the page's source. You'll see that the blocks are named divs, like gTag or gRss
So you should be able to position them how you like with CSS. Also, there is a really cool UI being worked on to manage blocks and their positions so that will help. But I just dug around in the code and I'm not sure exactly but it might look like you'd need to dig around in /gallery3/modules/gallery/libraries/Theme_View.php
I think looking at how stuff is structured, the preferred way is probably going to be with CSS.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here
Posts: 11
hmmm..turns out I might be useless, after all!!
Couldn't manage to arrange the divs using CSS.
As a last resort I placed the code for the exif block into the the bottom of the info block. It achieves what I wanted, just not in the most efficient way...
Thanks nivekiam, for the assistance, appreciate your time.
Posts: 7994
We'll be makinga UI for this soon: http://sourceforge.net/apps/trac/gallery/ticket/451
---
Problems? Check gallery3/var/logs
bugs/feature req's | upgrade to the latest code | use git | help! vote!
Posts: 11
Thanks for the heads-up bharat!
I'll be keeping an eye out for it!!