Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Pajax: Ajax page loading plugin
#29
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.

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


Messages In This Thread
Pajax: Ajax page loading plugin - by 5wooley4 - 2012-03-30, 05:40:05
RE: Pajax: Ajax page loading plugin - by 5wooley4 - 2012-11-17, 14:37:53
RE: Pajax: Ajax page loading plugin - by ZhuJo - 2012-12-19, 05:52:19
RE: Pajax: Ajax page loading plugin - by ZhuJo - 2013-01-29, 22:14:42
RE: Pajax: Ajax page loading plugin - by 5wooley4 - 2013-04-05, 12:54:46
RE: Pajax: Ajax page loading plugin - by ZhuJo - 2013-04-08, 03:37:28
Pajax: Ajax page loading plugin - by mikeh - 2012-03-30, 06:09:43
Pajax: Ajax page loading plugin - by ccagle8 - 2012-03-30, 06:34:31
Pajax: Ajax page loading plugin - by 5wooley4 - 2012-04-03, 16:34:00
Pajax: Ajax page loading plugin - by datiswous - 2012-04-05, 07:18:46
Pajax: Ajax page loading plugin - by 5wooley4 - 2012-04-05, 11:35:31
Pajax: Ajax page loading plugin - by datiswous - 2012-04-05, 21:33:51
Pajax: Ajax page loading plugin - by 5wooley4 - 2012-04-06, 01:33:50
Pajax: Ajax page loading plugin - by 5wooley4 - 2012-04-06, 06:02:54
Pajax: Ajax page loading plugin - by soy - 2012-04-07, 04:53:16
Pajax: Ajax page loading plugin - by 5wooley4 - 2012-04-07, 09:09:27
Pajax: Ajax page loading plugin - by 5wooley4 - 2012-04-07, 09:20:59
Pajax: Ajax page loading plugin - by soy - 2012-04-07, 10:23:23
Pajax: Ajax page loading plugin - by 5wooley4 - 2012-04-07, 11:21:57
Pajax: Ajax page loading plugin - by 5wooley4 - 2012-04-07, 18:56:47
Pajax: Ajax page loading plugin - by soy - 2012-04-07, 19:33:46
Pajax: Ajax page loading plugin - by ccagle8 - 2012-04-07, 21:41:23
Pajax: Ajax page loading plugin - by 5wooley4 - 2012-04-08, 02:55:40
Pajax: Ajax page loading plugin - by 5wooley4 - 2012-04-08, 03:31:22
Pajax: Ajax page loading plugin - by alienee2 - 2012-04-17, 11:39:17
Pajax: Ajax page loading plugin - by 5wooley4 - 2012-04-18, 03:09:25
Pajax: Ajax page loading plugin - by Ad_Ok - 2012-06-24, 02:40:11
Pajax: Ajax page loading plugin - by twobob - 2012-07-28, 11:23:37
Pajax: Ajax page loading plugin - by b3n.ji - 2012-09-30, 21:54:32



Users browsing this thread: 1 Guest(s)