close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

New version issue

Thread began 11/17/2010 4:25 pm by biz295654 | Last modified 11/20/2010 12:57 pm by anonymous | 1683 views | 16 replies |

biz295654

New version issue

I upgraded to the latest pg, and getting a weird result on display. Seems to me this was an issue about a year ago, but when I did an upgrade, it solved. So not sure why this version is presenting the same issue.

At any rate, in the display page, the images are stacked on top of one another instead of showing the usual display.

portfolio.php

Any thoughts before I reinstall?

Thanks as usual.

Sign in to reply to this post

anonymous

I had the same issue that you are experiencing and they just opened a support ticket for me. I will report back what I find out.

What appears that is happening is the paths to the javascript and css are not getting populated correctly.

So a quick fix would be to get the links for the imports (by checking the page source)... then copy them into the head of the page that your gallery resides on and then manually edit to make sure the paths are correct. Then you're gallery will work until there is a fix.

Best regards,

Brian

Sign in to reply to this post

biz295654

Thanks much... I'll see if I can track it down. :-)

Sign in to reply to this post

biz295654

Can you give me another clue, please...

I am using php inserted:

<?php
$pg_id = '1';
$pg_theme = 'light';
include('/var/www/html/2010gallery/galleries/ribbon_fullsize_lightbox/index.php');
?>

the path looks right... so where am I looking for bad paths...

thanks much

ah... maybe in the 'galleries' folder... downloading now...

Sign in to reply to this post

anonymous

Yes... By viewing the source on the page from the link you provided, you will notice these import links:

<style type="text/css" media="all">
@import url("/css/slimbox/slimbox.css");
@import url("/galleries/ribbon_fullsize_lightbox/css/common.css");
@import url("/galleries/ribbon_fullsize_lightbox/css/light.css");
</style>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.min.js"></script>
<script type="text/javascript" src="/js/mootools-core.js"></script>
<script type="text/javascript" src="/js/mootools-more.js"></script>
<script type="text/javascript" src="/js/slimbox.js"></script>
<script type="text/javascript" src="/galleries/ribbon_fullsize_lightbox/js/gallery.js"></script>


As you can see, the paths are not correct for the src attribute.

So, copy those into the head of your page and then append the sources to make the paths correct.

For example,
<script type="text/javascript" src="/js/mootools-core.js"></script>

Then it would become:

<script type="text/javascript" src="/galleries/js/mootools-core.js"></script>


You need to copy the whole block, though, and edit all of them and you should be good to go until there is a permanent fix.

Best regards,

Brian

Sign in to reply to this post

biz295654

You're the best!

Thank you for the detail.

Sign in to reply to this post

biz295654

well, I tried to follow your directions, but didn't get there... used this

<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...

Sign in to reply to this post

biz295654

more detail... when I click on a missing gif I get this path
loader_light.gif

so there is something wrong yet with paths...

Sign in to reply to this post

anonymous

Originally Said By: biz295654
  well, I tried to follow your directions, but didn't get there... used this

<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."

Sign in to reply to this post

biz295654

Thanks for the pointers..

Here's what I have now:

<?php } ?>
<style type="text/css" media="all">
@import url("<?php echo $pg_config['path']; ?>css/slimbox/slimbox.css");
@import url("<?php echo $pg_config['html_prefix']; ?>css/common.css");
@import url("<?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="/galleries/js/mootools-core.js"></script>
<script type="text/javascript" src="/galleries/js/mootools-more.js"></script>
<?php $js_mootools = true; } ?>
<?php if(empty($js_slimbox)) { ?>
<script type="text/javascript" src="/galleries/js/slimbox.js"></script>
<?php $js_slimbox = true; } ?>
<script type="text/javascript" src="/galleries/js/gallery.js"></script>
<?php if(!$included) { ?>
</head>
<body class="pg">
<div id="pgOuterWrapper">
<?php } ?>

But no joy. I think I'm going to strip it all out and install the previous version.

Ah... I just saw another set of config path... I'll do an update...

Sign in to reply to this post
loading

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...