Advanced search  

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]

Pages: [1]   Go Down

Author Topic: Custom menu link in new window with custom size  (Read 3872 times)

0 Members and 1 Guest are viewing this topic.

andi_k

  • Coppermine newbie
  • Offline Offline
  • Posts: 19
Custom menu link in new window with custom size
« on: August 11, 2006, 09:55:56 am »

Hi
I already managed to open my custom link in a new window.
But now I want to turn this window into a popup with a specified size, no toolbars...etc. As less browser functions as possible.
Any help?

Thx
Logged

Gizmo

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 1015
    • BullsEye Photos
Re: Custom menu link in new window with custom size
« Reply #1 on: August 11, 2006, 12:34:28 pm »

Logged
Did you read the manual first???? Taking 2 minutes to backup your files can save you hours of wondering what you screwed up.
Billy Bullock - BullsEyePhotos Blog of Indecision

andi_k

  • Coppermine newbie
  • Offline Offline
  • Posts: 19
Re: Custom menu link in new window with custom size
« Reply #2 on: August 11, 2006, 06:44:22 pm »

ok i tried it - cannot handle it
can you help me? this is what my custon button look like

addbutton($sub_menu_buttons,'{CUSTOM_LNK_LNK}','{CUSTOM_LNK_TITLE}','{CUSTOM_LNK_TGT}" target="_blank','custom_link',$template_sub_menu_spacer);

can you make it?
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Custom menu link in new window with custom size
« Reply #3 on: August 11, 2006, 07:20:26 pm »

target="_blank' is just wishful thinking, you can't make up code. The line you refer to is a function call that doesn't expect a parameter "target".
Logged
Pages: [1]   Go Up
 

Page created in 0.021 seconds with 20 queries.