Support > cpg1.5 themes (visuals)
Include coppermine in main index.php
nordstjerne:
Hi
How do I include /mydomain/cpg1.5.3/index.php in /xxx/index.php?
I have made an effort looking in the docs and forum but have not found an answer to my question, hope I did not miss it.
I am a total newbie in php and html and this is properly so simple you did not think anyone could ask.
I have successfully made a total clean of my surftown webhotel after the old web with an old coppermine oneclick was hacked.
I have successfully installed cpg1.5.3 and it works if I write the full path: www.mydomain/cpg1.5.3/index.php.
At present I have nothink else on my web and just want my www.mydomain/index.php to point to coppermine.
At present the main index.php just include surftown initial marketing contence, I believe we can just overwrite it.
I tryied to make a simpel php include statement but that fails.
Joe Carver:
Posting the actual link to your Coppermine is required.
http://forum.coppermine-gallery.net/index.php/topic,55415.msg270616.html#msg270616
Joachim Müller:
* As Joe suggested you need to respect board rules, i.e. you need to post a link to your gallery in each thread you post in
* A folder name with dots in it is not a clever idea. Rename as suggested in Documentation -> Install -> Unpack the archive preserving the directory structure (click on the word "Details")
* Your issue is not related to initial install, that's why I'm moving it from cpg1.5 install
* To answer your initial question: you can not include a coppermine-driven gallery using PHP's include command. To visually integrate it into an existing site, create a coppermine theme that matches your overall site's layout as per Documentation -> Getting started -> Change your Coppermine gallery's design ff. Use the custom header and footer feature to include an existing navigation if you already have that as separate file
halnat:
You have installed coppermine in the wrong directory. To achieve what you want, you should install coppermine in the main directory for your site - ie. same directory where you find the sample content from surftown.
Joachim Müller:
--- Quote from: nordstjerne on April 07, 2010, 10:55:23 pm ---I have successfully made a total clean of my surftown webhotel after the old web with an old coppermine oneclick was hacked.
--- End quote ---
To me it doesn't look as if your site was properly sanitized. Read up Yikes, I've been hacked! Now what?
Navigation
[0] Message Index
[#] Next page
Go to full version