The parameter
limit=“5”
limits the number of entries on a page, using the following
{exp:weblog:entries weblog="{special_weblog}" limit="5"}in the template.
Changing 5 to 3 means to modify the associated template which is easy for a developper, but may be not easy/secure for a user/customer.
A pretty solution should be to use a User Defined Global Variable, something as
{nb_entries}
.
I tried using
{exp:weblog:entries weblog="{special_weblog}” limit=”{nb_entries}”}
but did not succeed.
Something wrong ? Is there a way ?