<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.min.js"></script>
<script type="text/javascript" src="<?php echo $pg_config['path']; ?>/galleries/js/mootools-core.js"></script>
<script type="text/javascript" src="<?php echo $pg_config['path']; ?>/galleries/js/mootools-more.js"></script>
<?php $js_mootools = true; } ?>
<?php if(empty($js_slimbox)) { ?>
<script type="text/javascript" src="<?php echo $pg_config['path']; ?>/galleries/js/slimbox.js"></script>
<?php $js_slimbox = true; } ?>
<script type="text/javascript" src="<?php echo $pg_config['html_prefix']; ?>/galleries/js/gallery.js"></script>
<?php if(!$included) { ?>
but get this
portfolio.php
so I am missing something....
thanks for sharing...
Yes... you no longer need to have this: <?php echo $pg_config['path']; ?>
Since you are manually hard coding the path, you don't need to duplicate any of it.
So just create the paths in relation to the page. If your page is on the root level of your site and the Power Gallery is in folder named "galleries", then your path should just start out "src=/galleries/etc."