dynamic="yes" not working

Steve's Avatar

Steve

11 Mar, 2013 11:12 PM

I've created a news channel that is NOT a managed by structure.

The desktop version works as expected.

Templates:
news.group

index.html

mobile__news.group

index.html

The mobile template IS being pulled in, but it is listing all of the entries instead of dynamic="yes"

if I link to the url such as mysite.com/mobile__news/page everything works correctly, but mysite.com/news/page pulls in all of the news entries

  1. Support Staff 1 Posted by Wouter Vervloet on 11 Mar, 2013 11:20 PM

    Wouter Vervloet's Avatar

    Hi Steve,

    What does the code of that template look like?

    — Wouter

  2. 2 Posted by Steve on 12 Mar, 2013 03:37 PM

    Steve's Avatar

    Very simple. This is the code on my mobile template

    {exp:channel:entries channel="news" dynamic="yes" }

    {title}

    {news_content} {/exp:channel:entries}
  3. Support Staff 3 Posted by Wouter Vervloet on 13 Mar, 2013 11:31 AM

    Wouter Vervloet's Avatar

    Mind if I ask which version of EE you are using?

    – Wouter

  4. 4 Posted by steve on 13 Mar, 2013 03:38 PM

    steve's Avatar

    v2.5.3 - Build Date: 20120911

  5. Support Staff 5 Posted by Wouter Vervloet on 13 Mar, 2013 03:49 PM

    Wouter Vervloet's Avatar

    Then perhaps I have a quick solution for your problem... I have been working on a new version that uses new functionality in EE 2.4+. Because it isn't backwards compatible, I haven't released it yet.

    You can download the beta version here: https://github.com/AboutWout/mobile.ee2_addon/tree/beta

    Be sure to reinstall the add-on instead of just replacing the files (I haven't taken the trouble to implement the update code yet).

    – Wouter

  6. 6 Posted by steve on 13 Mar, 2013 04:56 PM

    steve's Avatar

    That worked. Thank you very much

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac