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: Right sided menu  (Read 7059 times)

0 Members and 1 Guest are viewing this topic.

jacques_brelle

  • Coppermine newbie
  • Offline Offline
  • Posts: 19
Right sided menu
« on: November 10, 2003, 05:52:04 pm »

Hi
I'm trying for hours to put the $template_img_navbar (the nav menu) on the right side of a full displayed image.
I've read the faq (dealing with header and footer) and the messages on the board but it doesn't work for what I'm trying to do (I guess...).
All I was able to do is to obtain a nav menu which does'nt work under the displayed image.
 :?

It drives me mad...
 :mrgreen:
so I'm really sorry to post again about this subject, but if you have any idea...
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Right sided menu
« Reply #1 on: November 10, 2003, 06:01:44 pm »

Logged

jacques_brelle

  • Coppermine newbie
  • Offline Offline
  • Posts: 19
Right sided menu
« Reply #2 on: November 10, 2003, 09:41:48 pm »

ok Gaugau,
thx for your reply.
I did it again...
and
1.
{MAIN_MENU1}
{MAIN_MENU2}
{ADMIN_MENU}
appear "in clear without working" (hope a guy on earth understand what I mean...)
2. a part of the html template has disappeared
3. the nav bar is still under the displayed image
Did I miss something ?
Am I supposed to do something particular after having done what's written in the FAQ ?
 :|
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Right sided menu
« Reply #3 on: November 10, 2003, 10:19:02 pm »

well, your menu is not on the right side of the gallery block, so the changes mentioned in the faq section don't apply. What's the name of your theme folder so I can take a look at the template? Maybe you can save your theme.php as theme.txt as well, so I could have a look at it as well?

Thanks

GauGau
Logged

jacques_brelle

  • Coppermine newbie
  • Offline Offline
  • Posts: 19
Right sided menu
« Reply #4 on: November 11, 2003, 01:22:11 pm »

Thanks for your time, Gaugau.
Logged

moorey

  • VIP
  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 404
Right sided menu
« Reply #5 on: November 12, 2003, 02:15:13 am »

According to this thread, you may need to edit theme.php

Sorry - never have tried  :roll:
Logged

jacques_brelle

  • Coppermine newbie
  • Offline Offline
  • Posts: 19
Right sided menu
« Reply #6 on: November 12, 2003, 11:24:32 am »

I've already done it...
All I was able to get is a nav menu UNDER the displayed image which doesn't work (I know, I'm a fucking genius...).
 :mrgreen:
Am I the only one who'd like to get a right sided nav menu (only when the image is full displayed) ?
Logged

moorey

  • VIP
  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 404
Right sided menu
« Reply #7 on: November 12, 2003, 01:59:18 pm »

Ok you made me curious and I took about 10 mins timeout to figure this one out for ya. Here's a couple of screen shots with Dreamweaver to show you the table cells to help you out. I just modified template.html and that was it. Other templates *may* be different. Hope this helps.

(http://www.moorey.org/misc/right_side1.jpg)
(http://www.moorey.org/misc/right_side2.jpg)
Logged

moorey

  • VIP
  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 404
Right sided menu
« Reply #8 on: November 12, 2003, 02:30:41 pm »

BTW, if you're curious (or as you probably already know), the above method just "tricks" the default theme.php into evaluating {MAIN_MENU} as per the variables order set in there. The table cells are evaluated from left to right, top to down manner just as any standard HTML.
Logged

jacques_brelle

  • Coppermine newbie
  • Offline Offline
  • Posts: 19
Right sided menu
« Reply #9 on: November 12, 2003, 02:32:27 pm »

Hum...
thank you Moorey... BUT  :mrgreen:
What I'm trying to do is ONLY to get the two arrows (prev and next) on the right side of the image when the "normal size" is displayed (just like in your screenshot 2)...
Excuse my english, I didn't realise that it wasn't clear at all...
 :oops:
Do you see what I mean ?
Logged

moorey

  • VIP
  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 404
Right sided menu
« Reply #10 on: November 12, 2003, 03:14:31 pm »

Ooops!
Okay.. looks like you do have to mess with theme.php  :P
Logged

jacques_brelle

  • Coppermine newbie
  • Offline Offline
  • Posts: 19
Right sided menu
« Reply #11 on: November 12, 2003, 04:14:47 pm »

You got it !
 :D
I tried hard without any good result...
(which is really unbelievable...  :lol:)
I hope it won't be so tricky next saturday in Sydney...
 :?
So, if anyone has a magic trick for this exciting right-sided nav-bar...
Logged

eolica

  • Translator
  • Coppermine frequent poster
  • **
  • Offline Offline
  • Gender: Male
  • Posts: 100
    • http://www.ilvaldinoto.net
Right sided menu
« Reply #12 on: November 12, 2003, 04:51:32 pm »

I think you have to go to the section of theme.php that says:

Code: [Select]
function theme_display_image($picture, $nav_menu, $pic_info, $film_strip)

(in your theme.txt is at line 1428) and change the way and order of display of $picture and $nav_menu (probably including them in two different <td>'s

I hope it will help!
Logged
Sesto Avolio

jacques_brelle

  • Coppermine newbie
  • Offline Offline
  • Posts: 19
Right sided menu
« Reply #13 on: November 13, 2003, 02:55:42 pm »

Grazzie mille, Eolica !
I'm working on it (without good results til now... this is a nightmare for me  :mrgreen: )...
Work in progress !
Logged
Pages: [1]   Go Up
 

Page created in 0.024 seconds with 18 queries.