Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: coppermine in a html file?  (Read 2881 times)

0 Members and 1 Guest are viewing this topic.

Yukino

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 29
coppermine in a html file?
« on: August 06, 2008, 12:17:21 am »

hey, not sure if this is the right place to put this post but...

i have an html file and would like to include the index.php from my gallery inside it.  what's the best way to go about doing this? any help would be appreciated.
Logged

Pascal YAP

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: fr
  • Offline Offline
  • Gender: Male
  • Posts: 13833
  • Hello World :-)
    • CPG 1.5.x ExperiMental website
Re: coppermine in a html file?
« Reply #1 on: August 06, 2008, 12:49:21 am »

Try to use an IFRAME : something like that :
Code: [Select]
<iframe
          height="550" frameborder="0" width="100%" scrolling="auto"
          src="http://coppermine.sourceforge.net/board/index.php?board=38.0"
          allowtransparency="true" name="FrameCoppermine">
</iframe>
Change with your own URL.

My exemple.
PYAP
Logged

phill104

  • Administrator
  • Coppermine addict
  • *****
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 4885
    • Windsurf.me
Re: coppermine in a html file?
« Reply #2 on: August 06, 2008, 12:57:44 am »

I believe what you are asking is about creating a custom theme (you want to display coppermine in your webpage)

It is quite simple to do. Either you can use an iframe (search these forums for how to do this) or copy and rename your chose theme (I'm uscing classic as an example). Simply then include everything inside the body of the classic them inside the table in your html page then select this theme in the cpg config.

eg copy themes/classic to themes/yourtheme

take your html page and place everything from themes/classic/template.html inside the 'body' inside a table or div in your htaml page wherever you want the gallery to display then save this as themes/yourthem/template.html

select yourtheme in the gallery config.

Sorry if that sounds simplistic but it really is that easy.
Logged
It is a mistake to think you can solve any major problems just with potatoes.
Pages: [1]   Go Up
 

Page created in 0.018 seconds with 19 queries.