<![CDATA[ Yams + Ditto + Pagination - My Forums]]> https://forums.modx.com/thread/?thread=45507 <![CDATA[Re: Yams + Ditto + Pagination]]> https://forums.modx.com/thread/45507/yams-ditto-pagination?page=3#dis-post-443135
I uncached the page where I'm making the Ditto call. I did the YAMS config adjustments which were mentioned in this topic, although I don't seem to need them for 1.2.0rc. Still I don't have ANY result with pagination. I'm just wasting time. As I understand there is no valid nor complete documentation how to do this? Different people seem to have success with different approaches. But none are working for me which is frustrating. Does anyone have any insights about the fully and correct way to set this up ? I see people are working around with PHx but normally I hardly use PHx so I'm getting stuck there too sad If anyone has any insights.. I'm tipping Santa to treat you very well this year smiley

I do this ( page-tpl's are explained previous in this forum topic) :
Ditto? &parents=`127` &orderBy=`pub_date DESC` &tpl=`tpl_news` &id=`(yams_id)` &display=`all` &paginate=`1` &paginateAlwaysShowLinks=`1` &summarize=`3` &dateFormat=`%d %m %Y` &extenders=`@FILE assets/modules/yams/yams.extender.inc.php` &language=`(yams_mname)` &tplPaginatePage=`pageSplitter` &tplPaginateCurrentPage=`currentPageSplitter`
]]>
IngMA Nov 14, 2012, 01:48 AM https://forums.modx.com/thread/45507/yams-ditto-pagination?page=3#dis-post-443135
<![CDATA[Re: Yams + Ditto + Pagination]]> https://forums.modx.com/thread/45507/yams-ditto-pagination?page=3#dis-post-417515 [+(yams_id)_previous+] [+(yams_id)_pages+] [+(yams_id)_next+]
and i haven't ran into any problem with them

have swing]]>
virtualbear Mar 26, 2012, 09:42 AM https://forums.modx.com/thread/45507/yams-ditto-pagination?page=3#dis-post-417515
<![CDATA[Re: Yams + Ditto + Pagination]]> https://forums.modx.com/thread/45507/yams-ditto-pagination?page=3#dis-post-416710 esche Mar 20, 2012, 04:21 AM https://forums.modx.com/thread/45507/yams-ditto-pagination?page=3#dis-post-416710 <![CDATA[Re: Yams + Ditto + Pagination]]> https://forums.modx.com/thread/45507/yams-ditto-pagination?page=3#dis-post-404853
But, I can't still get to work [+pages+] placeholder , it's always shows links of default language.]]>
labasus Dec 26, 2011, 08:34 PM https://forums.modx.com/thread/45507/yams-ditto-pagination?page=3#dis-post-404853
<![CDATA[Re: Yams + Ditto + Pagination]]> https://forums.modx.com/thread/45507/yams-ditto-pagination?page=3#dis-post-263396 Here my solution
additional Ditto Parms:
&tplPaginateNext=
<a href="(yams_doc)[*phx:input=`[+url+]`:getUrlQuerystring*]" class="ditto_next_link">[+lang:next+]</a>

&tplPaginatePrevious=
<a href="(yams_doc)[*phx:input=`[+url+]`:getUrlQuerystring*]" class="ditto_previous_link">[+lang:previous+]</a>

and this is the additional phx:extender "phx:getUrlQuerystring" (used in Ditto Call, &phx=0 because of YAMS):
<?php
return strstr($output,'?');
?>


I suppose this isnot the problem solved at its root, but I don’t have a smarter idea. At least I can follow this solution by my mind.

