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: When selecting a new window is opened  (Read 4641 times)

0 Members and 1 Guest are viewing this topic.

Piceo2k

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 28
When selecting a new window is opened
« on: March 22, 2007, 04:33:46 am »

Like podria to do, for when tip in thumb in this mod, is opened in a new window?

East use code

Code: [Select]
<?php
  
include "./cpmfetch.php";
  include 
"./style.css";
  
$objCpm = new cpm("./cpmfetch_config.php");
  
$objCpm->cpm_viewLastUpdatedAlbumsFrom(4,4,2,array("imagestyle" => "test1"));
  
$objCpm->cpm_close();
?>


In my main page in HTML there is a table that calls to the file php that gives result thumb, but I select an image, this is opened in that table and what I want it is that it is opened in a new window.
Logged

vuud

  • Moderator
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 1803
  • [cpmfetch.fistfullofcode.com]
    • Fist Full Of Code
Re: When selecting a new window is opened
« Reply #1 on: March 22, 2007, 05:37:25 am »

Like podria to do, for when tip in thumb in this mod, is opened in a new window?

East use code

Code: [Select]
<?php
  
include "./cpmfetch.php";
  include 
"./style.css";
  
$objCpm = new cpm("./cpmfetch_config.php");
  
$objCpm->cpm_viewLastUpdatedAlbumsFrom(4,4,2,array("imagestyle" => "test1"));
  
$objCpm->cpm_close();
?>


In my main page in HTML there is a table that calls to the file php that gives result thumb, but I select an image, this is opened in that table and what I want it is that it is opened in a new window.



I think you want to add windowtarget

http://cpmfetch.fistfullofcode.com/docs/manual_1.6/ch06s04.html



Logged
Please post for help to the forum... PM me only if you are sending security related items (passwords, security problems, etc).

cpmFetch - Images, RSS feeds from CPG from outside CPG
New release notification signup also. 
See http://cpmfetch.fistfullofco

Piceo2k

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 28
Re: When selecting a new window is opened
« Reply #2 on: March 22, 2007, 05:50:06 am »

Oh God! You do not know what I thank for your aid… My companions of staff of the Web you would estaran contentment that is solved.

I have another doubt that will take advantage of here, if you consider I open it another conversation. When pressing in the image, it takes me to the image that is seen, but it is possible to be done so that it goes to the album? Bony, that directly sees in the gallery all thumb of that album and not it image directly.
Logged

vuud

  • Moderator
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 1803
  • [cpmfetch.fistfullofcode.com]
    • Fist Full Of Code
Re: When selecting a new window is opened
« Reply #3 on: March 22, 2007, 03:45:31 pm »

Oh God! You do not know what I thank for your aid… My companions of staff of the Web you would estaran contentment that is solved.

I have another doubt that will take advantage of here, if you consider I open it another conversation. When pressing in the image, it takes me to the image that is seen, but it is possible to be done so that it goes to the album? Bony, that directly sees in the gallery all thumb of that album and not it image directly.

Where are you from?  Your use of the english language is unique.  I do not mean this as an insult, my German would be incredibly bad.  Just wondering.  Normally I would yell at you for not reading the documentation, but I can imagine that could be hard for you.

What you want is just above the window target option in the documentation:
http://cpmfetch.fistfullofcode.com/docs/manual_1.6/ch06s04.html

Hope that helps


Logged
Please post for help to the forum... PM me only if you are sending security related items (passwords, security problems, etc).

cpmFetch - Images, RSS feeds from CPG from outside CPG
New release notification signup also. 
See http://cpmfetch.fistfullofco

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: When selecting a new window is opened
« Reply #4 on: March 23, 2007, 08:57:28 am »

Piceo2k appears to speak Spanish as primary language. He/she appears to be using an online translator.
Logged

Piceo2k

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 28
Re: When selecting a new window is opened
« Reply #5 on: March 23, 2007, 01:27:04 pm »

If, I am of Spain and use a translator for escribiros since the English occurs me bad, but at least I am made understand a little :-)

Saludos,
Logged
Pages: [1]   Go Up
 

Page created in 0.019 seconds with 16 queries.