link from coppermine ... link from coppermine ...
 

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

Main Menu

link from coppermine ...

Started by laurent68, November 14, 2004, 10:58:07 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

laurent68

HI!!

I read that have use it little the following codes in coppermine :

bold
italic
URL text
user@domain.tld ,

my questions are the following: 

do I wish to have under my pictures a link that either of color (red) and that he/it opens a window " popup " of precise size, is this possible? Even better: that this tie consignment a variable to a form that finding in this popup and actualize the " Focus " of a very definite field! 
 
Thank you for advance for your help!!


Sorry for my Bad english!! 

Text in french:

j'ai lu que l'ont peu utiliser les codes suivants dans coppermine, ma questions est la suivante: 
 
je souhaite avoir sous mes images un lien qui soit de couleur (rouge) et qu'il ouvre une fenêtre "popup" de taille précise, est-ce possible? Encore mieux: que ce lien envoi un variable à un formulaire ce trouvant dans cet popup et actualise le "Focus" d'un champ bien défini! 
 
Merci d'avance pour votre aide!!

Joachim Müller

using the bbcode to specify a link opening in a new window just does what a regular html link does: it opens the link in a new window (but not with a specific width and height). You could try to modify the function that handles the bbcode links and add some JavaScript that resized the new link, although I wouldn't recommend that - people hate pop-ups, many users have pop-up blockers in place. In the next version of coppermine, the bbcode links won't even open in a new window, but in the same window, leaving users the option to do a right-click -> open link in new window or not.

Anyway, if you decide to modify the code (I repeat: not recommended), edit include/functions.inc.php, find function make_clickable($text)andfunction bb_decode($text)and modify the stuff that is in the function definitions. The keyword to look out for is target="_blank"

Joachim