Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Montezuma Theme (http://forum.bytesforall.com/forumdisplay.php?f=53)
-   -   Image gallery broken (http://forum.bytesforall.com/showthread.php?t=22904)

VinnitU Nov 5, 2014 05:09 AM

Image gallery broken
 
Thanks for a great theme!
1) Unfortunately, I cannot go to the bytesforall.com Support Forum. The site gives an error: ERR_EMPTY_RESPONSE
But bytesforall.com site opens through an anonymous proxy server.
2) When I upgraded theme from version 1.2.2 to version 1.2.3 or 1.2.4 Image Gallery stopped working. I could not understand why. Help me, please.
Version 1.2.2: http://www.barcelona-trip.ru/sagrada-familiya-rus/
Version 1.2.4: http://www.barcelona-trip.com/sagrada-familia/

thanks in advance!
Victor

lmilesw Nov 5, 2014 08:38 AM

What gallery isn't working? I see images on your site.

CrouchingBruin Nov 5, 2014 07:36 PM

I think the problem is when you click on an individual image, all you see is a number one and a period, i.e., a list item. Doing a "view source" on the attachment page shows an incomplete HTML document that ends like this:
Code:

<body class="attachment single single-attachment postid-458 attachmentid-458 attachment-jpeg">


<ol><li class="bc-home"><a href="http://www.barcelona-trip.com">&nbsp;</a></li>

Victor, have you tried disabling all of your plugins to see if you get the same behavior?

VinnitU Nov 6, 2014 10:44 AM

CrouchingBruin, yeah, right.
After clicking on a thumbnail instead of a pop-up window with a picture opens a blank page with a "1."
I disabled all the plugins, but it does not change the situation, unfortunately. :(((

juggledad Nov 6, 2014 10:46 AM

Ok, I've recreated this, there is an error occurring when the gallery setting 'Link TO' is set to 'None'

I'll take a look to see what changed and come up with a fix.

juggledad Nov 6, 2014 12:47 PM

@VinnitU - could you go to MTO->Sub Template->header.php and remove teh last part which is
HTML Code:

<div id="breadcrumbs1-bg">
        <nav id="breadcrumbs1" class="breadcrumbs lw">
                <?php bfa_breadcrumbs( 'breadcrumbs1' ); ?>
        </nav>
</div>

and see if it works.

VinnitU Nov 6, 2014 02:52 PM

CrouchingBruin, yes, it is correct.
A blank page with a "1." instead of a pop-up window with a picture opens after clicking on a thumbnail.
I disabled all the plugins, but it does not change the situation, unfortunately.
Sorry for delay with reply - I have a problem with entering to this forum (I am able to enter to the forum only via an anonim proxy server).

juggledad - I did remove that fragment you had advised me to. Could you, please, have a look at the result (but it is not a pop-up window; it opens the picture on the new page):

Thank you for help for support!

VinnitU Nov 6, 2014 02:57 PM

http://www.barcelona-trip.com/sagrada-familia/

juggledad Nov 7, 2014 03:44 AM

to fix this so you get the lightbox back edit post_gallery_filter.php and change line 3 from
HTML Code:

//add_filter( 'post_gallery', 'bfa_post_gallery_filter', 10, 2 );
to
HTML Code:

add_filter( 'post_gallery', 'bfa_post_gallery_filter', 10, 2 );
and see if that fixes it for you.

Note: the breadcrumb code is still an issue I am looking into.

VinnitU Nov 7, 2014 04:20 AM

juggledad - I did change that fragment you had advised me to, but it did not change situation - it is not a lightbox; it opens the picture on the new page

Thank you for help for support!

VinnitU Nov 7, 2014 05:07 AM

juggledad -
Lightbox is working! I dont know why, but 10 minutes after I made changes to the file, Lightbox has earned! Hooray!

Thank you for help for support!

juggledad Nov 7, 2014 07:54 AM

You have a caching plugin active which is why it took time to show up


All times are GMT -6. The time now is 07:45 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.