update your FAQ's.. see this update your FAQ's.. see this
 

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

update your FAQ's.. see this

Started by Bendjamini, July 17, 2006, 01:54:29 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Bendjamini

How can I add some output directly before the line "Powered by Coppermine"?

Edit , look for echo $template_footer and add the stuff you want to output in a line before it, like print '<span class="footer"><a href="http://www.mylink.com/foo.htm">My Link</a></span>';

.. okay.. in version 1.4.8 ... in /themes/yourtheme/theme.php there isn't $template_footer .. so .. tell me how to add "some output directly before the line "Powered by Coppermine"?" ...and where is a the code of the Powered by Coppermine .. to change it target blank .. I see the topic http://forum.coppermine-gallery.net/index.php?topic=25580.0 but I don't want to do this way..so can U tell me where is the code of this link...

Joachim Müller

Edit function pagefooter() then.
Don't ask how to edit the "Powered by Coppermine" tag - see http://coppermine-gallery.net/demo/cpg14x/docs/faq.htm#editCopyrights . Telling you how to edit it would equal telling you how to remove it. We won't tell you. Don't ask!

StarBuG

And how would I go for editing the function?

I have coppermine in an iframe, and loading this page in an iframe looks terrible :D
I want it to open a new window.

Where can I find the function?
Patientenfragen.net - Das Patientenportal
Fragen und Antworten rund um das Thema Krankheit und Gesundheit.
Schulmedizin, Alternativmedizin, Prävention, Ernährung und vieles mehr.

Joachim Müller

Your question is not related, you shouldn't have tried to hijack this thread. Using iframes sucks anyway, as it has the same drawbacks as frames. Building a genuine coppermine theme that matches your site's layout is the recommended method instead, as suggested in the docs. Anyway, to make the "Powered by Coppermine" tag open in a new window or the parent windows, take a look at New-Window Links in a Standards-Compliant World.
Searching the board would have told you so as well, as there are many postings already that deal with your question as well as the sticky thread on this sub-board "Change 'Powered by CPG' link to target=_blank ?" ::)

StarBuG

I did not try to hijack this thread, I found it via search and did not want to start another one, and for me it looked like it would fit.
As regarding to your artikle link, without knowing where the html anchor is located I can´t use either methode,
and I defenetly wount use a whole javascript just for opening a link in a new window.

Patientenfragen.net - Das Patientenportal
Fragen und Antworten rund um das Thema Krankheit und Gesundheit.
Schulmedizin, Alternativmedizin, Prävention, Ernährung und vieles mehr.

Joachim Müller

Quote from: StarBuG on August 07, 2006, 01:25:05 AM
I did not try to hijack this thread, I found it via search and did not want to start another one, and for me it looked like it would fit.
It doesn't. The original thread starter asked how to output text next to the "Powered by" tag. You're asking how to modify the link target. Those are entirely different animals.

Quote from: StarBuG on August 07, 2006, 01:25:05 AM
As regarding to your artikle link,
So you only read the article and didn't follow the other links I posted in my reply? You expect more answers.. ::)?

Quote from: StarBuG on August 07, 2006, 01:25:05 AM
without knowing where the html anchor is located I can´t use either methode
erm, what? Take a look at the output, for christ's sake. What else do you need to know?

Quote from: StarBuG on August 07, 2006, 01:25:05 AM
and I defenetly wount use a whole javascript just for opening a link in a new window.
So you wouldn't rely on JavaScript (although nothing bad will happen if a visitor has disabled JavaScript), yet you rely on iframes? Hehe, that's a good one :D

I told you that this thread isn't yours and that you're not suppossed to have replied to it in the first place. Yet I told you the solution. Replying once more to this thread (although you mustn't) is plain selfish and wrong. Locking.