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:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

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;