ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Has anyone found a way to show pagination while using dynamic parameters?

September 21, 2010 12:00pm

Subscribe [7]
  • #16 / Dec 21, 2010 3:19pm

    heaversm

    197 posts

    Well, that’s awesome you’ve developed it. Much needed plugin. I’ll try to work on a solution for EE1, and if I can get it I’ll post it here.

  • #17 / Dec 21, 2010 6:36pm

    Rob Sanchez

    335 posts

    I suppose if there’s enough interest (or if someone were willing to pay a commission), I could port this to EE1.

  • #18 / Feb 18, 2011 12:20pm

    Sam Sullivan

    64 posts

    Let me know if an EE1 version of Dynamo is around, sorry can’t afford to pay commission, i need it for a Cartthrob site I’m building btw, although, if CT for EE2 is ready soon I won’t need it 😊

  • #19 / Feb 25, 2011 5:59pm

    matthew235

    12 posts

    Here’s an easy fix for this problem for EE1:

    It basically submits a form with the dynamic data to the URL of the pagination link.

    note: you need to have the jquery library for the js to work.

    -- script type="text/javascript">
    $(document).ready(function(){
        $(".directory-pagination a").click(function(){
            $("#searchpaginate").attr("action",$(this).attr('href')).submit();
            return false;
        });
    });
    --/script>
    
    <form id="searchpaginate" method="post" action="">
    <?php 
    foreach ($_POST as $val => $var) 
        echo "<input type='hidden' name='$val' value='$var' />"; 
    ?>
    </form>
.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases