More "blank page" help wanted.... More "blank page" help wanted....
 

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

More "blank page" help wanted....

Started by schalicto, December 14, 2006, 08:39:09 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

schalicto

I have read some great threads around here about creating blank pages on coppermine.

This one for instance.
http://forum.coppermine-gallery.net/index.php?topic=36695.0

I put a reply on that thread, but I realize that probably wasn't the best thing to do so I am starting a new thread.

I used your code and created the blank page and it works great, except for 2 things.

http://www.floor42online.com/about.php

Problem number 1 is that it seems to display a header that I get when I log in as an admin, you can't do anything with the links, but they shouldn't be there.

Problem number 2 is that the page doesn't show up on the header.  Here is the exact code that I used....

Quote<?php
define('IN_COPPERMINE', true);
require('include/init.inc.php');
pageheader('about');
?>
<table width="100%"><tr><td>blah blah blah html</td></tr></table>
<?php
pagefooter();
ob_end_flush();
?>

Any help would be appreciated.... I'm not a programmer, so any help in noob speak would be appreciated greatly.

-Josh

Joachim Müller

I don't understand the question - the page you refered to appears to be doing exactly what it was designed to do.

schalicto

But how do I get people to that page?  Shouldn't there be a link to that page with the other links?  Like "album list", "last uploads", "top rated", "about" and so on.  How do I get a link to it up there?

The other part of the question about the admin links was just me being stupid.

-Josh

Joachim Müller

If you need a link to your custom page, modify coppermine's menu by editing themes/yourtheme/theme.php

schalicto

I didn't see anything in the theme.php file.

But I did find something in the config settings called "Custom menu link name" that let me do just what I was looking for.

Thanks.

-Josh

nivar

i think you should be able to edit the template.html and be able to add link to the page.
it should work fine.