2013-04-08, 03:37:28
I have found (partial) solution till my original post. I have created custom template just for I18N gallerie pages. This template needs to be selected when creating page for given gallery.
Please note, that this just works for prettyGallery mode in I18N.
Please note, that this just works for prettyGallery mode in I18N.
Code:
<?php if(!defined('IN_GS')){ die('you cannot load this page directly.'); }
/****************************************************
*
* @File: template.php
* @Package: GetSimple
* @Action: Cardinal theme for GetSimple CMS
*
*****************************************************/
?>
<script src="<?php get_theme_url(); ?>/js/jquery-latest.min.js"></script>
<!-- Site Title -->
<?php get_header(); ?>
<div id="gal">
<?php get_page_content(); ?>
</div>
<style type="text/css">
.pp_overlay, .pp_pic_holder {display: block !important;}
</style>
<script type="text/javascript">
$(document).ready(function(e) {
$(".pp_overlay").remove();
$(".pp_pic_holder").remove();
$(".ppt").remove();
// $("a[rel~='prettyPhoto']:eq(0)").trigger('click');
$('.gallery-thumb:first-child a').trigger('click');
});
</script>