Keyword
Please note that official support for commercial extensions & templates is provided in the Subscriber Help Desk.
Support requests should ONLY be directed there and require an active subscription plan.
This forum board is to be used for archive purposes and knowledge exchange ONLY.

I solved the problem with galleria theme for fancybox Gallery rel

  • pedrali
  • pedrali's Avatar Topic Author
  • Offline
  • New Member
More
11 years 7 months ago #52609 by pedrali
hello guys place the code to fix the problem of the gallery fancybox when galleria theme is active
I hope I've helped..  :)

file location: plugins\content\tmpl\Galleria\default.php change all  with this code
<?php
/**
 * @version		$Id: default.php 2827 2013-04-12 12:57:36Z joomlaworks $
 * @package		Simple Image Gallery Pro
 * @author		JoomlaWorks - https://www.joomlaworks.net
 * @copyright	Copyright (c) 2006 - 2013 JoomlaWorks Ltd. All rights reserved.
 * @license		https://www.joomlaworks.net/license
 */
// no direct access
defined('_JEXEC') or die('Restricted access');
$document->addScript($pluginLivePath.'/tmpl/Galleria/js/behaviour.js');
?>

<div id="sigProGalleria<?php echo $gal_id; ?>" class="sigProContainer sigProGalleriaContainer<?php echo $extraWrapperClass; ?>">

	<div class="sigProGalleriaPlaceholderContainer">
		<div class="sigProGalleriaPlaceholder">
			<a href="<?php echo $gallery[0]->sourceImageFilePath; ?>" class="sigProGalleriaTargetLink<?php echo $extraClass; ?>" rel="<?php echo $relName; ?>[gallery<?php echo $gal_id; ?>]" title="<?php echo $gallery[0]->captionDescription.$gallery[0]->downloadLink.$modulePosition; ?>" target="_blank"<?php echo $customLinkAttributes; ?>>
				<img class="sigProGalleriaTargetImg" src="<?php echo $gallery[0]->sourceImageFilePath; ?>" alt="<?php echo JText::_('JW_SIGP_LABELS_08').' '.$gallery[0]->filename; ?>" title="<?php echo JText::_('JW_SIGP_LABELS_08').' '.$gallery[0]->filename; ?>" />
			</a>
			<p class="sigProGalleriaTargetTitle"><?php echo $gallery[0]->captionTitle; ?></p>
		</div>
	</div>

	<ul id="sigProId<?php echo $gal_id; ?>" class="sigProGalleria<?php echo $extraWrapperClass; ?>">
		<?php 
		$i = 0;
		foreach($gallery as $count=>$photo): ?>
		<li class="sigProThumb">
			<span class="sigProLinkOuterWrapper">
				<span class="sigProLinkWrapper">
                <?php if($i != 0): ?>
                <a href="<?php echo $photo->sourceImageFilePath; ?>" class="sigProGalleriaTargetLink<?php echo $extraClass; ?>" rel="<?php echo $relName; ?>[gallery<?php echo $gal_id; ?>]" title="<?php echo $photo->captionDescription.$photo->downloadLink.$modulePosition; ?>" target="_blank"<?php echo $customLinkAttributes; ?>>
				</a>
           		 <?php endif; ?>
                
					<a rel="<?php echo $relName; ?>[gallery<?php echo $gal_id; ?>]"  href="<?php echo $photo->sourceImageFilePath; ?>" class="sigProGalleriaLink sigProLink<?php if($count==0) echo ' sigProLinkSelected'; ?>" style="width:<?php echo $photo->width; ?>px;height:<?php echo $photo->height; ?>px;" title="<?php echo $photo->captionDescription.$photo->downloadLink.$modulePosition; ?>" target="_blank">
						<?php if(($gal_singlethumbmode && $count==0) || !$gal_singlethumbmode): ?>
						<img class="sigProImg" src="<?php echo $transparent; ?>" alt="<?php echo JText::_('JW_SIGP_LABELS_08').' '.$photo->filename; ?>" title="<?php echo JText::_('JW_SIGP_LABELS_08').' '.$photo->filename; ?>" style="width:<?php echo $photo->width; ?>px;height:<?php echo $photo->height; ?>px;background-image:url(<?php echo $photo->thumbImageFilePath; ?>);" />
						<?php endif; ?>
						<?php if($gal_captions): ?>
						<span class="sigProPseudoCaption"><b><?php echo $photo->captionTitle; ?></b></span>
						<span class="sigProCaption" title="<?php echo $photo->captionTitle; ?>"><?php echo $photo->captionTitle; ?></span>
						<?php endif; ?>
					</a>
                    
				</span>
			</span>
		</li>
		<?php 
		$i++;
		endforeach; ?>
		<li class="sigProClear">&nbsp;</li>
	</ul>
