[Solved]: Adding a html-page into coppermine. [Solved]: Adding a html-page into coppermine.
 

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

[Solved]: Adding a html-page into coppermine.

Started by pascali70, March 05, 2008, 06:03:59 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

pascali70

Hi,

I'm new in coppermine and installed it a few days ago.  Everything is working fine, I added another theme and changed it a bit.
I also added some links and a buttons on the main page.
I was wondering : When I click the link, it opens in a new page.  Is it possible to open the link (or another html/php-page, for exemple a mail-form) within coppermine itself.  I mean, open the link en show the page on the place where the albums/pictures/settings/.... are shown.  I think it is possible.  I looked around in code a bit, but I can't find a solution. 
Can somebody help me.

thx,
Pascal.
   

Joachim Müller

Not sure what you mean. Why don't you illustrate your question with real-life example, e.g. a link to your gallery and the page you refered to?

pascali70

Thanks for the fast reply....
And ok, sorry, maybe I didn't explain it very well. 
Here's the link to my album : http://www.bondividiver.be (there's still a lot off work to do :-(, I'm still working on it )
There a link on the right side-bar under 'Mijn Blogs' -> Duiken in Nederland.
When you click on it, a new page is opening....
What I want is the new page into coppermin itself (see for example printscreen in attachment)
Do you understand what I want ?
Is this possible ?

thx,
Pascal.

just_some_guy

In my opinion the easiest way would be to create a new CPG page; an easy way to do this would be to use the miniCMS plugin. Although, if you wanted to do it yourself, you would need to create a new page and -


  • include - include.init.inc
  • define the page as being "In Coppermine"
  • use the pageheader() and pagefooter() functions to get the basic "shell" for your page, ie. the header,menu,theme,footer,admin menu etc.
  • The place your content between the two functions above

Then, use an iframe reffering to your blog page.
Tambien, Hablo Español      PHP - Achieve Anything
"The Internet is becoming the town square for the global village of tomorrow. " - Bill Gates
Windows 7 Forums

Joachim Müller


pascali70

Great, thanks for the reply's.  Minicms is just what I needed.  But I have problem with sections, how does that works in minicms and what are the used for ?  I can't configure sections at all.
I searched the internet how to do it, but I can't find a real 'how to'.  Can somebody explain me how to work with sections in minicms ?

thanks,

Pascal.

Joachim Müller

MiniCMS goes unsupported here (as suggested in the announcement thread) - support for that plugin can be found on cpg-contrib.org