regards
manu]]>
manu37 Mar 03, 2011, 09:29 AM https://forums.modx.com/thread/45507/yams-ditto-pagination?page=3#dis-post-263396
<![CDATA[Re: Yams + Ditto + Pagination]]> https://forums.modx.com/thread/45507/yams-ditto-pagination?page=2#dis-post-263395 I probably tried all settings but no success. In default language pagination works.
The forward link in default language looks like http://www.mysite.com/news.html?de_start=5
When I switch to foreign language the first page is ok, but the forward link looks like http://www.my-site.com/news.html?fr_start=5 rather than http://www.my-site.com/fr/news.html?fr_start=5 for proper resolution I suppose.
Everything else works as expected.
So my question still is: Has anybody a proper solution for 1.2.0rc3 pagination in foreign language (root mode, default language in root, foreign language in ./fr/ path.
regards
manu]]>
manu37 Mar 03, 2011, 05:31 AM https://forums.modx.com/thread/45507/yams-ditto-pagination?page=2#dis-post-263395
<![CDATA[Re: Yams + Ditto + Pagination]]> https://forums.modx.com/thread/45507/yams-ditto-pagination?page=2#dis-post-263394
thank you for your help.
I did both untick the cache and not use the id and now it works.

It gave me a few days of headache. Thanks once again.]]>
universal_next Aug 17, 2010, 06:35 AM https://forums.modx.com/thread/45507/yams-ditto-pagination?page=2#dis-post-263394
<![CDATA[Re: Yams + Ditto + Pagination]]> https://forums.modx.com/thread/45507/yams-ditto-pagination?page=2#dis-post-263393 Then it shoud looks like: Show [+start+] - [+stop+] from [+total+] and etc.]]> labasus Aug 16, 2010, 11:35 PM https://forums.modx.com/thread/45507/yams-ditto-pagination?page=2#dis-post-263393 <![CDATA[Re: Yams + Ditto + Pagination]]> https://forums.modx.com/thread/45507/yams-ditto-pagination?page=2#dis-post-263392
I installed YAMS 1.2.0 RC3 in root Mode and there are 2 languages provided german as default and english.
configuration as follows:
Uniqueness of Multilingual Aliases: not unique
Use Multilingual Aliases?: no
Redirection Mode: I tried all of them - at the moment --- current
...
MODx URLs: empty
Hide Redundant Fields: Hide Fileds
Document Layout: Tabify TV by Lang
Autoupdate Manager Document Title: Yes
Use MODx stripAlias: Yes
Use Mime-type dependent suffixes?: Yes
Site start filename: include filename
Containers as folders: leave as files
Confirm Language Param: yams_lang
Change Language Param: yams_new_lang
..
URL Conversion Mode: Resolve
Easylingual Compatibility Mode: no


My call looks as follows:

[[Ditto? &startID=`2` &paginate=`1` &tpl=`newslist_de` &hiddenFields=`NewsBild` &dateSource=`Newsdatum` &dateFormat=`%d-%m-%y %H:%S` &sortBy=`Newsdatum` &sortDir=`DESC` &extenders=`@FILE assets/modules/yams/yams.extender.inc.php` &id=`(yams_id)` &language=`(yams_mname)` &summarize=`10` &showPublishedOnly=`1` &paginateAlwaysShowLinks=`1` &oResults=`Keine News gefunden`]]

Show [+(yams_id)_start+] - [+(yams_id)_stop+] from [+(yams_id)_total+] News
[+(yams_id)_previous+] [+(yams_id)_pages+] [+(yams_id)_next+]

Can you help me? I have no idea what to do next.

]]>
universal_next Aug 09, 2010, 04:19 AM https://forums.modx.com/thread/45507/yams-ditto-pagination?page=2#dis-post-263392
<![CDATA[Re: Yams + Ditto + Pagination]]> https://forums.modx.com/thread/45507/yams-ditto-pagination?page=2#dis-post-263391
Quote from: PMS at Jan 27, 2010, 05:40 PM

......

I’ve just noticed that this important step is missing from the YAMS + Ditto documentation page. I’ll add it later.
]]>
labasus Jul 18, 2010, 03:46 AM https://forums.modx.com/thread/45507/yams-ditto-pagination?page=2#dis-post-263391