Moving tabbed album display to top left of page insted of default bottom left? Moving tabbed album display to top left of page insted of default bottom left?
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

Moving tabbed album display to top left of page insted of default bottom left?

Started by dke, June 24, 2007, 02:38:43 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

dke

Hi,

I would like to move the tabbed display to the top left corner of the ablum view insted of the default bottom left corner. The reason is that users dont have to move their mouse if they want to browse easly... With default setting the bottom of the album change position depending on the picture sizes on that page.

Ive searched and found another thread with the same question but its old...

Picture explains exactly what i want to have done, if anyone could atleast guide me to where the code for positioning the "template_tab_display" is i could probably figure this out!

PICTURE -> http://dkeserver.mine.nu/stuff/tabbedalbumbrowsemove.jpg

Thanks alot for all your continuous help!


dke

Doh, just saw that i typed "Left" but ofcourse i ment right :) from right bottom corner to right upper corner... No one able to help me?

Thanks in advance!

Stramm

copy the function theme_display_thumbnails from themes/sample/theme.php to the theme.php you're actually using (except it's already there).

Now find
    if ($display_tabs) {
        $params = array('{THUMB_COLS}' => $thumbcols,
            '{TABS}' => $tabs_html
            );
        echo template_eval($tabs, $params);
    }


and move it some lines up right after
    echo $header;