close ad
WARNING PC USERS: Do Not Install the DREAMWEAVER CC 2017 Update »
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

File must be in powergallery folder to work

Thread began 1/21/2011 5:17 pm by jamie407107 | Last modified 1/23/2011 7:44 pm by jamie407107 | 920 views | 3 replies |

jamie407107

File must be in powergallery folder to work

I followed all directions and created a simple gallery. The powergallery directory is located in the root folder of my website. If I put the php file with the gallery code in it in any folder other than the powergallery folder, it does not function properly. Did I miss something? I uploaded the entire powergallery folder.

Sign in to reply to this post

jamie407107

This is the same exact file in two different folders. The gallery in the first link works, the one in the second does not.

pgtest.php

pgtest.php

Sign in to reply to this post

neilo

I think it's the other way round?

PowerGallery seldom seems to know what it's done with itself after install, and there doesn't seem to be a great deal of concern about the the paths issue. Hopefully in the next dot release it will be addressed.

On the index.php in the folder of the gallery type you are implementing, you will need to add the galler folder path (i.e. in your case, 'powergallery') to the links and includes near the top of the page:

<style type="text/css" media="all">
@import url("<?php echo $pg_config['path']; ?>/powergallery/gallery/css/slimbox/slimbox.css");
@import url("/powergallery/<?php echo $pg_config['html_prefix']; ?>css/common.css");
@import url("/powergallery/<?php echo $pg_config['html_prefix']; ?>css/<?php echo $pg_theme; ?>.css");
</style>
<?php if(empty($js_mootools)) { ?>
<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']; ?>/powergallery/js/mootools-core.js"></script>
<script type="text/javascript" src="<?php echo $pg_config['path']; ?>/powergallery/js/mootools-more.js"></script>
<?php $js_mootools = true; } ?>
<?php if(empty($js_slimbox)) { ?>
<script type="text/javascript" src="<?php echo $pg_config['path']; ?>/powergallery/js/slimbox.js"></script>
<?php $js_slimbox = true; } ?>
<script type="text/javascript" src="/powergallery/<?php echo $pg_config['html_prefix']; ?>js/gallery.js"></script>
Sign in to reply to this post

jamie407107

You are right, I got them backwards. I will try this tomorrow. Thanks for the reply.

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...