I have a page that is supposed to return all of the entries for a channel, but it only retrieves the first. The channel is "annual-2014". The channel is assigned "publications/index" in Structure. The URL is


======== publications/index ========

{if "{segment_2}" == ""}



    {exp:channel:categories category_group="2" style="linear"}

        <li><a href="{category_url_title}">{category_name}</a></li> 




{embed="publications/content" channelName="{segment_2}"}


==== publications/content ======

    {exp:channel:entries channel="{embed:channelName}" orderby="date" sort="asc"}

    {absolute_results} <=== Always returns 1 even though there is more than one entry



You need to add the dynamic="off" parameter to your channel:entries tag

{exp:channel:entries channel="{embed:channelName}" dynamic="off" orderby="date" sort="asc"}

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.