coppermine-gallery.com/forum

Support => Older/other versions => cpg1.2 Standalone Support => Topic started by: bit bit spears on March 08, 2004, 03:36:28 AM

Title: how do you 'take the template out of a defined in cpg file'?
Post by: bit bit spears on March 08, 2004, 03:36:28 AM
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?
Title: how do you 'take the template out of a defined in cpg file'?
Post by: Joachim Müller on March 08, 2004, 07:14:13 AM
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
Title: how do you 'take the template out of a defined in cpg file'?
Post by: bit bit spears on March 09, 2004, 02:05:04 PM
you don't understand what i am asking.
Title: how do you 'take the template out of a defined in cpg file'?
Post by: Tarique Sani on March 09, 2004, 02:46:01 PM
@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]
Title: how do you 'take the template out of a defined in cpg file'?
Post by: Joachim Müller on March 09, 2004, 11:49:39 PM
@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
Title: how do you 'take the template out of a defined in cpg file'?
Post by: bit bit spears on March 10, 2004, 04:22:18 AM
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...