Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: [SOLVED] Moving previous/next to another part of template  (Read 3420 times)

0 Members and 1 Guest are viewing this topic.

Lombi

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 25
  • Never lick a gift horse in the mouth.
    • Surreal Art Prints
[SOLVED] Moving previous/next to another part of template
« on: September 30, 2005, 05:29:41 am »

hey everyone. I'm having some troubles moving the previous & next buttons to another location in the template but I'm a bit weirded out on the part of actually making the feature work in another part of the template. Here's a little demo of what I have now:

http://www.dfoto.si/pickaboo-a143.html
http://www.lombergar.com/portfolio/still-life-with-crow-duplication-a308.html

In the template.php file I'm currently having the next/fwd links in $template_img_navbar but the image is located in $template_display_picture. I need to move the buttons somehow below the image so the logical thing would be to move the entire piece of code there and copy the piece of code in functions.php from on the other but it doesn't seem to work.

Does anyone know how one would go about this to solve the problem? Thanks.
« Last Edit: September 30, 2005, 08:38:06 am by GauGau »
Logged
While you are looking at some surreal art prints or just some surrealistic art you might get yourself some windows xp boot screens.

artistsinhawaii

  • VIP
  • Coppermine addict
  • ***
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 856
    • evj art and photography
Re: Moving previous/next to another part of template
« Reply #1 on: September 30, 2005, 05:43:48 am »

Lombi,

In your theme.php file

search for :

function theme_display_image($nav_menu, $picture, $votes, $pic_info, $comments, $film_strip)

Right below it.. change:

Quote
    global $HTTP_COOKIE_VARS, $CONFIG;

    starttable();
    echo $nav_menu;
    endtable();

    starttable();
    echo $picture;
    endtable();
    if ($CONFIG['display_film_strip'] == 1) {
        echo $film_strip;
    }

to

Quote
    global $HTTP_COOKIE_VARS, $CONFIG;

    starttable();
    echo $picture;
    endtable();

    starttable();
    echo $nav_menu;
    endtable();
    if ($CONFIG['display_film_strip'] == 1) {
        echo $film_strip;
    }


Dennis
Logged
Learn and live ... In January of 2011, after a botched stent attempt, the doctors told me I needed a multiple bypass surgery or I could die.  I told them I needed new doctors.

Lombi

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 25
  • Never lick a gift horse in the mouth.
    • Surreal Art Prints
Re: Moving previous/next to another part of template
« Reply #2 on: September 30, 2005, 06:01:04 am »

Wow, great. Thanks very much.
Logged
While you are looking at some surreal art prints or just some surrealistic art you might get yourself some windows xp boot screens.
Pages: [1]   Go Up
 

Page created in 0.026 seconds with 20 queries.