|
|
This page brings together information found on the forum into one place. Note that the information changed over time, so that the initial post is incorrect. Original Post
The default page layout used by FAlbum will only work if your site uses the or a variation of the default WordPress 1.5 theme or uses a theme with a similar style of layout. In order to make FAlbum work with your own theme, do the following:
<?php get_header(); ?> and <?php get_siderbar(); ?> or <?php get_footer(); ?> in the code.
<!-- FAlbum Start -->
<script type="text/javascript" src="<?php bloginfo('url'); ?>/wp-content/plugins/falbum/res/falbum.js"></script>
<script type="text/javascript" src="<?php bloginfo('url'); ?>/wp-content/plugins/falbum/res/overlib.js"></script>
<script type="text/javascript" src="<?php bloginfo('url'); ?>/wp-content/plugins/falbum/res/prototype.js"></script>
<div id="overDiv" style="position:absolute; visibility:hidden; z-index:1000;"></div>
<div id="content" class="narrowcolumn">
<?php $falbum->show_photos(); ?>
</div>
<!-- FAlbum End-->
For ease of understanding, here is what a basic working FAlbum.php looks like:
<?php
/*
Template Name: FAlbum
*/
?>
<?php get_header(); ?>
<!-- FAlbum Start -->
<script type="text/javascript" src="<?php bloginfo('url'); ?>/wp-content/plugins/falbum/res/falbum.js"></script>
<script type="text/javascript" src="<?php bloginfo('url'); ?>/wp-content/plugins/falbum/res/overlib.js"></script>
<script type="text/javascript" src="<?php bloginfo('url'); ?>/wp-content/plugins/falbum/res/prototype.js"></script>
<div id="overDiv" style="position:absolute; visibility:hidden; z-index:1000;"></div>
<div id="content" class="narrowcolumn">
<?php $falbum->show_photos(); ?>
</div>
<!-- FAlbum End-->
<?php get_footer(); ?>