coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 themes/skins/templates => Topic started by: schalicto on December 14, 2006, 08:39:09 PM

Title: More "blank page" help wanted....
Post by: schalicto on December 14, 2006, 08:39:09 PM
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
Title: Re: More "blank page" help wanted....
Post by: Joachim Müller on December 15, 2006, 08:43:38 AM
I don't understand the question - the page you refered to appears to be doing exactly what it was designed to do.
Title: Re: More "blank page" help wanted....
Post by: schalicto on December 15, 2006, 09:52:00 PM
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
Title: Re: More "blank page" help wanted....
Post by: Joachim Müller on December 16, 2006, 09:44:02 AM
If you need a link to your custom page, modify coppermine's menu by editing themes/yourtheme/theme.php
Title: Re: More "blank page" help wanted....
Post by: schalicto on December 16, 2006, 03:54:29 PM
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
Title: Re: More "blank page" help wanted....
Post by: nivar on January 18, 2007, 08:51:10 PM
i think you should be able to edit the template.html and be able to add link to the page.
it should work fine.