Hi Bruno,
I have another issue in that the pagination for pages is not displaying:-/
It was working and is set up correctly as far as i can tell but it isn't working now. Occasionally it works if i keep changing the language but it's intermittent:
<ul class="pageList">
[![!+page.nav]]
</ul>
Any idea what the issue could be?
Can i provide more info?
www.9thwave.co.uk
WEB | DESIGN | PRINT
what is your getPage - call?
I have this on a resource:
[[!pdoPage?
&element=`pdoResources`
&parents=`39`
&loadModels=`migxmultilang`
&prepareSnippet = `mmlTranslatePdoToolsRow`
&includeContent=`1`
&includeTVs=`mml_title,mml_content,mml_county,mml_creator,mml_dateFrom,
mml_dateTo,mml_description,mml_introtext,mml_location,
mml_longtitle, mml_menutitle, mml_owner,mml_storyUrl,
mml_tags, mml_themeList,mml_uploadedBy, articleCategory`
&prepareTVs=`1`
&showHidden=`1`
&hideContainers=`1`
&tpl=`storyItemListTpl`
&tvFilters=`articleCategory==articleStory`
&limit=`12`
]]
I have this on the Articles page which is page id #39:
[[!+page.nav:notempty=`
<div class='paging'>
<ul class='pageList'>
[[+paging]]
</ul>
</div>
`]]
www.9thwave.co.uk
WEB | DESIGN | PRINT
maybe you will need to play a bit with absolute uncached tags (which are replaced by mmlCache into uncached tags after parsing and caching and let MODX parse the rest)
does it work with
[![!pdoPage?
&element=`pdoResources`
&parents=`39`
&loadModels=`migxmultilang`
&prepareSnippet = `mmlTranslatePdoToolsRow`
&includeContent=`1`
&includeTVs=`mml_title,mml_content,mml_county,mml_creator,mml_dateFrom,
mml_dateTo,mml_description,mml_introtext,mml_location,
mml_longtitle, mml_menutitle, mml_owner,mml_storyUrl,
mml_tags, mml_themeList,mml_uploadedBy, articleCategory`
&prepareTVs=`1`
&showHidden=`1`
&hideContainers=`1`
&tpl=`storyItemListTpl`
&tvFilters=`articleCategory==articleStory`
&limit=`12`
]]
and
[![!+page.nav:notempty=`
<div class='paging'>
<ul class='pageList'>
[![!+paging]]
</ul>
</div>
`]]
Thanks Bruno, that seems to have solved the problem.
www.9thwave.co.uk
WEB | DESIGN | PRINT
-
☆ A M B ☆
- 24,524 Posts
An interesting idea Bruno suggested on a different topic altogether triggered an interesting thought. What about a hybrid ClassExtender extended resource in combination with MIGx to simplify the multi-language solution?
In particular, that template/chunk template business always bothers me.
Or just a plugin, some like Jako's
https://github.com/Jako/SwitchTemplate
which would do all the mmlCache-stuff
I was allready thinking about that, but couldn't have some time for experimenting with it.
-
☆ A M B ☆
- 24,524 Posts
Well, now there's three functional multi-language methods to choose from, contexts with Babel, MigxMultiLang, and Lingua, so tweaking and fine-tuning isn't urgent.
Hi,
I am having issues with phpthumbof caching image files and so newly uploaded images are sometimes not shown until i manually clear the assets/components/phpthumbof/cache directory.
I am unsure how to troubleshoot this one and wonder if there is a way around it?
www.9thwave.co.uk
WEB | DESIGN | PRINT
I don't think, this is a migxMultiLang - issue.
I would try pthumb.
Not sure, if pthumb will fix that, though.