<![CDATA[ [Tutorial] Results Per Page Form Dropdown - My Forums]]> https://forums.modx.com/thread/?thread=41353 <![CDATA[Re: [Tutorial] Results Per Page Form Dropdown]]> https://forums.modx.com/thread/41353/tutorial-results-per-page-form-dropdown?page=2#dis-post-239766 lastoftheromans Jun 26, 2010, 01:51 PM https://forums.modx.com/thread/41353/tutorial-results-per-page-form-dropdown?page=2#dis-post-239766 <![CDATA[Re: [Tutorial] Results Per Page Form Dropdown]]> https://forums.modx.com/thread/41353/tutorial-results-per-page-form-dropdown?page=2#dis-post-239765
But there’s one small thing, when i choose i.e. show 30 on page, it works fine, and pagination splits to 3 pages(85 total docs), and link of pagination set’s right (

page 2 &start=30
page 3 &start=60

But when i click on any of this pages, my ResPerPage drops to Show 10 on Page, and pages splits to 1,2,3,4..9

How can i save this parameter? Show XX on page, after clicking page?

Sorry for my English:)]]>
digger88 Apr 30, 2010, 03:49 AM https://forums.modx.com/thread/41353/tutorial-results-per-page-form-dropdown?page=2#dis-post-239765
<![CDATA[Re: [Tutorial] Results Per Page Form Dropdown]]> https://forums.modx.com/thread/41353/tutorial-results-per-page-form-dropdown?page=2#dis-post-239764 Quote from: labasus at May 25, 2008, 06:48 PM

Hello,
very useful snippet, but it could be more useful without "go" button.

It must be smth. like that ->


// place this javascript code just before the </head> tag

function doSel(obj)
{
for (i = 1; i < obj.length; i++)
if (obj[i].selected == true)
eval(obj[i].value);
}


<!-- this HTML code goes between your <body> tags -->

<form name="jsMenu">
<select name="jsSelList" size="1" onchange="doSel(this)">
<option selected value>Select a page, and Gone!</option>
<option value="location.href=’dHTML1.html’">Dynamic HTML 1</option>
<option value="location.href=’validForm.html’">Validating Form 1</option>
<option value="location.href=’../index.html’">GrassBlade Home Page</option>
<option value="location.href=’validSSN.html’">Validating SSN</option>
<option value="location.href=’selSwitch.html’">Multiple Select Swap</option>
</select>
</form>

Maybe somebody can do it in php?


I join to this request! Can anybody help with this?

PS Usefull snippet, works OK!]]>
digger88 Mar 01, 2010, 06:25 AM https://forums.modx.com/thread/41353/tutorial-results-per-page-form-dropdown?page=2#dis-post-239764
<![CDATA[Re: [Tutorial] Results Per Page Form Dropdown]]> https://forums.modx.com/thread/41353/tutorial-results-per-page-form-dropdown#dis-post-239763
I am also having the problem with &id causing the snippet not to work.

Also when I remove the &id and the drop down list works, pagination does not show anymore - has anyone got around this problem?

I only really want to use this snippet to add a ’show all’ link, is there a more efficient way to do this?

Thanks]]>
PH!L Dec 08, 2009, 05:21 AM https://forums.modx.com/thread/41353/tutorial-results-per-page-form-dropdown#dis-post-239763
<![CDATA[Re: [Tutorial] Results Per Page Form Dropdown]]> https://forums.modx.com/thread/41353/tutorial-results-per-page-form-dropdown#dis-post-239762 sinbad Nov 01, 2008, 07:12 PM https://forums.modx.com/thread/41353/tutorial-results-per-page-form-dropdown#dis-post-239762 <![CDATA[Re: [Tutorial] Results Per Page Form Dropdown]]> https://forums.modx.com/thread/41353/tutorial-results-per-page-form-dropdown#dis-post-239761
the request extender page says
Note:
If a Ditto id is set use the sntax


so I opened the snippet and replaced the ($_GET[’ditto_summarize’])) with ($_GET[’dittoMyId_summarize’]))
which is shown in the URL now but doesn’t sort the results.

what exactly does If a Ditto id is set use the sntax means and where do I set the ID?

]]>
sinbad Nov 01, 2008, 11:09 AM https://forums.modx.com/thread/41353/tutorial-results-per-page-form-dropdown#dis-post-239761
<![CDATA[Re: [Tutorial] Results Per Page Form Dropdown]]> https://forums.modx.com/thread/41353/tutorial-results-per-page-form-dropdown#dis-post-239760 is there a way to troubleshoot this?]]> sinbad Nov 01, 2008, 02:43 AM https://forums.modx.com/thread/41353/tutorial-results-per-page-form-dropdown#dis-post-239760 <![CDATA[Re: [Tutorial] Results Per Page Form Dropdown]]> https://forums.modx.com/thread/41353/tutorial-results-per-page-form-dropdown#dis-post-239759 very useful snippet, but it could be more useful without "go" button.

It must be smth. like that ->


// place this javascript code just before the </head> tag

function doSel(obj)
{
for (i = 1; i < obj.length; i++)
if (obj[i].selected == true)
eval(obj[i].value);
}


<!-- this HTML code goes between your <body> tags -->

<form name="jsMenu">
<select name="jsSelList" size="1" onchange="doSel(this)">
<option selected value>Select a page, and Gone!</option>
<option value="location.href=’dHTML1.html’">Dynamic HTML 1</option>
<option value="location.href=’validForm.html’">Validating Form 1</option>
<option value="location.href=’../index.html’">GrassBlade Home Page</option>
<option value="location.href=’validSSN.html’">Validating SSN</option>
<option value="location.href=’selSwitch.html’">Multiple Select Swap</option>
</select>
</form>

Maybe somebody can do it in php?
]]>
labasus May 25, 2008, 01:48 PM https://forums.modx.com/thread/41353/tutorial-results-per-page-form-dropdown#dis-post-239759
<![CDATA[Re: [Tutorial] Results Per Page Form Dropdown]]> https://forums.modx.com/thread/41353/tutorial-results-per-page-form-dropdown#dis-post-239758 http://modxcms.com/Results-Per-Page-1574.html]]> MARKSVIRTUALDESK Jul 30, 2007, 05:18 PM https://forums.modx.com/thread/41353/tutorial-results-per-page-form-dropdown#dis-post-239758 <![CDATA[Re: [Tutorial] Results Per Page Form Dropdown]]> https://forums.modx.com/thread/41353/tutorial-results-per-page-form-dropdown#dis-post-239757 !
]]>
davidm May 03, 2007, 04:19 AM https://forums.modx.com/thread/41353/tutorial-results-per-page-form-dropdown#dis-post-239757