[Solved] Using {content_dump} plugin, showing 5 while limit set to 4.
Posted: Mon Jun 22, 2009 4:35 pm
I'm using the {content_dump} plugin to show a portfolio
http://wiki.cmsmadesimple.org/index.php ... ntent_dump
This way you can have one content page and export that content to the homepage (like we want to show your 4 latest or best projects) and show and archive of all your projects on www.domain.com/projects/
Anyway, when i say limit="3" in the code, it show's me 3 pages on the homepage. When I say 4, it shows me 5.. When I say 5 it shows me 7...
{content_dump exclude="75" limit_count="5" extensions="image1,client,sub_title,content_home"}
{foreach from=$dump item=dump}
content->alias}' " onmouseover="this.style.background ='#f4f4f4'; this.style.cursor = 'pointer'">
content->alias}">content->alias}.jpg" alt="alias" class="casePhoto border" />
content->alias}">{$dump->content->title}
{$dump->extensions->sub_title->data}
{$dump->extensions->content_home->data} content->alias}">Lees Meer
Klant: {$dump->extensions->client->data}
[iconen]
{/foreach}
UPDATE 090625
So it seems you can show a folder, the limit tag is for limiting the folders it seems. So if I would have a total of:
1: domain.com/about
2: domain.com/projects
3: domain.com/contat
4: domain.com/shop
5: domain.com/people
6: domain.com/whatever
And say, start=2 limit=2
It seems to only show
2: domain.com/projects
3: domain.com/contat
... but that is not what I want.. I want to limit whitin the folder..
2: domain.com/projects
Limit on the pages inside the folder..
http://wiki.cmsmadesimple.org/index.php ... ntent_dump
This way you can have one content page and export that content to the homepage (like we want to show your 4 latest or best projects) and show and archive of all your projects on www.domain.com/projects/
Anyway, when i say limit="3" in the code, it show's me 3 pages on the homepage. When I say 4, it shows me 5.. When I say 5 it shows me 7...
{content_dump exclude="75" limit_count="5" extensions="image1,client,sub_title,content_home"}
{foreach from=$dump item=dump}
content->alias}' " onmouseover="this.style.background ='#f4f4f4'; this.style.cursor = 'pointer'">
content->alias}">content->alias}.jpg" alt="alias" class="casePhoto border" />
content->alias}">{$dump->content->title}
{$dump->extensions->sub_title->data}
{$dump->extensions->content_home->data} content->alias}">Lees Meer
Klant: {$dump->extensions->client->data}
[iconen]
{/foreach}
UPDATE 090625
So it seems you can show a folder, the limit tag is for limiting the folders it seems. So if I would have a total of:
1: domain.com/about
2: domain.com/projects
3: domain.com/contat
4: domain.com/shop
5: domain.com/people
6: domain.com/whatever
And say, start=2 limit=2
It seems to only show
2: domain.com/projects
3: domain.com/contat
... but that is not what I want.. I want to limit whitin the folder..
2: domain.com/projects
Limit on the pages inside the folder..