Kaki menu link Kaki menu link
 

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

Kaki menu link

Started by koffee, February 10, 2005, 11:17:42 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

koffee

Hi, is it possible to add a link to Main menu (i know it is) but show it instead of {GALLERY}? (something like iframe?)  Picture for better imagination (high compression,with my drawing ;):

(https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fsweb.cz%2FJirulda%2Fgal.JPG&hash=ec530ba6de41c7c5d92d289d8dddbeed7b8dbd7d)

Joachim Müller

what is the page inside the iframe suppossed to contain? I guess you want to add a menu item to your coppermine menu that fires up a non-coppermine page with a page layout that matches the layout of your coppermine page. If this is correct, just take a look at the miniCMS hack in the mods section; this is the easiest way to accomplish what you're looking for. Fiddling with iframes is not recommended, as the technique itself has got a lot of drawbacks, so (as a workaround) you just make you non-coppermine page have the same menu structure and layout as your "regular" coppermine page. Another (even easier) workaround is to add this to your non-coppermine page:<?php
define
('IN_COPPERMINE'true);
require(
'include/init.inc.php');
pageheader('your title here');
?>
at the very start and<?php
pagefooter
();
ob_end_flush();
?>
at the very bottom.
You might have to adjust your include paths to match your site structure...

Joachim