MiniGal 


  • Home
    Main page
  • Nano
    Pure simplicity
  • MG2
    Webadmin
  • Forum
    Communicate

How to integrate into your site

Just insert the code snippet below into your site code. Remember to correct the relative path if MiniGal Nano is not located in minigalnano/ subfolder.

Using the integration function will make MiniGal Nano use the integrate.html template found in templates/ subfolder. You can edit this file to fit your existing design.
<?php
// MiniGal Nano integration START
	$path_to_minigalnano = "minigalnano/"; //     <- Enter relative path to MiniGal Nano here (eg. "subfolder/minigalnano/") - END WITH /

	// DO NOT EDIT BELOW THIS LINE!
	define("GALLERY_ROOT", $path_to_minigalnano);
	require(GALLERY_ROOT . "index.php");
// MiniGal Nano integration END
?>
Skip navigation
  • Download
  • Changelog
  • How to install
  • How to integrate
  • FAQ
  • Live DEMO
  • Support
  • Bug reporting
  • Commercial license
 

© 2009 MiniGal

Podfreaks.com | VideoPodcasts á la carte

Find din næste legeplads her

ADVERTISING

CMSolution - Få en professionel hjemmeside og redigér selv med brugervenligt og dansksproget CMS

Dresses