</div>

<?php if(isset($flickrSetUrl)): ?>
<a class="sigProFlickrSetLink" title="<?php echo $flickrSetTitle; ?>" target="_blank" href="<?php echo $flickrSetUrl; ?>"><?php echo JText::_('JW_SIGP_PLG_FLICKRSET'); ?></a>
<?php endif; ?>

<?php if($itemPrintURL): ?>
<div class="sigProPrintMessage">
	<?php echo JText::_('JW_SIGP_PLG_PRINT_MESSAGE'); ?>:
	

	<a title="<?php echo $row->title; ?>" href="<?php echo $itemPrintURL; ?>"><?php echo $itemPrintURL; ?></a>
</div>
<?php endif; ?>


I hope I've helped..  :)

Please Log in or Create an account to join the conversation.

More
11 years 6 months ago #52610 by JoomlaWorks
This is a hack really, one that inserts the required links without any real content to display, enough for any popup engine to pick up additional images. The problem is this though. The currently selected image in the Galleria layout will add up to the entire set of pics. So if your gallery has 7 photos, the popup engine will report 8 (+1).

We're leaning towards entirely removing popup engines from the Galleria layout. It's not really needed.

Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.

More
11 years 6 months ago #52611 by shyman159
Thanks , it is useful,and congratulations!

Please Log in or Create an account to join the conversation.

More
11 years 2 months ago #52612 by Soeren Hartwig
Hello! This Hack works like a charm and makes the slideshow possible with these setup :

Galleria Template + 1 of the following Jquery:

-FancyBox
-ColourBox
-Lightview
-Fresco

Finally this was the solution to get the GALLERIA TEMPLATE to work AT ALL!!! 
Its still not the best solution, as its not working clean with the other Jquery engines, but at least it is giving a way to use the galleria Template at all!!

Even on the Developer DEMO SITE there is the same bug UNFIXED !!! Check by yourself - the slideshow is NOT working in the given examples...!!!

So thanks to some "awake" users bringing up a "emergency fix" here instead of the developer team not responding to a known massive bug!

Beside there is the point that also the product description to make u buy the plugin is not fulfilled, as far as there is no working slideshow in the template itself - there is no navigation + no play function - and on top there is the problem of the bug if u want a slideshow at least after the popup....!

product description of the developer:

"6 amazing gallery layouts (themes), including the CSS3 based "Polaroids" and the JavaScript enhanced "Galleria" which transforms your gallery to a slideshow. "


..thats what woud be nice - but its not availible !!!

I will keep u updated about news in this case soon - so long at least a minimal "workaround"
solution thanks to user "Emanuele" !

THANKS DUDE!

Please Log in or Create an account to join the conversation.

More
11 years 2 months ago #52613 by Soeren Hartwig

This is a hack really, one that inserts the required links without any real content to display, enough for any popup engine to pick up additional images. The problem is this though. The currently selected image in the Galleria layout will add up to the entire set of pics. So if your gallery has 7 photos, the popup engine will report 8 (+1).

We're leaning towards entirely removing popup engines from the Galleria layout. It's not really needed.


Works without the problem u describe on my above described "setup".

Beside this, if it is known as not working (as it is according to REALLY ols posts here) AND not neccessary,
remove it as u where telling in another old post ....and fix the funktion to really use the Galleria template as a slideshow like u describe in your product description!!!

You make people buy a component that is is bugging and not having KEY features working as described !!

Please Log in or Create an account to join the conversation.

More
11 years 2 days ago #52614 by pascal bourhis

We're leaning towards entirely removing popup engines from the Galleria layout. It's not really needed.


@Fotis I hope it's a joke ?! It's one, maybe the only one i have bought SIGPro !

Please Log in or Create an account to join the conversation.

More
10 years 11 months ago #52615 by gphilippe
hi,

if you remove the slideshow on Galeria, you will need to add a download function on Galeria, because using a slideshow is the only way to have a download function  .
I agree with the others comments, this extension is not really finished !

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum