how do you 'take the template out of a defined in cpg file'? how do you 'take the template out of a defined in cpg file'?
 

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]

Main Menu

how do you 'take the template out of a defined in cpg file'?

Started by bit bit spears, March 08, 2004, 03:36:28 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

bit bit spears

hi, i am making a pop up page for 'displayimage.php'

and i want to make my own template for that-i want it to be separate than the default one. I don't want it to show the theme.php text 'Logout' and other words. How would i remove this from displayimage.php? and make my own page for it?

Joachim Müller

You can only have one file displayimage.php. Removing navigation items out of one single coppermine file is not possible, since coppermine uses a template engine (in other words: the navigation entry isn't inside displayimage.php). You can remove navigation entries as described in the faq for the whole gallery though.

GauGau

bit bit spears


Tarique Sani

@gaugau: How nice it is to know that after all this we still don't understand our software :D

@tb: Ask nicely [sarcasm]please[/sarcasm]
SANIsoft PHP applications for E Biz

Joachim Müller

@tb: diplayimage.php already has the ability to open in a pop-up, you'll only have to add the parameter
Quotefullsize=1
in the url.
Maybe you should start with the basics first: learn some html, then some JavaScript (which is btw not the same as Java, but in fact something completely unrelated). Next on the list should be CSS. If you're done with this, go for php and then mySQL. If you're familiar with these language constructs, aks again :wink: .

@Tarique: maybe we should ask tb to become a dev team member, since he understands coppermine better than we actually do :wink:

GauGau

bit bit spears

thanks for being so rude-please listen:

you have made the links and pictures in displayimage.php

i know html, i know javascript-ALL i wanted to know is how to make it work in the php script...but i guess you two will just continue on making fun of someone who needs support, and have your own sarcastic conversations

a suggestion:

please read and re-read my posts, i try to explain them , but gau gau never quite gets them, casper does. i try to target  my posts towards casper...